1 / 40

Math 3680 Lecture #15 Confidence Intervals

Math 3680 Lecture #15 Confidence Intervals. Review: Suppose that E( X ) = m and SD( X ) = s . Recall the following two facts about the average of n observations drawn with replacement:. Estimation.

pfaircloth
Download Presentation

Math 3680 Lecture #15 Confidence Intervals

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Math 3680 Lecture #15 Confidence Intervals

  2. Review: Suppose that E(X) = m and SD(X) = s. Recall the following two facts about the average of n observations drawn with replacement:

  3. Estimation

  4. Example:A university has 25,000 registered students. In a survey of 318 students, the average age of the sample is found to be 22.4, with a sample SD of 4.5 years. Estimate the average age of all 25,000 students, and attach a standard error to this estimate.

  5. Wrong Answer: The average age of the student body is exactly 22.4 years. What is wrong with this simplistic analysis?

  6. Answer:Of course, we estimate the average of the population to be 22.4 years – but this estimate will not be exact. To determine the magnitude of the error, we need to find the SE, and that means a box model. 25,000 tickets Average = ?? SD = ?? 318 draws

  7. Bootstrap Estimation: Although the SD of the box is unknown, we estimate the SD of the box from the fractions in the sample: SD of box  4.5 SE of the sample average (Why?)

  8. Conclusion: The average age is about 22.4 years, give or take 0.251 years or so.

  9. Confidence Intervals: Large samples or known s

  10. 68% We say that the range 22.40.251 years = 22.149-22.651 years is a 68% confidence intervalfor the average age of the population.

  11. 95% We say that the range 22.4(1.96)(0.251) years = 21.909-22.891 years is a 95% confidence intervalfor the average age of the population.

  12. 99.7% We say that the range 22.4(2.968)(0.251) years = 21.656-23.144 years is a 99.7% confidence intervalfor the average age of the population.

  13. 1 - 2a za z1-a In general, we say that the range is a 1 - 2a confidence intervalfor the population average m.

  14. Logic:

  15. Observations: 1) We are NOT saying that 95% of the students are between 21.9 and 22.9 years old – this is patently ridiculous, of course. 2) We are NOT saying that there is a 95% chance that the average age is between 21.9 and 22.9 years. The population average is constant – it is either in this range or it is not.

  16. Observations: 3) The true interpretation is as follows: If several people run this experiment and they all find a 95%-confidence interval, then the true population parameter will lie in about 95% of these intervals.

  17. 100 different 95% confidence intervals

  18. 100 different 68% confidence intervals

  19. 100 different 95% confidence intervals, n = 4 x 318 =1272

  20. Observations: 4) In the previous problem, we replaced the population s with the sample s. (When did we do this?) As it turns out, this makes little practical difference for large samples. More on this later when we consider small samples.

  21. Observations: 5) The normal approximation has been used. As discussed earlier, a large number of draws is required for this assumption to hold. 6) Remember: There is no such thing as a 100% confidence interval. In practice, scientists often use 95% as a balance between a high confidence level and a narrow confidence interval.

  22. Example:In a simple random sample of 680 households (in a city of millions), the average number of TV sets is 1.86, with an SD of 0.80. Find a 95% confidence interval for the average number of TV sets per household in the city.

  23. True or false: (i) 1.860.06 is a 95%-confidence interval for this population average. (ii) 1.860.06 is a 95%-confidence interval for this sample average. (iii) There is a 95% chance for the population average to be in the range 1.860.06.

  24. Example: The chart to the right shows platelet counts among 120 geriatric patients. Find a 95% confidence interval for the average platelet count among geriatric patients.

  25. Fill in the blanks with either boxor draws. Probabilities are used when reasoning from the __________ to the _____________. Confidence levels are used when reasoning from the ____________ to the ______________.

  26. Fill in the blank with either observedor expected. The chance error is in the _______________ value.

  27. Fill in the blank with either sampleor population. The confidence level is for the ______________ average.

  28. Confidence Intervals: Projecting Sample Size

  29. Example:In a preliminary simple random sample of 680 households (in a city of millions), the average number of TV sets in the sample households is 1.86, with an SD of 0.80. Suppose that it’s desired to construct a 90% confidence interval which has a margin of errorof 0.03. How large a sample would be necessary?

  30. Solution: So, the sample size should be at least 1925

  31. Confidence Intervals: Small samples

  32. Example:A biological research team measures the weights of 14 chipmunks, randomly chosen. Find a 90% confidence interval for the average weight of chipmunks.

  33. Note:The previous calculations used the fact that approximately follows the normal curve for large values of n. In this problem, we cannot use this approximation.

  34. However, for both small and large samples, we can use the fact that approximately follows the Student’s t-distribution with n - 1 degrees of freedom.

  35. 1 - 2a tn-1, 1-a tn-1, a In general, we say that the range is a 1 - 2a confidence interval for the population average m.

  36. Excel: TINV(0.1, 13) 90% Therefore, the 90% confidence interval is or 8.40 – 9.12 ounces.

  37. Note:Be sure you look up the correct number on the table in the back of the book. The numbers at the bottom of Table 4 specify the two-sided confidence levels.

  38. Example: Duracell tests 12 batteries in flashlights. They determine that the average life of the batteries in this sample is 3.58 hours, with a sample SD of 1.58 hours. Find a 95% confidence interval for the average life of a Duracell battery in a flashlight. Repeat if 100 batteries were tested (with the same sample mean and SD as above)

  39. Note: In previous lectures, we considered another technique of inferring information about the box from the draws – namely, hypothesis testing. Confidence intervals provide a method of estimating the average of the box. Hypothesis testingchecks if the difference between the supposed box average and the sample average is either real or due to chance.

More Related