Continuous Distributions

Slides:



Advertisements
Similar presentations
Continuous Random Variables & The Normal Probability Distribution
Advertisements

Chapter 5: Continuous Random Variables
Normality (Part 4) Notes continued on page
Chapter 7: The Normal Probability Distribution
Chapter 7 Continuous Distributions. Continuous random variables Are numerical variables whose values fall within a range or interval Are measurements.
Section 7.1 The STANDARD NORMAL CURVE
Normality Notes page 138. The heights of the female students at RSH are normally distributed with a mean of 65 inches. What is the standard deviation.
Chapter 3 Distributions. Continuous random variables Are numerical variables whose values fall within a range or interval Are measurements Can be described.
1 Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. Chapter 6. Continuous Random Variables Reminder: Continuous random variable.
Chapter 7 Continuous Distributions. Continuous random variables Are numerical variables whose values fall within a range or interval Are measurements.
Modular 11 Ch 7.1 to 7.2 Part I. Ch 7.1 Uniform and Normal Distribution Recall: Discrete random variable probability distribution For a continued random.
Lesson 2 - R Review of Chapter 2 Describing Location in a Distribution.
Copyright © 2014, 2013, 2010 and 2007 Pearson Education, Inc. Chapter The Normal Probability Distribution 7.
© 2010 Pearson Prentice Hall. All rights reserved Chapter The Normal Probability Distribution © 2010 Pearson Prentice Hall. All rights reserved 3 7.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter The Normal Probability Distribution 7.
Continuous Distributions. Continuous random variables Are numerical variables whose values fall within a range or interval Are measurements Can be described.
Normal Distributions.
AP Statistics Tuesday, 12 January 2016 OBJECTIVE TSW investigate normal distributions. QUIZ: Continuous & Uniform Distributions is graded. TODAY’S ASSIGNMENT.
Chapter 7 The Normal Probability Distribution 7.1 Properties of the Normal Distribution.
AP Statistics Wednesday, 06 January 2016 OBJECTIVE TSW investigate the properties of uniform distributions and normal distributions. ASSIGNMENT DUE –WS.
AP Statistics Wednesday, 06 January 2016 OBJECTIVE TSW investigate normal distributions. You need to have the following out: 1.Blue chart (Table A) 2.Calculator.
Density Curves & Normal Distributions Textbook Section 2.2.
Chapter 7 Random Variables and Continuous Distributions.
Chapter 7 Continuous Distributions. Continuous Random Variables Values fall within an interval Measurements Described by density curves.
Chapter 6 The Normal Distribution and Other Continuous Distributions
Chapter 3 Distributions.
Continuous random variables
MATB344 Applied Statistics
Normal Probability Distributions Chapter 5. § 5.1 Introduction to Normal Distributions and the Standard Distribution.
Continuous Distributions
Chapter 5: Continuous Random Variables
Chapter 4: The Normal Distribution
CHAPTER 2 Modeling Distributions of Data
The Normal Probability Distribution
Interpreting Center & Variability.
The Normal Distribution: Comparing Apples and Oranges
Normal Probability Distributions
CHAPTER 2 Modeling Distributions of Data
CHAPTER 2 Modeling Distributions of Data
Chapter 6. Continuous Random Variables
Properties of the Normal Distribution
Interpreting Center & Variability.
Sampling Distributions of Proportions
CHAPTER 2 Modeling Distributions of Data
Interpreting Center & Variability.
The Normal Probability Distribution
Confidence Intervals.
2.1 Normal Distributions AP Statistics.
Click the mouse button or press the Space Bar to display the answers.
Continuous Distributions
Interpreting Center & Variability.
CHAPTER 2 Modeling Distributions of Data
CHAPTER 2 Modeling Distributions of Data
Continuous Random Variables
Continuous Distributions
CHAPTER 2 Modeling Distributions of Data
The Normal Curve Section 7.1 & 7.2.
CHAPTER 2 Modeling Distributions of Data
Lecture 12: Normal Distribution
Chapter 5: Continuous Random Variables
CHAPTER 2 Modeling Distributions of Data
Chapter 5: Continuous Random Variables
Test 2 Covers Topics 12, 13, 16, 17, 18, 14, 19 and 20 Skipping Topics 11 and 15.
CHAPTER 2 Modeling Distributions of Data
Uniform Distribution Is a continuous distribution that is evenly (or uniformly) distributed Has a density curve in the shape of a rectangle Probabilities.
Continuous Random Variables
CHAPTER 2 Modeling Distributions of Data
Normal Probability Distribution Lecture 1 Sections: 6.1 – 6.2
CHAPTER 2 Modeling Distributions of Data
Presentation transcript:

Continuous Distributions Chapter 7 Continuous Distributions

Continuous Random Variables Values fall within an interval Measurements Described by density curves

Density Curve Always on or above the x-axis Area underneath it equals 1 Shows what proportion of data falls within an interval

