Presentation is loading. Please wait.

Presentation is loading. Please wait.

AP Statistics Chap 10-1 Confidence Intervals. AP Statistics Chap 10-2 Confidence Intervals Population Mean σ Unknown (Lock 6.5) Confidence Intervals Population.

Similar presentations


Presentation on theme: "AP Statistics Chap 10-1 Confidence Intervals. AP Statistics Chap 10-2 Confidence Intervals Population Mean σ Unknown (Lock 6.5) Confidence Intervals Population."— Presentation transcript:

1 AP Statistics Chap 10-1 Confidence Intervals

2 AP Statistics Chap 10-2 Confidence Intervals Population Mean σ Unknown (Lock 6.5) Confidence Intervals Population Proportion (Lock 6.1) σ Known (Lock 5.2)

3 Central Limit Theorem AP Statistics Chap 10-3 Normal if: Asymmetric: 30+ Symmetric: 15+ Normal: >1

4 AP Statistics Chap 10-4 Confidence Interval for μ ( σ Known) Assumptions Population standard deviation σ is known Population is normally distributed If population is not normal, use large sample Confidence interval estimate

5 AP Statistics Chap 10-5 Common Levels of Confidence Commonly used confidence levels are 90%, 95%, and 99% Confidence Level Confidence Coefficient, z value, 1.28 1.645 1.96 2.33 2.58 3.08 3.27.80.90.95.98.99.998.999 80% 90% 95% 98% 99% 99.8% 99.9%

6 AP Statistics Chap 10-6 Finding the Critical Value Consider a 95% confidence interval: z.025 = -1.96z.025 = 1.96 Point Estimate Lower Confidence Limit Upper Confidence Limit z units: x units: Point Estimate 0

7 Confidence Intervals 90% Samples 95% Samples 99% Samples  +1.65   x  +2.58   x  x_ XXXX  +1.96   x  -2.58   x  -1.65   x  -1.96   x   X  =  ± Z   x

8 AP Statistics Chap 10-8 Interval and Level of Confidence Confidence Intervals Intervals extend from to 100(1-  )% of intervals constructed contain μ ; 100  % do not. Sampling Distribution of the Mean x x1x1 x2x2

9 AP Statistics Chap 10-9 Margin of Error(MoE) Margin of Error (e): the amount added and subtracted to the point estimate to form the confidence interval Example: Margin of error for estimating μ, σ known:

10 AP Statistics Chap 10-10 Factors Affecting MoE Data variation, σ : e as σ Sample size, n : e as n Level of confidence, 1 -  : e if 1 - 

11 AP Statistics Chap 10-11 Example 1 A sample of 11 circuits from a large normal population has a mean resistance of 2.20 ohms. We know from past testing that the population standard deviation is.35 ohms. Determine a 95% confidence interval for the true mean resistance of the population.

