Sampling Distribution of a Sample Proportion
If you survey students and of them have a part-time job, the sample proportion is . A different random sample of would give a slightly different answer, just by chance. This page shows exactly how much sample proportions vary from sample to sample. That pattern is the foundation for every confidence interval and significance test for proportions in AP Statistics.
Key ideas
Section titled “Key ideas”Parameters, statistics, and estimators
Section titled “Parameters, statistics, and estimators”A parameter is a number that describes a whole population. A statistic is a number calculated from a sample. For proportions:
| Symbol | Example | |
|---|---|---|
| Population proportion (parameter) | the proportion of all students in the district with a part-time job | |
| Sample proportion (statistic) | (“p-hat”) | the proportion of the students in the sample with a part-time job |
The sample proportion is
where a “success” is whatever you’re counting (here, having a job). A statistic used to estimate a parameter is called a point estimator, and the value it gives for one sample is a point estimate. So is a point estimate of .
A memory aid: parameters go with populations, statistics go with samples.
Unbiased estimators
Section titled “Unbiased estimators”An estimator is unbiased if, on average over all possible samples, it neither overestimates nor underestimates the parameter. In other words, its sampling distribution is centred at the true parameter value.
The sample proportion is an unbiased estimator of . Some statistics are biased: the range of a sample, for example, can never be bigger than the range of the population, so on average it underestimates the population range.
Bias and variability are different things:
- Bias is about the centre of the sampling distribution: is it on target?
- Variability is about the spread: how much do the estimates differ from sample to sample?
A bigger random sample reduces variability, but it does not fix bias. A badly designed sample (such as a voluntary-response online poll) stays biased no matter how large it is.
The sampling distribution of p̂
Section titled “The sampling distribution of p̂”The sampling distribution of is the distribution of the values of from all possible samples of size from the population. For a population with proportion , when the observations are independent:
- The mean is , which is what “unbiased” means.
- The standard deviation gets smaller as grows. Because is under a square root, you need four times the sample size to cut the standard deviation in half.
Both formulas use the population proportion , not . (When is unknown, you’ll estimate it with ; that’s the standard error, used in confidence intervals for a proportion.)
The conditions
Section titled “The conditions”You need three conditions before you can use the formulas and the normal model:
| Condition | What to check | Why it matters |
|---|---|---|
| Random | The data come from a random sample (or a randomized experiment). | Without randomness, the sampling distribution says nothing about the population. |
| 10% | When sampling without replacement, , where is the population size. | Keeps the observations close enough to independent, so the formula for is accurate. |
| Large Counts | and . | Makes the shape of the sampling distribution approximately normal. |
and are the expected numbers of successes and failures. When one of them is small, the sampling distribution of is skewed (right-skewed if is close to , left-skewed if is close to ), and normal calculations can be badly off.
Normal probabilities for p̂
Section titled “Normal probabilities for p̂”When all three conditions hold, is approximately normal with mean and standard deviation . Find probabilities exactly as you would with any normal distribution, using a z-score:
Then use the standard normal table or your calculator (on a TI-84, normalcdf). Keep the unrounded value of in your calculator.
On the AP exam
Section titled “On the AP exam”The formula sheet gives and , but not the conditions. Check each condition with numbers and in context: write "" and ” of the students in the district”, not just “Large Counts ✓”. Interpret means and standard deviations in context too: say what proportion, for which population, and for samples of what size.
Worked examples
Section titled “Worked examples”Example 1: Mean and standard deviation
Section titled “Example 1: Mean and standard deviation”In a school district, of the high school students have a part-time job. A researcher takes a simple random sample of students and finds , the proportion with a part-time job.
- (a) Find the mean and standard deviation of the sampling distribution of .
- (b) Check that the standard deviation formula is valid.
- (c) Interpret the standard deviation in context.
Solution.
(a) Here and .
(b) The sample is random, and , so the 10% condition holds and the formula is valid.
(c) In repeated random samples of students from this district, the proportion with a part-time job typically varies by about (about percentage points) from the true proportion, .
Example 2: Is the sampling distribution approximately normal?
Section titled “Example 2: Is the sampling distribution approximately normal?”Decide whether the sampling distribution of is approximately normal.
- (a) The district in Example 1, with and .
- (b) A factory where of light bulbs are defective. An inspector randomly selects bulbs from a day’s production of .
Solution.
(a) and . The Large Counts condition holds, so the sampling distribution of is approximately normal.
(b) , which is less than . The Large Counts condition fails. With an expected count of only defective bulbs, can’t go below but can stretch well above , so the sampling distribution is skewed right. A normal model would not be appropriate. (The 10% condition is fine: .)
Example 3: A normal probability
Section titled “Example 3: A normal probability”For the district in Example 1, find the probability that the sample proportion with a part-time job is or more.
Solution. From Examples 1 and 2, is approximately normal with mean and standard deviation .
(using technology with the unrounded standard deviation; the table with gives .)
About of random samples of students would have or more with part-time jobs. That’s not especially unusual.
Example 4: Is the result surprising?
Section titled “Example 4: Is the result surprising?”A bike-share company in Montréal claims that of its members are satisfied with the service. A consumer group surveys a random sample of of the company’s members and finds that are satisfied. If the company’s claim is true, how likely is a sample proportion this low or lower? What does this suggest?
Solution. The sample proportion is .
Assume the claim is true, so . Check the conditions:
- Random: random sample of members.
- 10%: .
- Large Counts: and .
If of members really were satisfied, only about of random samples of would give or fewer satisfied. That’s quite unlikely, so the survey gives some reason to doubt the company’s claim. (This reasoning is the idea behind a significance test for a proportion.)
Common mistakes
Section titled “Common mistakes”Mixing up p and p̂. is the fixed (usually unknown) population proportion; is the proportion in one sample, and it changes from sample to sample. The sampling distribution is the distribution of , and it is centred at .
Using p̂ in the standard deviation formula when p is known. uses the population proportion. In Example 4 the claim gives , so use , not . Likewise, check Large Counts with when is known.
Confusing the 10% condition with Large Counts. The 10% condition is about independence (so the standard deviation formula is right). Large Counts is about shape (so the normal model is right). They answer different questions, so check both.
Thinking a bigger sample fixes bias. A larger random sample reduces variability, but if the sampling method is biased, a larger sample just gives a more precise wrong answer.
Thinking the population size matters a lot. As long as the 10% condition holds, depends on and , not on the population size . A random sample of is about as precise for all of Canada as it is for one large city.
Writing “Large Counts ✓” without numbers. On the AP exam, a condition only counts if you show it: write the products, compare them with , and say what’s being counted.
Practice
Section titled “Practice”1. (Warm-up) A news site reports that of randomly selected Canadian adults say they read the news on their phone every day. Identify the population, the parameter, the sample, and the statistic. Give the value of the statistic using correct notation.
Solution
The population is all Canadian adults. The parameter is the proportion of all Canadian adults who read the news on their phone every day (unknown). The sample is the adults surveyed. The statistic is the proportion of the sample who read the news on their phone daily: .
2. (Warm-up) A fair coin is tossed times, and is the proportion of heads. Find the mean and standard deviation of the sampling distribution of .
Solution
and :
(Coin tosses are independent, so no 10% condition is needed.)
3. (Warm-up) In a large city, of residents are left-handed. Is the sampling distribution of approximately normal for random samples of residents? Explain.
Solution
No. , which is less than , so the Large Counts condition fails. The sampling distribution of is skewed right, so a normal model is not appropriate. ( is fine, but both counts must be at least .)
4. (Core) Suppose of the voters in a large province support a new transit plan. A pollster takes a random sample of voters. Find the probability that less than of the sample supports the plan.
Solution
Conditions: random sample; is less than of the voters in a large province; and . So is approximately normal.
There’s less than a chance that the poll shows less than support.
5. (Core) Suppose of the students at a large university live off campus. For random samples of students, find the probability that the sample proportion who live off campus is between and . (Assume the conditions are met.)
Solution
About of samples give a within percentage points of .
6. (Core) A researcher thinks about of a large population has a certain gene. How large a random sample does she need for the standard deviation of to be at most ?
Solution
She needs at least people (round up, since would give a standard deviation slightly above ).
7. (Core) Three methods are proposed for estimating a population proportion , which is actually . A simulation of many samples gives these results:
| Method | Mean of the estimates | Standard deviation of the estimates |
|---|---|---|
| A | ||
| B | ||
| C |
- (a) Which methods are unbiased? Explain.
- (b) Which method would you choose? Explain.
Solution
(a) A and C. Their sampling distributions are centred at the true value . Method B is biased: on average it underestimates by .
(b) Method C. It is unbiased and has less variability than A, so its estimates are typically closer to . B has the least spread, but it is consistently too low.
8. (Challenge) A provincial report says that of teenagers in the province got a flu shot last year. A nurse at a large high school takes a random sample of of the school’s students and finds that got a flu shot.
- (a) If the report’s figure is true for the school’s students, find the probability of a sample proportion at least this large.
- (b) Does the sample give convincing evidence that more than of the school’s students got a flu shot? Explain.
Solution
(a) . Assume . Conditions: random sample; ; and .
(b) Yes, fairly convincing. If of the school’s students got a flu shot, a sample proportion of or higher would happen in only about of random samples. That’s unlikely to be just chance, so it suggests the proportion at this school is higher than .
9. (Challenge) A school has students. A student council member takes a random sample of students to estimate the proportion who want a longer lunch break.
- (a) Show that the 10% condition fails.
- (b) What is the largest sample size that satisfies the 10% condition?
- (c) When the 10% condition fails, the true standard deviation of is smaller than the formula gives. Explain why this makes sense, thinking about what happens if you sample all students.
Solution
(a) of is , and .
(b) students.
(c) When you sample without replacement from a small population, each student you pick changes who is left, so the sample becomes more and more like the whole population. In the extreme case, a “sample” of all students gives exactly every time, so the standard deviation is , but the formula would still give a positive number. With out of , you’re part of the way there: the formula overstates the variability.
Homework
Section titled “Homework”Try these independently after the practice questions. Show your setup and explain your reasoning. Check every condition with numbers and in context, and interpret your answers in context. Homework solutions are not provided on the published site.
All data in these questions are hypothetical.
Foundations
Section titled “Foundations”H1. (Foundations) For each statement, say whether the bold number is a parameter or a statistic, and give it the right symbol ( or ).
- (a) Of all students who wrote a provincial math test, passed.
- (b) In a random sample of Nova Scotia households, owned an electric vehicle.
- (c) A quality-control inspector finds that of randomly chosen bolts are defective.
H2. (Foundations) Suppose of the adults in a large city walk to work. A researcher takes a random sample of adults.
- (a) Find the mean and standard deviation of the sampling distribution of .
- (b) Check the 10% and Large Counts conditions.
H3. (Core) For the city in H2, find the probability that more than of the sample walk to work.
H4. (Core) A grocery chain knows that of its customers use its loyalty card. A manager plans to take random samples of customers each week.
- (a) Describe the shape, centre, and variability of the sampling distribution of . Justify the shape.
- (b) Interpret the standard deviation in context.
H5. (Core) Suppose exactly half of the people in a large population support a proposal ().
- (a) For random samples of , find , the probability that the sample proportion misses by more than percentage points.
- (b) Repeat for .
- (c) How many times bigger is the sample in (b), and how many times smaller is the standard deviation?
H6. (Core) About of the trees in a large forest are infected with a fungus. A forester plans to take a random sample of trees.
- (a) Explain why a sample of trees would not give an approximately normal sampling distribution for .
- (b) Find the smallest sample size that satisfies the Large Counts condition.
Challenge
Section titled “Challenge”H7. (Challenge) A student was asked: “In a large town, of residents own a dog. For random samples of residents, find .” Here is the student’s work:
The sample had , so .
, so .
- (a) Identify the error.
- (b) Find the correct probability, checking the conditions first.
H8. (Challenge) A ferry company claims that of its sailings leave on time. A passenger group records a random sample of sailings from the past year (the company runs more than sailings a year) and finds that left on time.
- (a) If the company’s claim is true, find the probability of a sample proportion this low or lower.
- (b) Does the sample give convincing evidence that fewer than of sailings leave on time? Explain.
H9. (Challenge) A teacher plans to take random samples of students from a large school board.
- (a) For which values of is the Large Counts condition satisfied?
- (b) For which value of is largest? Find that largest value.
H10. (Challenge) Instead of , some statisticians use the estimator (add successes and failures). Suppose and , where is the number of successes, so has a binomial distribution with mean and standard deviation .
- (a) Find the mean of . Is an unbiased estimator of ?
- (b) Find the standard deviation of , and compare it with the standard deviation of .
- (c) Use your answers to explain the difference between bias and variability.