continuous random variables

20
Continuous Random Variables Week 6, Friday

Upload: keelie-holmes

Post on 15-Mar-2016

47 views

Category:

Documents


0 download

DESCRIPTION

Continuous Random Variables. Week 6, Friday. Continuous Random Variable. The Discrete Random Variables we’ve seen so far are easy to represent in table form; however, some random variables are impossible to represent in this form. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Continuous Random Variables

Continuous Random Variables

Week 6, Friday

Page 2: Continuous Random Variables

Continuous Random VariableThe Discrete Random Variables we’ve seen so far are easy to represent in table form; however, some random variables are impossible to represent in this form.

Example: Consider the number of seconds it takes to run one mile. For very fast runners, this number could be around 300. For very slow runners, this number could be as high as 1,200. Furthermore, it is possible to get more precise values by rounding to some decimal, for example 400.25 seconds. To put all of these values into a table would be impractical. For the purpose of this class, we will define such random variables as continuous random variables.

But if we don’t define X by a table then how do we define it?

ANSWER: with a function

Page 3: Continuous Random Variables

The way we describe such a random variable is through a function. Consider the following function as a probability model:where x takes on values between 0 and 10.

Examples of a Continuous R.V.

Suppose I give a 10 point quiz. There are 100 questions, and partial credit is possible for each one. Then the score for students would be a continuous random variable because decimal scores such as 8.38495/10 may be possible, and these values are tough to put into a table.