12 AP Statistics Chap 10-12 Example 1 A sample of 11 circuits from a large normal population has a mean resistance of 2.20 ohms. We know from past testing that the population standard deviation is.35 ohms. (continued) Solution: 2.20±1.96(.35/sqrt(11) 2.20±.2068 [1.99, 2.4068]

13 Z-Interval w/ Calculator AP Statistics Chap 10-13

14 AP Statistics Chap 10-14 Interpretation We are 95% confident that the true mean resistance is between 1.9932 and 2.4068 ohms Although the true mean may or may not be in this interval, 95% of intervals formed in this manner will contain the true mean An incorrect interpretation is that there is 95% probability that this interval contains the true population mean. (This interval either does or does not contain the true mean, there is no probability for a single interval)

15 Thinking Challenge You’re a Q/C inspector for Gallo. The  for 2- liter bottles is.05 liters. A random sample of 100 bottles shows  X = 1.99 liters. What is the 90% confidence interval estimate of the true mean amount in 2-liter bottles? 2 liter © 1984-1994 T/Maker Co. 2 liter

16 Confidence Interval Solution

17 AP Statistics Chap 10-17 Computer Simulation

18 AP Statistics Chap 10-18 Example 2 Tim Kelley weighs himself once a week for several years. Last month he weighed himself 4 times with an average of 190.5. Examination of Tim’s past data reveals that over relatively short periods of time, his weight measurements are approximately normal with a standard deviation of about 3. Find a 90% confidence interval for his mean weight for last month. Then, find a 99% confidence interval.

19 AP Statistics Chap 10-19 Example 2 Suppose Tim had only weighed himself once last month and that his one observation was x=190.5 (the same as the mean before). Estimate µ with 90% confidence. (continued)

20 AP Statistics Chap 10-20 Example 2 Tim wants to have a margin of error of only 2 pounds with 95% confidence. How many times must he weigh himself to achieve this goal? (continued)

21 AP Statistics Chap 10-21 Confidence Intervals with Unknown Population Standard Deviation

22 AP Statistics Chap 10-22 Confidence Intervals Population Mean σ Unknown Confidence Intervals Population Proportion σ Known

23 AP Statistics Chap 10-23 If the population standard deviation σ is unknown, we can substitute the sample standard deviation, s This introduces extra uncertainty, since s is variable from sample to sample So we use the t distribution instead of the normal distribution Confidence Interval for μ ( σ Unknown)

24 AP Statistics Chap 10-24 Assumptions Population standard deviation is unknown Population is normally distributed If population is not normal, use large sample Use Student’s t Distribution Confidence Interval Estimate Confidence Interval for μ ( σ Unknown) (continued)

25 AP Statistics Chap 10-25 Student’s t Distribution The t is a family of distributions The t value depends on degrees of freedom (d.f.) Number of observations that are free to vary after sample mean has been calculated d.f. = n - 1

26 AP Statistics Chap 10-26 If the mean of these three values is 8.0, then x 3 must be 9 (i.e., x 3 is not free to vary) Degrees of Freedom (df) Idea: Number of observations that are free to vary after sample mean has been calculated Example: Suppose the mean of 3 numbers is 8.0 Let x 1 = 7 Let x 2 = 8 What is x 3 ? Here, n = 3, so degrees of freedom = n -1 = 3 – 1 = 2 (2 values can be any numbers, but the third is not free to vary for a given mean)

27 AP Statistics Chap 10-27 Student’s t Distribution t 0 t (df = 5) t (df = 13) t-distributions are bell- shaped and symmetric, but have ‘fatter’ tails than the normal Standard Normal (t with df =  ) Note: t z as n increases

28 AP Statistics Chap 10-28 Student’s t Table Upper Tail Area df.25.10.05 11.0003.0786.314 2 0.8171.886 2.920 30.7651.6382.353 t 0 2.920 The body of the table contains t values, not probabilities Let: n = 3 df = n - 1 = 2  =.10  /2 =.05  /2 =.05

29 AP Statistics Chap 10-29 t distribution values With comparison to the z value Confidence t t t z Level (10 d.f.) (20 d.f.) (30 d.f.) ____.80 1.372 1.325 1.310 1.28.90 1.812 1.725 1.697 1.64.95 2.228 2.086 2.042 1.96.99 3.169 2.845 2.750 2.58 Note: t z as n increases

30 AP Statistics Chap 10-30 Example A random sample of n = 25 has x = 50 and s = 8. Form a 95% confidence interval for μ CI = 46.698, 53.302 The confidence interval is:

31 Thinking Challenge You’re a time study analyst in manufacturing. You’ve recorded the following task times (min.): 3.6, 4.2, 4.0, 3.5, 3.8, 3.1. What is the 90% confidence interval estimate of the population mean task time?

32 Confidence Interval Solution*  X = 3.7 S = 3.8987 n = 6, df = n - 1 = 6 - 1 = 5 S /  n = 3.99 /  6 = 1.592 t.05,5 = 2.0150 3.7 - (2.015)(1.592)  3.7 + (2.015)(1.592) 0.492  6.908

33 AP Statistics Chap 10-33 Approximation for Large Samples Since t approaches z as the sample size increases, an approximation is sometimes used when n  30: Correct formula Approximation for large n

34 AP Statistics Chap 10-34 Determining Sample Size The required sample size can be found to reach a desired margin of error (e) and level of confidence (1 -  ) Required sample size, σ known: 2 /2 2 ME σz σz n         2 2

35 AP Statistics Chap 10-35 Required Sample Size Example If  = 45, what sample size is needed to be 90% confident of being correct within ± 5? (Always round up) So the required sample size is n = 220

36 AP Statistics Chap 10-36 If σ is unknown If unknown, σ can be estimated when using the required sample size formula Use a value for σ that is expected to be at least as large as the true σ Select a pilot sample and estimate σ with the sample standard deviation, s

37 AP Statistics Chap 10-37 Chapter 10 Confidence Intervals for Population Proportions

38 AP Statistics Chap 10-38 Confidence Intervals Population Mean σ Unknown Confidence Intervals Population Proportion σ Known

39 AP Statistics Chap 10-39 Confidence Intervals for the Population Proportion, p An interval estimate for the population proportion ( p ) can be calculated by adding an allowance for uncertainty to the sample proportion ( )

40 AP Statistics Chap 10-40 Confidence Intervals for the Population Proportion, p Recall that the distribution of the sample proportion is approximately normal if the sample size is large, with standard deviation We will estimate this with sample data: (continued)

41 AP Statistics Chap 10-41 Confidence interval endpoints Upper and lower confidence limits for the population proportion are calculated with the formula where z is the standard normal value for the level of confidence desired p is the sample proportion n is the sample size

42 AP Statistics Chap 10-42 Example A random sample of 100 people shows that 25 are left-handed. Form a 95% confidence interval for the true proportion of left-handers

43 AP Statistics Chap 10-43 Example A random sample of 100 people shows that 25 are left-handed. Form a 95% confidence interval for the true proportion of left-handers. 1. 2. 3. (continued)

44 AP Statistics Chap 10-44 Interpretation We are 95% confident that the true percentage of left-handers in the population is between 16.51% and 33.49%. Although this range may or may not contain the true proportion, 95% of intervals formed from samples of size 100 in this manner will contain the true proportion.

45 AP Statistics Chap 10-45 Changing the sample size Increases in the sample size reduce the width of the confidence interval. Example: If the sample size in the above example is doubled to 200, and if 50 are left-handed in the sample, then the interval is still centered at.25, but the width shrinks to.19 …….31

46 Estimation Example Proportion A random sample of 400 graduates showed 32 went to grad school. Set up a 95% confidence interval estimate for p.

47 Estimation Example Proportion A random sample of 400 graduates showed 32 went to grad school. Set up a 95% confidence interval estimate for p.

48 Thinking Challenge You’re a production manager for a newspaper. You want to find the % defective. Of 200 newspapers, 35 had defects. What is the 90% confidence interval estimate of the population proportion defective?

49 Confidence Interval Solution*

50 AP Statistics Chap 10-50 Finding the Required Sample Size for proportion problems Solve for n: Define the margin of error: p can be estimated with a pilot sample, if necessary (or conservatively use p =.50)

51 AP Statistics Chap 10-51 What sample size...? How large a sample would be necessary to estimate the true proportion defective in a large population within 3%, with 95% confidence? (Assume a pilot sample yields p =.12)

52 AP Statistics Chap 10-52 What sample size...? Solution: For 95% confidence, use Z = 1.96 E =.03 p =.12, so use this to estimate p So use n = 451 (continued)

53 AP Statistics Chap 10-53 Chapter Summary Illustrated estimation process Discussed point estimates Introduced interval estimates Discussed confidence interval estimation for the mean (σ known) Addressed determining sample size Discussed confidence interval estimation for the mean (σ unknown) Discussed confidence interval estimation for the proportion

54 AP Statistics Chap 10-54 Confidence Intervals End of Basic Confidence Intervals


Download ppt "AP Statistics Chap 10-1 Confidence Intervals. AP Statistics Chap 10-2 Confidence Intervals Population Mean σ Unknown (Lock 6.5) Confidence Intervals Population."

Similar presentations


Ads by Google