Presentation is loading. Please wait.

Presentation is loading. Please wait.

Confidence Intervals Chapter 9. How confident are you? Guess my weight… –within 50 pounds –within 20 pounds –within 1 pound Shoot a basketball… –at a.

Similar presentations


Presentation on theme: "Confidence Intervals Chapter 9. How confident are you? Guess my weight… –within 50 pounds –within 20 pounds –within 1 pound Shoot a basketball… –at a."— Presentation transcript:

1 Confidence Intervals Chapter 9

2 How confident are you? Guess my weight… –within 50 pounds –within 20 pounds –within 1 pound Shoot a basketball… –at a swimming pool –at a large trash can –at a carnival hoop

3 What happens to your confidence as the interval gets smaller? The smaller the interval, the lower your confidence. % % % %

4 Point Estimate Use a statistic to estimate a parameter Simplest approach, but not always very precise  Lots of variation  Lots of variation in the sampling distribution

5 Confidence Intervals Use an interval to estimate a parameter Formula: (on green sheet) estimate + margin of error

6 Margin of Error How accurate we believe the estimate is more preciseSmaller margin of error = more precise estimate of the true parameter Formula: based on confidence level

7 Confidence Level Success rate of the method used to construct the interval ____% of the time, the intervals we construct this way will contain the true parameter

8 Represents confidence level z* = upper z-score with probability p lying to its right under the standard normal curve Confidence leveltail areaz*.05 1.645.025 1.96.005 2.576 Critical Value: z* ("z-star").05 z*=1.645.025 z*=1.96.005 z*=2.576 90% 95% 99%

9 Confidence Interval for a Mean: point estimate critical value standard deviation of the statistic margin of error

10 What does it mean to be 95% confident? 95% chance that  is contained in the confidence interval The probability that the interval contains  is 95% Constructing intervals with this method will produce intervals that contain  95% of the time

11 Steps for a confidence interval 1)Conditions Randomization is used SRS from population Randomly assigned treatments Sampling distribution is (approximately) normal Population is normal  samp. dist. is normal Large sample size (n > 30)  samp. dist. is approx. normal Graph is roughly symmetrical  samp. dist. is approx. normal  is known

12 2) Calculate the interval 3) Write statements about the interval in context: We are _____% confident that the true mean context is between ______ and ______. If we made lots of intervals this way, _____% of them would contain the true mean. Steps for a confidence interval

13 Conditions: SRS of blood measurements Potassium level is normal (given)  known We are 90% confident that the true mean potassium level is between 3.01 and 3.39. If we made lots of intervals this way, 90% of them would contain the true mean. 1. a) A test for the level of potassium in blood is not perfectly precise. Repeated measurements for the same person on different days vary normally with  = 0.2. A random sample of three patients has a mean of 3.2. What is a 90% confidence interval for the true mean potassium level?

14 b) Construct a 95% confidence interval for the true mean potassium level. c) Construct a 99% confidence interval for the true mean potassium level. d) What happens to the interval as the confidence level increases? It gets wider – we need a wider net to catch μ with more confidence

15 How can we make the margin of error smaller? z* smaller (lower confidence level)  smaller (less variation in the population) n larger (to cut the margin of error in half, n must be ___ times as big) Can we really change this? 4

16 2. A random sample of 7 high school students yields the following SAT scores: 950 1130 1260 1090 1310 1420 1190 Assuming  = 105, construct and interpret a 95% confidence interval for the true mean SAT score. Conditions: SRS of students Boxplot is roughly symmetrical  sampling dist. is approx. normal  known We are 95% confident that the true mean SAT score for high school students is between 1115.1 and 1270.6. If we made lots of intervals this way, 95% of them would contain the true mean.

17 3. A random sample of 50 high school students has a mean SAT score of 1250. Assuming  = 105, find a 95% confidence interval for the mean SAT score of all high school students. Conditions: SRS of students n > 30  sampling dist. is approx. normal  known We are 95% confident that the true mean SAT score for high school students is between 1220.9 and 1279.1. If we made lots of intervals this way, 95% of them would contain the true mean.