Unusual Density Curves Generic continuous distributions Can be any shape Probability = area under the curve

How do we find the area of a triangle? P(X < 2) =

What is the area of a line segment? P(X = 2) = P(X < 2) = .25

Is this different than discrete distributions? In continuous distributions, P(X < 2) & P(X < 2) are the same! Hmmmm… Is this different than discrete distributions?

P(X > 3) = P(1 < X < 3) = .4375 .5

P(X > 1) = .75 .5(2)(.25) = .25 (2)(.25) = .5

P(0.5 < X < 1.5) = .28125

Special Continuous Distributions

How do you find the area of a rectangle? Uniform Distribution Evenly (uniformly) distributed  Every value has equal probability Density curve: rectangle Probability = area under the curve How do you find the area of a rectangle? (a & b are the endpoints of the distribution)

Why 12? , where

What shape does a uniform distribution have? The Citrus Sugar Company packs sugar in bags labeled 5 pounds. However, the packaging isn’t perfect and the actual weights are uniformly distributed with a mean of 4.98 pounds and a range of .12 pounds. Construct this uniform distribution. What shape does a uniform distribution have? What is the height of this rectangle? How long is this rectangle? 1/.12 4.98 5.04 4.92

What is the length of the shaded region? b) What is the probability that a randomly selected bag will weigh more than 4.97 pounds? What is the length of the shaded region? P(X > 4.97) = .07(1/.12) = .5833 4.98 5.04 4.92 1/.12

What is the length of the shaded region? c) Find the probability that a randomly selected bag weighs between 4.93 and 5.03 pounds. What is the length of the shaded region? P(4.93 < X < 5.03) = .1(1/.12) = .8333 4.98 5.04 4.92 1/.12

What is the height of the rectangle? Where should the rectangle end? The time it takes for students to drive to school is evenly distributed with a minimum of 5 minutes and a range of 35 minutes. Draw the distribution. What is the height of the rectangle? Where should the rectangle end? 1/35 5 40

b) What is the probability that it takes less than 20 minutes to drive to school? P(X < 20) = (15)(1/35) = .4286 5 40 1/35

c) What are the mean and standard deviation of this distribution? μ = (5 + 40)/2 = 22.5 2 = (40 – 5)2/12 = 102.083  = 10.104

How is this done mathematically? Normal Distribution How is this done mathematically? Symmetrical, bell-shaped density curve Parameters: μ,  Probability = area under the curve As  increases, curve flattens & spreads out As  decreases, curve gets taller and thinner

Normal distributions occur frequently. Length of infants Height Weight ACT scores Intelligence Number of typing errors Velocities of ideal gas molecules Yearly rainfall Quantum harmonic oscillators Diffusion Thermal light Size of living tissue Blood pressure Compound interest Exchange rates Stock market indices

A B 6   Do these two normal curves have the same mean? If so, what is it? Which normal curve has a standard deviation of 3? Which normal curve has a standard deviation of 1? YES B A

Empirical Rule Approx. 68% of the data fall within 1 of μ

Suppose the height of male GBHS students is normally distributed with a mean of 71 inches and standard deviation of 2.5 inches. What is the probability that a randomly selected male student is taller than 73.5 inches? 1 – .68 = .32 71 P(X > 73.5) = 0.16 68%

Standard Normal Density Curve μ = 0 &  = 1 To standardize any normal data: Make your life easier – memorize this!

To find normal probabilities/proportions: Write the probability statement Draw a picture Calculate the z-score Look up the probability in the table

Look up z-score in table The lifetime of a certain type of battery is normally distributed with a mean of 200 hours and a standard deviation of 15 hours. What proportion of these batteries can be expected to last less than 220 hours? Write the probability statement Draw & shade the curve P(X < 220) = .9082 Look up z-score in table Calculate z-score

The lifetime of a certain type of battery is normally distributed with a mean of 200 hours and a standard deviation of 15 hours. What proportion of these batteries can be expected to last more than 220 hours? P(X > 220) = 1 – .9082 = .0918

The lifetime of a certain type of battery is normally distributed with a mean of 200 hours and a standard deviation of 15 hours. How long must a battery last to be in the top 5%? Look up 0.95 in table to find z-score P(X > ?) = .05 .95 .05 1.645

The heights of the female GBHS students are normally distributed with a mean of 65 inches. What is the standard deviation of this distribution if 18.5% of the female students are shorter than 63 inches? What is the z-score for 63? P(X < 63) = .185 -0.9 63

Normal distribution with μ = 4.5,  = 3.3634 The heights of female GBHS teachers are normally distributed with mean 65.5 inches and standard deviation 2.25 inches. The heights of male GBHS teachers are normally distributed with mean 70 inches and standard deviation 2.5 inches. Describe the distribution of differences of teacher heights (male – female) Normal distribution with μ = 4.5,  = 3.3634

What is the probability that a randomly selected male teacher is shorter than a randomly selected female teacher? 4.5 P(X < 0) = .0901

