60
1 Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. Chapter 6. Continuous Random Variables Reminder: Continuous random variable takes infinitely many values Those values can be associated with measurements on a continuous scale (without gaps or interruptions)

Chapter 6. Continuous Random Variables

  • Upload
    yamka

  • View
    37

  • Download
    0

Embed Size (px)

DESCRIPTION

Chapter 6. Continuous Random Variables. Reminder: Continuous random variable takes infinitely many values Those values can be associated with measurements on a continuous scale (without gaps or interruptions). Example: Uniform Distribution. - PowerPoint PPT Presentation

Citation preview

Page 1: Chapter 6.  Continuous Random Variables

1Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

Chapter 6. Continuous Random Variables

Reminder:

Continuous random variabletakes infinitely many values

Those values can be associated with measurements on a continuous scale (without gaps or interruptions)

Page 2: Chapter 6.  Continuous Random Variables

2Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

Example: Uniform Distribution

A continuous random variable has a uniform distribution if its values are spread evenly over a certain range.

Example: voltage output of an electric generator is between 123 V and 125 V. The actual voltage level may be anywhere in this range.

Page 3: Chapter 6.  Continuous Random Variables

3Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

A density curve is the graph of a continuous probability distribution. It must satisfy the following properties:

Density Curve

1. The total area under the curve must equal 1.

2. Every point on the curve must have a vertical height that is 0 or greater. (That is, the curve cannot fall below the x-axis.)

Page 4: Chapter 6.  Continuous Random Variables

4Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

Because the total area under the density curve is equal to 1, there is a correspondence between area and probability.

Area and Probability

Page 5: Chapter 6.  Continuous Random Variables

5Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

Using Area to Find Probability

Given the uniform distribution illustrated, find the probability that a randomly selected voltage level is greater than 124.5 volts.

Shaded area represents voltage levels greater than 124.5 volts. The area corresponds to probability: P = 0.25.

Page 6: Chapter 6.  Continuous Random Variables

6Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

Standard Normal Distribution

Standard normal distribution has three properties:

1. Its graph is bell-shaped.

2. It is symmetric about its center.

3. Its mean is equal to 0 ( = 0).

4. Its standard deviation is equal to 1 ( = 1).

Page 7: Chapter 6.  Continuous Random Variables

7Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

Standard Normal Distribution

The standard normal distribution is a bell-shaped probability distribution with = 0 and = 1. The total area under its density curve is equal to 1.

Page 8: Chapter 6.  Continuous Random Variables

8Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

Standard Normal Distribution: Areas and Probabilities

Probability that the standard normal random variable takes values less than z is given by the area under the curve from the left up to z (blue area in the figure)

Page 9: Chapter 6.  Continuous Random Variables

9Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

Thermometers are supposed to give readings of 0ºC at the freezing point of water.

Since these instruments are not perfect, some of them give readings below 0º (denoted by negative numbers) and some give readings above 0º (denoted by positive numbers).

Example – Thermometers

Page 10: Chapter 6.  Continuous Random Variables

10Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

Assume that the mean reading is 0ºC and the standard deviation of the readings is 1ºC. Also assume that the readings are normally distributed.

Q: If one thermometer is randomly selected, find the probability that, at the freezing point of water, the reading is less than 1.27º.

Example – Thermometers (continued)

Page 11: Chapter 6.  Continuous Random Variables

11Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

P(z < 1.27) =

Example – Thermometers (continued)

area under the curve from the left up to 1.27

Page 12: Chapter 6.  Continuous Random Variables

12Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

Look at Table A-2

Page 13: Chapter 6.  Continuous Random Variables

13Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

P (z < 1.27) = 0.8980

Example – Thermometers (continued)

Page 14: Chapter 6.  Continuous Random Variables

14Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

The probability of randomly selecting a thermometer with a reading less than 1.27º is 0.8980.

P (z < 1.27) = 0.8980

Example – Thermometers (continued)

Page 15: Chapter 6.  Continuous Random Variables

15Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

Or 89.80% of randomly selected thermometers will have readings below 1.27º.

P (z < 1.27) = 0.8980

Example – Thermometers (continued)

Page 16: Chapter 6.  Continuous Random Variables

16Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

1. It is designed only for the standard normal distribution, which has a mean of 0 and a standard deviation of 1.

2. It is on two pages, with one page for negative z-scores and the other page for positivez-scores.