18 Necessary Sample Size If we want a certain margin of error, we can figure out how big a sample we need: Always round up to the nearest whole number!

19 4. The heights of GBHS male students are normally distributed with  = 2.5 inches. How large a sample is necessary to estimate the true mean height within 0.75 inches with 95% confidence? n = 43 male students

20 5. In a randomized experiment on the effects of calcium on blood pressure, researchers divided 64 healthy white males at random into two groups, taking calcium or a placebo. The placebo group had a mean systolic blood pressure of 114.9 with standard deviation 9.3. To determine the effects of the calcium, the researchers need an estimate of the true mean blood pressure for the placebo group. Can we calculate a z-interval with this data? No –  is unknown!

21 Student’s t-distribution Very similar to normal distribution  Symmetrical, bell-shaped  Area equals 1 Graph examples of t-curves vs. normal curve: Y1: normalpdf(x), Y2: tpdf(x, 2) Y3: tpdf(x, 5) (use "-0") Window: x = [-4,4], xscl =1; y = [0,.5], yscl =1 Change Y3: tpdf(x, 30)

22 How does t compare to normal? Shorter & more spread out More area in the tails Based on df (degrees of freedom) = n – 1 As n increases, t-distributions become more like standard normal distribution

23 How to find t-values Use green sheet t-table Look up confidence level at bottom & df on the sides df = n – 1 Find these t*: 90% confidence when n = 5 95% confidence when n = 15 t* = 2.132 t* = 2.145 Can also use invT on the calculator! 5% is above, so 95% is below invT(.95, df)

24 Formula: point estimate Critical value Standard deviation of statistic Margin of error

25 Conditions for t-inference SRS from population (or randomly assigned treatments) Normal (or approx. normal) sampling distribution –Given that pop. is normal –Large sample size (n > 30) –Graph of data is roughly symmetrical σ unknown  use t

26 Back to #5: Find a 95% confidence interval for the true mean blood pressure of the placebo group. Conditions: Randomly assigned treatments Blood pressure is normally distributed (given)  unknown We are 95% confident that the true mean blood pressure is between 111.55 and 118.25. If we made lots of intervals this way, 95% of them would contain the true mean.

27 Robustness A robust inference procedure doesn’t change much if the conditions are violated t-procedures can be used with some skewness, as long as there are no outliers Larger n  can handle more skewness t-distributions already have more area in the tails, so if a distribution has some skewness, the tail area is not greatly affected. CIs deal with area in the tails – the area most affected by skewness

28 6. A medical researcher measured the pulse rate of a random sample of 20 adults and found a mean pulse of 72.69 beats per minute with a standard deviation of 3.86 beats per minute. Assume pulse rate is normally distributed. Compute a 95% confidence interval for the true mean pulse rate of adults. We are 95% confident that the true mean pulse rate of adults is between 70.883 and 74.497. If we made lots of intervals this way, 95% of them would contain the true mean.

29 Another medical researcher claims that the true mean pulse rate for adults is 72 beats per minute. Does our evidence refute this claim? Explain. Since the 95% confidence interval contains 72 bpm, our evidence does not refute this claim.

30 7. Consumer Reports tested 14 randomly selected brands of vanilla yogurt and found the following numbers of calories per serving: 160 200 220 230 120 180 140 130 170 190 80 120 100 170 Compute a 98% confidence interval for the average calorie content per serving of vanilla yogurt. We are 98% confident that the true mean calorie content per serving of vanilla yogurt is between 126.16 and 189.56. If we made lots of intervals this way, 98% of them would contain the true mean.

31 A diet guide claims you get 120 calories from a serving of vanilla yogurt. What does our evidence indicate? Since the 98% confidence interval does not contain 120, we have strong evidence to suggest that the average calories per serving is not 120.

32 Some Cautions: Formulas only work for SRS No way to correct for bias in data Knowing  is unrealistic in practice


Download ppt "Confidence Intervals Chapter 9. How confident are you? Guess my weight… –within 50 pounds –within 20 pounds –within 1 pound Shoot a basketball… –at a."

Similar presentations


Ads by Google