Slides developed by Mine Çetinkaya-Rundel of OpenIntro
Translated from LaTeX to Google Slides by Curry W. Hilton of OpenIntro.
The slides may be copied, edited, and/or shared via the CC BY-SA license
To make a copy of these slides, go to File > Download as > [option],�as shown below. Or if you are logged into a Google account, you can choose Make a copy... to create your own version in Google Drive.
Point Estimates
and Sampling Variability
Parameter estimation
Suppose we randomly sample 1,000 adults from each state in the US. Would you expect the sample means of their heights to be the same, somewhat different, or very different?
Suppose we randomly sample 1,000 adults from each state in the US. Would you expect the sample means of their heights to be the same, somewhat different, or very different?
Suppose we randomly sample 1,000 adults from each state in the US. Would you expect the sample means of their heights to be the same, somewhat different, or very different?
Not the same, but only somewhat different.
Margin of error
41% ± 2.9%: We are 95% confident that 38.1% to 43.9% of the public believe young adults, rather than middle-aged or older adults, are having the toughest time in today's economy.
49% ± 4.4%: We are 95% confident that 44.6% to 53.4% of 18-34 years olds have taken a job they didn't want just to pay the bills.
Suppose the proportion of American adults who support the expansion of solar energy is p = 0.88, which is our parameter of interest. Is a randomly selected American adult more or less likely to support the expansion of solar energy?
Suppose the proportion of American adults who support the expansion of solar energy is p = 0.88, which is our parameter of interest. Is a randomly selected American adult more or less likely to support the expansion of solar energy?
More likely.
Suppose that you don’t have access to the populaion of all Ameri- can adults, which is a quite likely scenario. In order to estimate the proportion of American adults who support solar power expansion, you might sample from the population and use your sample propor- tion as the best guess for the unknown population proportion.
# 1. Create a set of 250 million entries, where 88% of
# them are "support" and 12% are "not".
pop_size <- 250000000
possible_entries <- c(rep("support", 0.88 * pop_size),
rep("not", 0.12 * pop_size))
# 2. Sample 1000 entries without replacement.
sampled_entries <- sample(possible_entries, size = 1000)
# 3. Compute p-hat: count the number that are "support",
# then divide by # the sample size.
sum(sampled sampled_entries == "support") / 1000
Sampling distribution
Suppose you were to repeat this process many times and plot the results. What you just constructed is called a sampling distribution.
Sampling distribution
What is the shape and center of this distribution?
The distribution looks symmetric and somewhat bell-shaped.
Sampling distribution
Based on this distribution, what do you think is the true population proportion?
The center of the distribution: about 0.88.
Sampling distributions are never observed
Central Limit Theorem
Sample proportions will be nearly normally distributed with mean equal to the population proportion, p, and standard error equal to
It wasn’t a coincidence that the sampling distribution we saw earlier was symmetric, and centered at the true population population.
We won’t go through a detailed proof of why
but note that as n increases SE decreases.
CLT - conditions
Certain conditions must be met for the CLT to apply:
Sample size
There should be at least 10 expected successes and 10 expected failures in the observed sample.
This is difficult to verify if you don’t know the population proportion (or can’t assume a value for it). In those cases we look for the number of observed successes and failures to be at least 10.
Independence
Sampled observations must be independent. This is difficult to verify, but is more likely if
When p is unknown
The CLT states
with the condition that np and n(1 − p) are at least 10.
However, we often don’t know the value of p, the population proportion.
In these cases we substitute p̂ for p.
When np or n(1 - p) is small
Suppose we have a population where the true population proportion is p = 0.05, and we take random samples of size n = 50 from this population. We calculate the sample proportion in each sample and plot these proportions. Would you expect this distribution to be nearly normal? Why, or why not?
No, the success-failure condition is not met (50 x 0.05 = 2.5), so we would not expect the sampling distribution to be nearly normal.
What happens when np and/or n(1 − p) < 10
When the conditions are not met...
Extending the framework for other statistics
The strategy of using a sample statistic to estimate a parameter is quite common, and it’s a strategy that we can apply to other statistics besides a proportion.
The principles and general ideas are from this chapter apply to other parameters as well, even if the details change a little.
Find more resources at openintro.org/os, including
Teachers only content is also available for Verified Teachers, including
Questions? Contact us.
Extra Slides from the�OS3 section on point estimates
Practice
The following histogram shows the distribution of number of drinks it takes a group of college students to get drunk. We will assume that this is our population of interest. If we randomly select observations from this data set, which values are most likely to be selected, which are least likely?
Suppose that you don't have access to the population data. In order to estimate the average number of drinks it takes these college students to get drunk, you might sample from the population and use your sample mean as the best guess for the unknown population mean.
Example
List of random numbers: 59, 121, 88, 46, 58, 72, 82, 81, 5, 10
Example
List of random numbers: 59, 121, 88, 46, 58, 72, 82, 81, 5, 10
Sample mean: (8+6+10+4+5+3+5+6+6+6) / 10 = 5.9
Sampling distribution
What you just constructed is called a sampling distribution.
Sampling distribution
What you just constructed is called a sampling distribution.
What is the shape and center of this distribution? Based on this distribution, what do you think is the true population average?
Sampling distribution
What you just constructed is called a sampling distribution.
What is the shape and center of this distribution? Based on this distribution, what do you think is the true population average?
Approximately 5.39, the true population mean.
Central Limit Theorem
The distribution of the sample mean is well approximated by a normal model:
where SE is represents standard error, which is defined as the standard deviation of the sampling distribution. If σ is unknown, use s.
CLT - conditions
Certain conditions must be met for the CLT to apply:
Independence: Sampled observations must be independent. This is difficult to verify, but is more likely if
CLT - conditions
Sample size / skew: Either the population distribution is normal, or if the population distribution is skewed, the sample size is large.
This is also difficult to verify for the population, but we can check it using the sample data, and assume that the sample mirrors the population.
Certain conditions must be met for the CLT to apply:
Independence: Sampled observations must be independent. This is difficult to verify, but is more likely if