Populations and samples
In Year 12 Mathematical Methods (Queensland, QCAA), a population parameter is a fixed number describing the whole population — for a proportion it is \(p\), the true (usually unknown) proportion. A sample statistic is computed from a sample: the sample proportion \(\hat p=\dfrac{X}{n}\) estimates \(p\) but varies from sample to sample. A random sample gives every member an equal chance, which avoids bias so that \(\hat p\) is likely to be close to \(p\).
A population is the whole group we want to know about; a sample is the part of it we actually examine. A number that describes the population is a parameter; a number worked out from the sample is a statistic. For a proportion, the parameter is \(p\), the true proportion of the population with a feature, and the statistic is the sample proportion \(\hat p=\dfrac{X}{n}\), where \(X\) is the number of successes in a sample of size \(n\).
The key distinction is that \(p\) is fixed (one value for the whole population, usually unknown) while \(\hat p\) varies: take a different sample and you generally get a different \(\hat p\). We use \(\hat p\) as an estimate of \(p\). This spread of \(\hat p\) between samples is called sampling variability.
How the sample is chosen decides whether \(\hat p\) is trustworthy. In a simple random sample every member of the population is equally likely to be chosen, which keeps the sample representative. Methods that are not random introduce bias: a convenience sample (only easy-to-reach members), a voluntary response sample (only people who choose to reply) or any other non-random selection systematically pushes \(\hat p\) above or below \(p\).
The sample proportion (successes over sample size):
Parameter versus statistic:
The sample proportion estimates the population proportion, and its value depends on the sample:
How to work with populations and samples
- Identify the parameter and the statistic. The true proportion for the whole population is \(p\) (fixed); the proportion from a sample is \(\hat p\) (varies).
- Compute the sample proportion. \(\hat p=\dfrac{X}{n}\) — number of successes over sample size.
- Check how the sample was chosen. A simple random sample (every member equally likely) is unbiased; a convenience or voluntary-response sample is biased.
- Judge the estimate. If the method is random, \(\hat p\) should be close to \(p\); if it is biased, \(\hat p\) will systematically over- or under-state \(p\).
- Remember variability. A different random sample gives a different \(\hat p\); the parameter \(p\) does not change, only the statistic does.
The sample proportion is successes over sample size.
| \(\hat p\) | \(=\) | \(\dfrac{X}{n}=\dfrac{80}{200}\) |
| \(\hat p\) | \(=\) | \(0.4\) |
So \(\hat p=0.4\).
The \(8\%\) is the population value; \(\hat p\) comes from the sample.
| \(p\) | \(=\) | \(0.08\) (population parameter) |
| \(\hat p\) | \(=\) | \(\dfrac{3}{50}=0.06\) |
Only \(\hat p\) changes with the sample; \(p\) is fixed.
Only listeners who chose to call are included.
| \(\hat p\) | \(=\) | \(\dfrac{350}{500}=0.7\) |
| sample | \(=\) | voluntary response |
It is self-selected and biased, so \(0.7\) is unreliable.
Divide each count by \(25\); the values differ.
| \(\hat p_1\) | \(=\) | \(\dfrac{5}{25}=0.2\) |
| \(\hat p_2\) | \(=\) | \(\dfrac{8}{25}=0.32\) |
| \(\hat p_3\) | \(=\) | \(\dfrac{6}{25}=0.24\) |
Different samples give different \(\hat p\): sampling variability.
Common pitfalls
Frequently asked questions
What is the difference between a parameter and a statistic?
A parameter describes the whole population and is fixed (the true proportion \(p\)); a statistic is calculated from a sample (the sample proportion \(\hat p\)) and varies between samples.
How do you calculate a sample proportion?
\(\hat p=\dfrac{X}{n}\), the number of successes divided by the sample size. For \(80\) of \(200\), \(\hat p=0.4\).
What is a random sample and why does it matter?
One in which every member has an equal chance of selection. Randomness avoids bias, so \(\hat p\) is likely to be close to \(p\).
What are sources of bias?
Convenience samples (only easy-to-reach members), voluntary response samples (only those who choose to reply) and other non-random methods all bias \(\hat p\).
What is sampling variability?
Different random samples give different \(\hat p\). The parameter \(p\) is fixed; only \(\hat p\) changes, scattered around \(p\).
What is a simple random sample?
One where every member of the population is equally likely to be chosen — e.g.\ number the population and use a random number generator.