3. Each value in the body of the table is a cumulative area from the left up to a vertical boundary above a specific z-score.

Using Table A-2

Page 17: Chapter 6.  Continuous Random Variables

17Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

4. When working with a graph, avoid confusion between z-scores and areas.z ScoreDistance along horizontal scale of the standard normal distribution; refer to the leftmost column and top row of Table A-2.

AreaRegion under the curve; refer to the values in the body of Table A-2.

5. The part of the z-score denoting hundredths is found across the top.

Using Table A-2

Page 18: Chapter 6.  Continuous Random Variables

18Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

If thermometers have an average (mean) reading of 0 degrees and a standard deviation of 1 degree for freezing water, and if one thermometer is randomly selected, find the probability that it reads (at the freezing point of water) above –1.23 degrees.

Probability of randomly selecting a thermometer with a reading above –1.23º is 0.8907.

P (z > –1.23) = 0.8907

Example - Thermometers Again

Page 19: Chapter 6.  Continuous Random Variables

19Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

P (z > –1.23) = 0.8907

89.07% of the thermometers have readings above –1.23 degrees.

Example - cont

Page 20: Chapter 6.  Continuous Random Variables

20Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

A thermometer is randomly selected. Find the probability that it reads (at the freezing point of water) between –2.00 and 1.50 degrees.

P (z < –2.00) = 0.0228P (z < 1.50) = 0.9332P (–2.00 < z < 1.50) = 0.9332 – 0.0228 = 0.9104

The probability that the chosen thermometer has a reading between – 2.00 and 1.50 degrees is 0.9104.

Example - Thermometers III

Page 21: Chapter 6.  Continuous Random Variables

21Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

If many thermometers are selected and tested at the freezing point of water, then 91.04% of them will read between –2.00 and 1.50 degrees.

P (z < –2.00) = 0.0228P (z < 1.50) = 0.9332P (–2.00 < z < 1.50) = 0.9332 – 0.0228 = 0.9104

A thermometer is randomly selected. Find the probability that it reads (at the freezing point of water) between –2.00 and 1.50 degrees.

Example - continued

Page 22: Chapter 6.  Continuous Random Variables

22Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

Methods for Finding Normal Distribution Areas

Page 23: Chapter 6.  Continuous Random Variables

23Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

Normal Distribution by TI-83/84• Press 2nd VARS to get the DISTR

menu

