Confidence Intervals for a Proportion PDF

Summary

This document discusses confidence intervals for proportions, including examples related to Facebook user interests. It explains the concept of confidence intervals and how they are used to estimate population parameters from sample data.

Full Transcript

Confidence Intervals for a Proportion Confidence intervals A plausible range of values for the population parameter is called a confidence interval. Using only a sample statistic to estimate a parameter is like fishing in a murky lake with a spear, and using a confidence interval is like...

Confidence Intervals for a Proportion Confidence intervals A plausible range of values for the population parameter is called a confidence interval. Using only a sample statistic to estimate a parameter is like fishing in a murky lake with a spear, and using a confidence interval is like fishing with a net. We can throw a spear where we saw a fish but we will probably miss. If we toss a net in that area, we have a good chance of catching the fish. If we report a point estimate, we probably won't hit the exact population parameter. If we report a range of plausible values we have a good shot at capturing the parameter. Photos by Mark Fischer (http://www.flickr.com/photos/fischerfotos/7439791462) and Chris Penny (http://www.flickr.com/photos/clearlydived/7029109617) on Flickr. Facebook’s categorization of user interests Most commercial websites (e.g. social media platforms, news out- lets, online retailers) collect a data about their users’ behaviors and use these data to deliver targeted content, recommendations, and ads. To understand whether Americans think their lives line up with how the algorithm-driven classification systems categorizes them, Pew Research asked a representative sample of 850 American Facebook users how accurately they feel the list of categories Facebook has listed for them on the page of their supposed interests actually represents them and their interests. 67% of the respondents said that the listed categories were accurate. Estimate the true proportion of American Facebook users who think the Facebook categorizes their interests accurately. https://www.pewinternet.org/2019/01/16/facebook-algorithms-and-personal-data/ Facebook’s categorization of user interests The approximate 95% confidence interval is defined as Facebook’s categorization of user interests Which of the following is the correct interpretation of this confidence interval? We are 95% confident that... (a) 64% to 70% of American Facebook users in this sample think Facebook categorizes their interests accurately. (b) 64% to 70% of all American Facebook users think Facebook categorizes their interests accurately (c) there is a 64% to 70% chance that a randomly chosen American Facebook user’s interests are categorized accurately. (d) there is a 64% to 70% chance that 95% of American Facebook users’ interests are categorized accurately. Facebook’s categorization of user interests Which of the following is the correct interpretation of this confidence interval? We are 95% confident that... (a) 64% to 67% of American Facebook users in this sample think Facebook categorizes their interests accurately. (b) 64% to 67% of all American Facebook users think Facebook categorizes their interests accurately (c) there is a 64% to 67% chance that a randomly chosen American Facebook user’s interests are categorized accurately. (d) there is a 64% to 67% chance that 95% of American Facebook users’ interests are categorized accurately. What does 95% confident mean? Suppose we took many samples and built a confidence interval from each sample using the equation point estimate ± 1.96 × SE Then about 95% of those intervals would contain the true population proportion (p). Width of an interval If we want to be more certain that we capture the population parameter, i.e. increase our confidence level, should we use a wider interval or a smaller interval? A wider interval. Can you see any drawbacks to using a wider interval? If the interval is too wide it may not be very informative. Changing the confidence level point estimate ± z★ × SE In a confidence interval, z★ × SE is called the margin of error, and for a given sample, the margin of error changes as the confidence level changes. In order to change the confidence level we need to adjust z★ in the above formula. Commonly used confidence levels in practice are 90%, 95%, 98%, and 99%. For a 95% confidence interval, z★ = 1.96. However, using the standard normal (z) distribution, it is possible to find the appropriate z★ for any confidence level. Which of the below Z scores is the appropriate z⋆ when calculating a 98% confidence interval? (a) Z = 2.05 (d) Z = −2.33 (b) Z = 1.96 (e) Z = −1.65 (c) Z = 2.33 Which of the below Z scores is the appropriate z⋆ when calculating a 98% confidence interval? (a) Z = 2.05 (d) Z = −2.33 (b) Z = 1.96 (e) Z = −1.65 (c) Z = 2.33 Interpreting confidence intervals Confidence intervals are... always about the population are not probability statements only about population parameters, not individual observations only reliable if the sample statistic they’re based on is an unbiased estimator of the population parameter Extra Examples Slides on confidence intervals Average number of exclusive relationships A random sample of 50 college students were asked how many exclusive relationships they have been in so far. This sample yielded a mean of 3.2 and a standard deviation of 1.74. Estimate the true average number of exclusive relationships using this sample. Average number of exclusive relationships A random sample of 50 college students were asked how many exclusive relationships they have been in so far. This sample yielded a mean of 3.2 and a standard deviation of 1.74. Estimate the true average number of exclusive relationships using this sample. x̄ = 3.2 s = 1.74 Average number of exclusive relationships A random sample of 50 college students were asked how many exclusive relationships they have been in so far. This sample yielded a mean of 3.2 and a standard deviation of 1.74. Estimate the true average number of exclusive relationships using this sample. x̄ = 3.2 s = 1.74 The approximate 95% confidence interval is defined as point estimate ± 2 x SE Average number of exclusive relationships A random sample of 50 college students were asked how many exclusive relationships they have been in so far. This sample yielded a mean of 3.2 and a standard deviation of 1.74. Estimate the true average number of exclusive relationships using this sample. x̄ = 3.2 s = 1.74 The approximate 95% confidence interval is defined as point estimate ± 2 x SE Average number of exclusive relationships A random sample of 50 college students were asked how many exclusive relationships they have been in so far. This sample yielded a mean of 3.2 and a standard deviation of 1.74. Estimate the true average number of exclusive relationships using this sample. x̄ = 3.2 s = 1.74 The approximate 95% confidence interval is defined as point estimate ± 2 x SE x̄ ± 2 x SE → 3.2 ± 2 x 0.25 → (3.2 - 0.5, 3.2 + 0.5) Practice Which of the following is the correct interpretation of this confidence interval? We are 95% confident that (a) the average number of exclusive relationships college students in this sample have been in is between 2.7 and 3.7. (b) college students on average have been in between 2.7 and 3.7 exclusive relationships. (c) a randomly chosen college student has been in 2.7 to 3.7 exclusive relationships. (d) 95% of college students have been in 2.7 to 3.7 exclusive relationships. Practice Which of the following is the correct interpretation of this confidence interval? We are 95% confident that (a) the average number of exclusive relationships college students in this sample have been in is between 2.7 and 3.7. (b) college students on average have been in between 2.7 and 3.7 exclusive relationships. (c) a randomly chosen college student has been in 2.7 to 3.7 exclusive relationships. (d) 95% of college students have been in 2.7 to 3.7 exclusive relationships. A more accurate interval Confidence interval, a general formula point estimate ± z* x SE A more accurate interval Confidence interval, a general formula point estimate ± z* x SE Conditions when the point estimate = x̄ 1. Independence: Observations in the sample must be independent random sample/assignment if sampling without replacement, n < 10% of population 2. Sample size / skew: n ≥ 30 and population distribution should not be extremely skewed A more accurate interval Confidence interval, a general formula point estimate ± z* x SE Conditions when the point estimate = x̄ 1. Independence: Observations in the sample must be independent random sample/assignment if sampling without replacement, n < 10% of population 2. Sample size / skew: n ≥ 30 and population distribution should not be extremely skewed Note: We will discuss working with samples where n < 30 in the next chapter. What does 95% confident mean? Suppose we took many samples and built a confidence interval from each sample using the equation point estimate ± 2 x SE. Then about 95% of those intervals would contain the true population mean (µ). The figure shows this process with 25 samples, where 24 of the resulting confidence intervals contain the true average number of exclusive relationships, and one does not. Width of an interval If we want to be more certain that we capture the population parameter, i.e. increase our confidence level, should we use a wider interval or a smaller interval? Width of an interval If we want to be more certain that we capture the population parameter, i.e. increase our confidence level, should we use a wider interval or a smaller interval? A wider interval. Width of an interval If we want to be more certain that we capture the population parameter, i.e. increase our confidence level, should we use a wider interval or a smaller interval? A wider interval. Can you see any drawbacks to using a wider interval? Image source: http://web.as.uky.edu/statistics/users/earo227/misc/garfield_weather.gif Width of an interval If we want to be more certain that we capture the population parameter, i.e. increase our confidence level, should we use a wider interval or a smaller interval? A wider interval. Can you see any drawbacks to using a wider interval? If the interval is too wide it may not be very informative. Image source: http://web.as.uky.edu/statistics/users/earo227/misc/garfield_weather.gif Changing the confidence level point estimate ± z* x SE In a confidence interval, z* x SE is called the margin of error, and for a given sample, the margin of error changes as the confidence level changes. In order to change the confidence level we need to adjust z* in the above formula. Commonly used confidence levels in practice are 90%, 95%, 98%, and 99%. For a 95% confidence interval, z* = 1.96. However, using the standard normal (z) distribution, it is possible to find the appropriate z* for any confidence level. Practice Which of the below Z scores is the appropriate z* when calculating a 98% confidence interval? (a) Z = 2.05 (b) Z = 1.96 (c) Z = 2.33 (d) Z = -2.33 (e) Z = -1.65 Practice Which of the below Z scores is the appropriate z* when calculating a 98% confidence interval? (a) Z = 2.05 (b) Z = 1.96 (c) Z = 2.33 (d) Z = -2.33 (e) Z = -1.65

Use Quizgecko on...
Browser
Browser