Will my calculator do any of this stuff? Normalpdf: Doesn't make sense  P(X = x) = 0!  Used for graphing ONLY Normalcdf: Calculates probability  normalcdf(lower bound, upper bound) Invnorm (inverse normal): Finds z-score for a probability to the left

Ways to Assess Normality Dotplots, boxplots, histograms Normal Probability (Quantile) Plot

Suppose we have the following observations of widths of contact windows in integrated circuit chips: 3.21 2.49 2.94 4.38 4.02 3.62 3.30 2.85 3.34 3.81 Think of selecting sample after sample of size 10 from a standard normal distribution. Then -1.539 is the average of the smallest value from each sample, -1.001 is the average of the next smallest value from each sample, etc. To construct a normal probability plot, we can use quantities called normal scores. The values of the normal scores depend on the sample size n. The normal scores when n = 10 are below: -1.539 -1.001 -0.656 -0.376 -0.123 0.123 0.376 0.656 1.001 1.539 Sketch a scatterplot by pairing the smallest normal score with the smallest data value, 2nd normal score with 2nd data value, and so on What should happen if our data set is normally distributed? Normal Scores Widths of Contact Windows

Normal Probability (Quantile) Plots Plot data against known normal z-scores Points form a straight line  data is normally distributed Stacks of points (repeat observations): granularity

Are these approximately normally distributed? 50 48 54 47 51 52 46 53 52 51 48 48 54 55 57 45 53 50 47 49 50 56 53 52 The histogram/boxplot is approx. symmetrical, so the data are approx. normal. The normal probability plot is approx. linear, so the data are approx. normal.

Find this probability using the binomial distribution. Premature babies are those born more than 3 weeks early. Newsweek (May 16, 1988) reported that 10% of the live births in the U.S. are premature. Suppose 250 live births are randomly selected and X = the number of “preemies” is determined. What is the probability that there are between 15 and 30 preemies, inclusive? Find this probability using the binomial distribution. 2) What is the mean and standard deviation of this distribution? P(15 < X < 30) = binomcdf(250, .1, 30) – binomcdf(250, .1, 14) = .866 μ = 25,  = 4.743

Let’s graph this distribution: L1: seq(X, X, 0, 45) L2: use binompdf to find the binomial probabilities xmin = -0.5, xmax = 45, xscl = 1 ymin = 0, ymax = 0.2, yscl = 1 Premature babies are those born more than 3 weeks early. Newsweek (May 16, 1988) reported that 10% of the live births in the U.S. are premature. Suppose 250 live births are randomly selected and X = the number of “preemies” is determined. 3) If we were to graph a histogram for the above binomial distribution, what shape would it have? 4) What do you notice about the shape? p is only 10%  should be skewed right Set window: xmin:-0.5 xmax: 45 xscl: 1 ymin:0 ymax:0.2 yscl:1 Input the following in your calculator. Graph: histogram L1: seq(x,x,0,45) xlist: L1 L2: binomialpdf(250,.1,L1) freq: L2 Overlay a normal curve on your histogram: Y1 = normalpdf(X, 25, 4.743)

We can estimate binomial probabilities with the normal distribution IF… 1) p is close to .5 or 2) n is sufficiently large  np > 10 & n(1 –p) > 10 Why 10?

Normal distributions extend infinitely in both directions Binomial distributions go from 0 to n If we use normal to estimate binomial, we have to cut off the tails of the normal distribution This is okay if the mean of the normal distribution (which we use the mean of the binomial for) is at least three standard deviations (3) from 0 and from n

We require: Or As binomial: Square it: Simplify: Since (1 – p) < 1: And since p < 1: Therefore, np should be at least 10 and n(1 – p) should be at least 10.

Continuity Correction Discrete histograms: Each bar is centered over a discrete value Bar for "1" actually goes from 0.5 to 1.5, bar for "2" goes from 1.5 to 2.5, etc. So if we want to estimate a discrete distribution with a continuous one…  Add/subtract 0.5 from each discrete value

5) Since P(preemie) = .1 which is not close to .5, is n large enough? 6) Use a normal distribution to estimate the probability that between 15 and 30 preemies, inclusive, are born in the 250 randomly selected babies. Binomial Normal (w/ cont. correction) P(15 < X < 30) np = 250(.1) = 25 > 10 n(1 – p) = 250(.9) = 225 > 10  We can use normal to approximate binomial  P(14.5 < X < 30.5)

7) How does the normal answer compare to the binomial answer? P(14.5 < X < 30.5) = normalcdf(14.5, 30.5, 25, 4.743) = .8634 Pretty darn close!

Estimate each probability using the normal distribution: a) What is the probability that less than 20 preemies are born out of the 250 babies? b) What is the probability that at least 30 preemies are born out of the 250 babies? c) What is the probability that less than 35 preemies but more than 20 preemies are born out of the 250 babies?