• Scroll down to normalcdf( and press ENTER

• Type in two values: Lower, Upper (separated by commas) and close the parenthesis

• You see a line like normalcdf(-2.00,1.50)

• Press ENTER and read the probability.

Page 24: Chapter 6.  Continuous Random Variables

24Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

P(a < z < b) denotes the probability that the z score is between a and b.

P(z > a) denotes the probability that the z score is greater than a.

P(z < a) denotes the probability that the z score is less than a.

Notation

Page 25: Chapter 6.  Continuous Random Variables

25Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

Normal Distribution by TI-83/84 (continued)

If you do not have an upper value, type 999.

Example: for P(z>1.2) enter normalcdf(1.2,999)

If you do not have a lower value, type -999.

Example: for P(z<0.6) enter normalcdf(-999,0.6)

Page 26: Chapter 6.  Continuous Random Variables

26Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

Special Cases in Table A-2

If z-score is above 3.49, then the area=0.9999

If z-score is below -3.49, then the area=0.0001

Some special values are marked by stars:

z-score=1.645 corresponds to the area=0.95

z-score=2.575 corresponds to the area=0.995

Page 27: Chapter 6.  Continuous Random Variables

27Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

Finding a z Score When Given a Probability Using Table A-2

1. Draw a bell-shaped curve and identify the region under the curve that corresponds to the given probability. If that region is NOT a cumulative region from the left, work instead with a known region that is a cumulative region from the left.

2. Using the cumulative area from the left, locate the closest probability in the body of Table A-2 and identify the corresponding z score.

Page 28: Chapter 6.  Continuous Random Variables

28Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

Finding z Scores When Given Probabilities

5% or 0.05

(z score will be positive)

Finding the z-score separating 95% bottom values from 5% top values.

Page 29: Chapter 6.  Continuous Random Variables

29Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

Finding z Scores When Given Probabilities

1.645

5% or 0.05

(z score will be positive)

Finding the z-score separating 95% bottom values from 5% top values.

Page 30: Chapter 6.  Continuous Random Variables

30Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

Finding the Bottom 2.5% and Upper 2.5%

(One z score will be negative and the other positive)

Finding z Scores When Given Probabilities - cont

Page 31: Chapter 6.  Continuous Random Variables

31Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

Finding the Bottom 2.5% and Upper 2.5%

(One z score will be negative and the other positive)

Finding z Scores When Given Probabilities - cont

Page 32: Chapter 6.  Continuous Random Variables

32Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

Finding the Bottom 2.5% and Upper 2.5%

(One z score will be negative and the other positive)

Finding z Scores When Given Probabilities - cont

Page 33: Chapter 6.  Continuous Random Variables

33Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

NotationWe use z to represent the z-score

separating the top from the bottom 1-.

Examples: z0.025 = 1.96, z0.05 = 1.645

Area = 1-

Area =

z

Page 34: Chapter 6.  Continuous Random Variables

34Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

Inverse Normal by TI-83/84• Press 2nd VARS to get the DISTR

menu

• Scroll down to invNorm( and press ENTER

• Type in the desired area and close the parenthesis

• You see a line like invNorm(0.95)

• Press ENTER and read the z-score.

• Round off to three decimal places.

Page 35: Chapter 6.  Continuous Random Variables

35Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

Normal distributions that are not standard

All normal distributions have bell-shaped density curves.

A normal distribution is standard if its mean is 0 and its standard deviation is 1.

A normal distribution is not standard if its mean is not 0, or its standard deviation is not 1, or both.

We can use a simple conversion that allows us to standardize any normal distribution so that Table A-2 can be used.

Page 36: Chapter 6.  Continuous Random Variables

36Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

Conversion Formula

x – µz =

(round z scores to 2 decimal places)

Let x be a score for a normal distribution with mean and standard deviation

We convert it to a z score by this formula:

Page 37: Chapter 6.  Continuous Random Variables

37Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

Converting to a Standard Normal Distribution

x – z =

Page 38: Chapter 6.  Continuous Random Variables

38Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

Example – Weights of PassengersWeights of taxi passengers have a normal distribution with mean 172 lb and standard deviation 29 lb. If one passenger is randomly selected, what is the probability he/she weighs less than 174 pounds?

=29 = 172 z =

174 – 172

29 = 0.07

Page 39: Chapter 6.  Continuous Random Variables

39Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

Example - continued

P ( x < 174 lb.) = P(z < 0.07) = 0.5279

=29 = 172

Page 40: Chapter 6.  Continuous Random Variables

40Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

Normal Distribution by TI-83/84• Press 2nd VARS to get the DISTR

menu

• Scroll down to normalcdf( and press ENTER

• Type in four values: Lower, Upper, Mean, St.Deviation (separated by commas) and close the parenthesis

• You see a line like normalcdf(-999,174,172,29)

• Press ENTER and read the probability.

Page 41: Chapter 6.  Continuous Random Variables

41Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

1. Use Table A-2 to find the z score corresponding to the given probability (the area to the left).

2. Use the values for µ, , and the z score found in step 1, to find x:

x = µ + (z • )

(If z is located to the left of the mean, be sure that it is a negative number.)

Finding x Scores When Given Probabilities

Page 42: Chapter 6.  Continuous Random Variables

42Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

Example – Lightest and HeaviestWeights of taxi passengers have a normal distribution with mean 172 lb and standard deviation 29 lb. Determine what weight separates the lightest 99.5% from the heaviest 0.5%?

=29 = 172

Page 43: Chapter 6.  Continuous Random Variables

43Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

x = + (z ● )x = 172 + (2.575 29)x = 246.675 (247 rounded)

Example – Lightest and Heaviest - cont

Page 44: Chapter 6.  Continuous Random Variables

44Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

The weight of 247 pounds separates the lightest 99.5% from the heaviest 0.5%

Example – Lightest and Heaviest - cont

Page 45: Chapter 6.  Continuous Random Variables

45Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

Inverse Normal by TI-83/84• Press 2nd VARS to get the DISTR

menu

• Scroll down to invNnorm( and press ENTER

• Type in the desired area, mean, st.deviation and close the parenthesis

• You see a line like invNorm(0.995,172,29)

• Press ENTER and read the x-score.

Page 46: Chapter 6.  Continuous Random Variables

46Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

Central Limit Theorem

The Central Limit Theorem tells us that the distribution of the sample mean x for a sample of size n approaches a normal distribution, as the sample size n increases.

Page 47: Chapter 6.  Continuous Random Variables

47Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

Central Limit Theorem

1. The random variable x has a distribution (which may or may not be normal) with mean µ and standard deviation .

2. A random sample of size n is selected from the population.

Given:

Page 48: Chapter 6.  Continuous Random Variables

48Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

1. The distribution of the sample mean x will, as the sample size increases, approach a normal distribution.

2. The mean of that normal distribution is the same as the population mean µ.

3. The standard deviation of that normal distribution is (So it is smaller than the standard deviation of the population.)

Conclusions:

Central Limit Theorem – cont.

n.

Page 49: Chapter 6.  Continuous Random Variables

49Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

Formulas

the mean

the standard deviation

µx = µ

nx =

Page 50: Chapter 6.  Continuous Random Variables

50Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

Practical Rules:

1. For samples of size n larger than 30, the distribution of the sample mean can be approximated by a normal distribution.

2. If the original population is normally distributed, then for any sample size n, the sample means will be normally distributed.

3. We can apply Central Limit Theorem if either n>30 or the original population is normal.

Page 51: Chapter 6.  Continuous Random Variables

51Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

Assume the population of taxi passengers is normally distributed with a mean of 172 lb and a standard deviation of 29 lb.

Example: Water Taxi Passengers

a) Find the probability that if an individual passenger is randomly selected, his weight is greater than 175 lb.

b) Find the probability that 20 randomly selected passengers will have a mean weight that is greater than 175 lb.

Page 52: Chapter 6.  Continuous Random Variables

52Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

z = 175 – 172 = 0.10 29

a) Find the probability that if an individual man is randomly selected, his weight is greater than 175 lb.

Example – cont

Page 53: Chapter 6.  Continuous Random Variables

53Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

b) Find the probability that 20 randomly selected men will have a mean weight that is greater than 175 lb (so that their total weight exceeds the safe capacity of 3500 pounds).