101)( xf

100

101

What is the Area Under This Curve?10 * (1/10) = 1.00 = 100%

How does this link to Probability?For continuous random variables,P[a ≤ X ≤ b] can be found by calculatingthe area under the curve, between x=a and x=b

P[0 ≤ X ≤ 10] = 100%

Page 4: Continuous Random Variables

The way we describe such a random variable is through a function. Consider the following function as a probability model:where x takes on values between 0 and 10.

Examples of a Continuous R.V.

Suppose I give a 10 point quiz. There are 100 questions, and partial credit is possible for each one. Then the score for students would be a continuous random variable because decimal scores such as 8.38495/10 may be possible, and these values are tough to put into a table.

101)( xf

100

101

What is the Area Under This Curve?10 * (1/10) = 1.00 = 100%

How does this link to Probability?For continuous random variables,P[a ≤ X ≤ b] can be found by calculatingthe area under the curve, between x=a and x=b

P[6 ≤ X ≤ 10]P[passing] = ?

6

= 4/10 = 40%

Page 5: Continuous Random Variables

Alternative model: Define the function:

Examples of a Continuous R.V.

Suppose I give a 10 point quiz. There are 100 questions, and partial credit is possible for each one. Then the score for students would be a continuous random variable because decimal scores such as 8.38495/10 may be possible, and these values are tough to put into a table.

50)( xxf

100

.2

What is the Area Under This Curve?10 * (.2) * (1/2) = 1.00 = 100%

Now, what is the probability of Passing the quiz?

6

P[passing] = 1 – area of the small triangle = 1 – ( 4 * .2 / 2 ) = .6 = 60%

Page 6: Continuous Random Variables

Consider the function that is defined for every number from (-∞,∞)

The Most Important Continuous R.V.

2

2

2)(

21)(

x

exf

What is the Area Under This Curve?1 = 100%

What is the Symmetry/Skewness?Symmetric

How many Normal Distributions exist?Infinite Amount

For each combination of mu and sigma,

there is a uniquenormal distribution

Page 7: Continuous Random Variables

Don’t memorize the complicated formula:

If mu and sigma (mean and standard deviation) are given to youthen you should know exactly what the distribution looks like:

The Most Important Continuous R.V.

2

2

2)(

21)(

x

exf

The distribution is CENTERED at MUThe distribution is more SPREAD OUT for larger values of SIGMA

Page 8: Continuous Random Variables

Don’t memorize the complicated formula:

If mu and sigma (mean and standard deviation) are given to youthen you should know exactly what the distribution looks like:

The Most Important Continuous R.V.

2

2

2)(

21)(

x

exf

The distribution is CENTERED at MUThe distribution is more SPREAD OUT for larger values of SIGMA

Page 9: Continuous Random Variables

Don’t memorize the complicated formula:

If mu and sigma (mean and standard deviation) are given to youthen you should know exactly what the distribution looks like:

The Most Important Continuous R.V.

2

2

2)(

21)(

x

exf

The distribution is CENTERED at MUThe distribution is more SPREAD OUT for larger values of SIGMA

Page 10: Continuous Random Variables

Don’t memorize the complicated formula:

If mu and sigma (mean and standard deviation) are given to youthen you should know exactly what the distribution looks like:

The Most Important Continuous R.V.

2

2

2)(

21)(

x

exf

The distribution is CENTERED at MUThe distribution is more SPREAD OUT for larger values of SIGMA

Page 11: Continuous Random Variables

Don’t memorize the complicated formula:

If mu and sigma (mean and standard deviation) are given to youthen you should know exactly what the distribution looks like:

The Most Important Continuous R.V.

2

2

2)(

21)(

x

exf

The distribution is CENTERED at MUThe distribution is more SPREAD OUT for larger values of SIGMA

Page 12: Continuous Random Variables

Don’t memorize the complicated formula:

If mu and sigma (mean and standard deviation) are given to youthen you should know exactly what the distribution looks like:

The Most Important Continuous R.V.

2

2

2)(

21)(

x

exf

The distribution is CENTERED at MUThe distribution is more SPREAD OUT for larger values of SIGMA

),( N

Page 13: Continuous Random Variables

Example: Brown University gives a standardized exam to all students interested in joining the MBA program. The exam is graded in such a way that the scores are normally distributed with a mean of 100 and standard deviation of 10.

The Most Important Continuous R.V.

“Empirical Rule”: For normal distributions,68% of the values are within 1 standard deviation of the mean,95% of the values are within 2 standard deviation of the mean,99.8% of the values are within 3 standard deviation of the mean

100

10

90 110

Page 14: Continuous Random Variables

Example: Brown University gives a standardized exam to all students interested in joining the MBA program. The exam is graded in such a way that the scores are normally distributed with a mean of 100 and standard deviation of 10.

The Most Important Continuous R.V.

“Empirical Rule”: For normal distributions,68% of the values are within 1 standard deviation of the mean,95% of the values are within 2 standard deviation of the mean,99.8% of the values are within 3 standard deviation of the mean

100

10

90 11080 120

Page 15: Continuous Random Variables

Example: Brown University gives a standardized exam to all students interested in joining the MBA program. The exam is graded in such a way that the scores are normally distributed with a mean of 100 and standard deviation of 10.

The Most Important Continuous R.V.

“Empirical Rule”: For normal distributions,68% of the values are within 1 standard deviation of the mean,95% of the values are within 2 standard deviation of the mean,99.8% of the values are within 3 standard deviation of the mean

100

10

90 11080 12070 130

Page 16: Continuous Random Variables

Recall the last example: Average test score (mu) is 100 with 10 as sigma.What’s the probability of scoring over 105?

Calculations with the Normal Distribution

100

10

105

P[X ≥ 105] cannotbe found by simple geometry,

so we have to do something else – a “Z calculation” – and look up

the probability on a table

Page 17: Continuous Random Variables

Recall the last example: Average test score (mu) is 100 with 10 as sigma.What’s the probability of scoring over 105?

Calculations with the Normal Distribution

Step 1: Transform the variable X, N(mu, sigma) to Z, N(0,1)

5.10100105

XZ

0

1

.5

Page 18: Continuous Random Variables

Recall the last example: Average test score (mu) is 100 with 10 as sigma.What’s the probability of scoring over 105?

Calculations with the Normal Distribution

Step 1: Transform the variable X, N(mu, sigma) to Z, N(0,1)

0

1

.5

Step 2: Look up the values in a “z table” (page A58, A59)

Page 19: Continuous Random Variables

For any value k of Z, you can look up the

probabity P[Z≤k]

5.10100105

XZ

We are interested in the 6th row (0.5) and

the first column, since the second decimal point is 0

(0.50)

Therefore P[Z ≤ 0.50] = .6915

Page 20: Continuous Random Variables

Recall the last example: Average test score (mu) is 100 with 10 as sigma.What’s the probability of scoring over 105?

Calculations with the Normal Distribution

Step 1: Transform the variable X, N(mu, sigma) to Z, N(0,1)

0

1

.5

Step 2: Look up the values in the a “z table” (page A58, A59)

P[Z ≤ 0.5] = .6915

P[Z > 0.5] = .3085