Example – cont

z = 175 – 172 = 0.46 29

20

Page 54: Chapter 6.  Continuous Random Variables

54Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

b) Find the probability that 20 randomly selected passengers will have a mean weight that is greater than 175 lb.

It is much easier for an individual to deviate from the mean than it is for a group of 20 to deviate from the mean.

a) Find the probability that if an individual passenger is randomly selected, his weight is greater than 175 lb.

Example - cont

P(x > 175) = 0.4602

P(x > 175) = 0.3228

Page 55: Chapter 6.  Continuous Random Variables

55Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

Review

Binomial Probability Distribution

1. The procedure must have a fixed number of trials, n.

2. The trials must be independent.

3. Each trial must have all outcomes classified into two categories (commonly, success and failure).

4. The probability of success p remains the same in all trials (the probability of failure is q=1-p)

Solve by binomial probability formula or calculator

Page 56: Chapter 6.  Continuous Random Variables

56Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

Approximation of a Binomial Distributionwith a Normal Distribution

If np 5 and nq 5

Then µ = np and = npq

and the random variable has

distribution.(normal)

a

Page 57: Chapter 6.  Continuous Random Variables

57Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

Procedure for Using a Normal Distribution to Approximate a Binomial Distribution

1. Verify that both np 5 and nq 5. If not, you cannot use normal approximation to binomial.

2. Find the values of the parameters µ and by calculating µ = np and = npq.

3. Identify the discrete whole number x that is relevant to the binomial probability problem. Use the continuity correction (see next).

Page 58: Chapter 6.  Continuous Random Variables

58Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

Continuity Correction

When we use the normal distribution (which is a continuous probability distribution) as an approximation to the binomial distribution (which is discrete), a continuity correction is made to a whole number x in the binomial distribution by representing the number x by the interval from

x – 0.5 to x + 0.5

(that is, adding and subtracting 0.5).

Page 59: Chapter 6.  Continuous Random Variables

59Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

The value 122 is represented by the interval (121.5,122.5)

Finding the Probability of “At Least 122 Men” Among 213 Passengers

Example:

The values “at least 122 men” are represented by the interval starting at 121.5.

Page 60: Chapter 6.  Continuous Random Variables

60Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.

at least 8 (includes 8 and above)

more than 8 (doesn’t include 8)

at most 8 (includes 8 and below)

fewer than 8 (doesn’t include 8)

exactly 8