Data collection and sampling for HSC Maths Standard 2
“Investigate sampling techniques, including census, simple random, systematic and stratified sampling, and identify the target population and sources of bias in data collection”
A census surveys the whole population (exact but only practical when the population is small or accessible); a sample surveys a representative part of it (used when the population is large, a census is too costly, or testing is destructive). The three methods are simple random (equal chance for all), systematic (every th after a random start, with population sample), and stratified (the same fraction from each subgroup, where the sampling fraction is sample population). Bias - selection, self-selection, timing or question-wording - makes a sample misrepresent the population, and a larger sample does not cure it.
What this dot point is asking
NESA wants you to understand how data is gathered before any of it is graphed or summarised, because a conclusion is only as trustworthy as the data behind it. You need to decide when to survey the whole population (a census) and when to survey only part of it (a sample), name and apply the three sampling methods in the syllabus (simple random, systematic and stratified), choose and justify a sample size, and recognise the ways a sample can become biased so that it no longer represents the population. The arithmetic is light - mostly finding a fraction of each group for a stratified sample - so most of the marks reward clear reasoning: identifying the target population, justifying census versus sample, and explaining exactly why a particular method is or is not fair.
The answer
Almost every study starts with one decision: do you collect data from everyone, or from a representative few? A census collects data from every member of the population. A sample collects data from a chosen subset and uses it to estimate what the whole population is like. The group you ultimately want your results to describe is the target population, and the whole point of sampling is to pick a sample that mirrors that population, so that what is true of the sample is also true of the population.
Census versus sample
A census surveys the entire population. It gives an exact answer with no sampling error, but it is only practical when the population is small and easy to reach. The Australian Bureau of Statistics runs a national Census every five years, which shows both the value (a complete picture) and the cost (it is a huge, expensive national exercise).
A sample surveys only part of the population. You use a sample when:
- the population is too large to survey everyone (for example, all Australian voters),
- a census would be too expensive or too slow, or
- the testing is destructive, so testing every item would destroy the whole product (matches, light globes, crash-tested cars).
The trade-off is sampling error: because you did not ask everyone, the sample result is an estimate, not the exact truth. A good sampling method and a large enough sample keep that error small.
A census collects data from every member of the population; a sample collects data from a representative part of it. Use a census when the population is small and accessible; use a sample when the population is large, when a census is too costly or slow, or when testing is destructive. A sample must represent the target population - the whole group the results are meant to describe.
The three sampling methods
NESA names three ways to choose a sample. Each aims to be fair, but they differ in how they do it.
- Simple random sampling. Every member of the population has an equal chance of being chosen, like drawing names from a hat. In practice you number every member and use a random number generator. It is fair and unbiased, but you need a full list of the population, and by chance it may under-represent a small subgroup.
- Systematic sampling. You order the population, choose a random starting point, then select every th member. The step is the population size divided by the sample size. For a sample of from people, , so you take every th person. It is quick and easy, but it fails if the list has a repeating pattern that lines up with .
- Stratified sampling. You split the population into strata (non-overlapping groups such as year levels, age bands or suburbs), then take the same fraction from each stratum, so every group is represented in its correct proportion. This is the fairest method when the population has clear subgroups of different sizes, but it needs you to know the size of each stratum.
Designing a stratified sample
Stratified sampling is the method NESA examines most, because it involves a calculation. The idea is simple: each stratum should contribute to the sample in the same proportion as it appears in the population. The tool is the sampling fraction:
Multiply each stratum's size by this fraction to get the number to take from that stratum. The diagram below traces the whole process - the population splits into strata, and each stratum passes the same fraction of itself into the sample.
The check at the end is the habit to build: the numbers you take from the strata must add up to the sample size you wanted. If they do not, recompute the fraction.
Sample size
A bigger sample generally gives a more reliable estimate, because random sampling error shrinks as the sample grows. But a bigger sample also costs more time and money, so you balance accuracy against cost. There is no single "correct" size in Standard 2; what matters is that the sample is large enough to be reliable and is chosen by a fair method. A small sample, or a large sample chosen by a biased method, is worse than a modest sample chosen well.
Bias: when a sample stops representing the population
Bias is any systematic tendency for a sample to differ from the population, so that it consistently over- or under-states the truth. Bias is not bad luck; it is a flaw built into how the data was collected, and a larger sample does not fix it. The common sources are:
- Selection (coverage) bias. The method leaves part of the population out or over-includes another part - surveying only shoppers at one shopping centre, or sampling one suburb to speak for a whole town.
- Self-selection (voluntary-response) bias. Only people who choose to respond are counted - phone-in polls and click-to-vote web surveys, where people with strong opinions are far more likely to take part.
- Timing or convenience bias. Surveying at a time or place that misses whole groups - a weekday-morning survey misses full-time workers and students; sampling only your friends is a convenience sample.
- Question-wording bias. A leading or loaded question pushes people toward an answer - "Do you support the wasteful new tax?" invites a no.
The cure for bias is a fair, random method applied to the whole target population, with neutral wording.
How exam questions ask about sampling
The wording tells you which part of the dot point is being tested:
- "Would a census or a sample be more appropriate? Justify your answer." Decide on size, cost and whether testing is destructive, then give a one-line reason.
- "Identify / name the sampling method." Match the description: a random start then every th is systematic; equal chance for all is simple random; same fraction from each group is stratified.
- "Calculate how many should be selected from each ..." This is a stratified-sample calculation: find the sampling fraction, multiply each stratum by it, and check the parts sum to the sample size.
- "Identify the (target) population." State the entire group the results are meant to describe (all students at the school, all residents of the town).
- "Explain why this method is biased" or "give a source of bias." Name the type of bias and say which group is over- or under-represented and why the result cannot be generalised.
Three worked examples covering the three things exams ask: choosing census or sample with a reason, designing a stratified sample with correct proportions, and identifying bias in a survey method.
Choose a census or a sample, with justification
A car manufacturer wants to know (i) the average paint thickness on every car of a model leaving the factory this year, and (ii) how many kilometres a tyre lasts before it is no longer roadworthy. For each, decide whether a census or a sample is appropriate and justify it.
- Part (i) paint thickness
- Measuring paint thickness does not damage the car, but the model has many thousands of cars produced over a year, so measuring every one is slow and costly for little extra benefit. A sample chosen by a fair method estimates the average accurately at a fraction of the effort.
- Part (ii) tyre life
- Finding how long a tyre lasts means wearing it out completely, so the test is destructive - a tested tyre is ruined and cannot be sold. Testing every tyre would destroy all of them, so a sample is the only option.
- Answer
- Both call for a sample: the first because a census would be needlessly expensive, the second because the test is destructive.
Design a stratified sample with the correct proportions
A high school has students: in Year , in Year , in Year , in Year and in Year . The school council surveys a stratified sample of students. Find how many to survey from each year group.
Find the sampling fraction.
so one in every twenty students is chosen (divide each year group by ).
Multiply each stratum by the fraction.
Check the total. , which is the required sample size, so the split is correct. Survey Year s, Year s, Year s, Year s and Year s. Notice each year group keeps its share: Year is of students (three-tenths) and gets of the in the sample (also three-tenths).
Identify the bias in a survey method
To estimate the average number of hours per week that all residents of a city exercise, a researcher stands outside a gym on a Saturday morning and surveys people as they leave.
- Identify the population and the sample
- The target population is all residents of the city. The sample is people leaving one gym on a Saturday morning.
- Name and explain the bias
- This is selection (convenience) bias. People leaving a gym are far more active than the average resident, so the sample over-represents exercisers and the estimated weekly hours will be too high. People who never exercise - exactly the ones who pull the average down - have no chance of being surveyed.
- State the consequence
- Because the flaw is in how the sample was chosen, surveying more people outside the same gym would not fix it. A fair estimate needs a random sample drawn from all residents, not just gym-goers.
Calling a survey of "everyone in a group" a census of the wrong population. A census is of the whole target population. Asking every member of a club is a census of the club, but only a sample of the wider community the club sits in.
- Forgetting the destructive-testing case
- If testing destroys the item (matches, globes, tyres, crash tests), a census is impossible, so a sample is forced - this is a favourite exam reason.
- Getting the sampling fraction upside down
- The fraction is sample population, not population sample. For from it is , so you multiply each stratum by (or divide by ), never by .
- Not checking the strata add to the sample size
- Always confirm the parts total the required sample; if they do not, the fraction or the arithmetic is wrong.
- Thinking a bigger sample removes bias
- A larger sample shrinks random sampling error but does nothing about bias: a million voluntary online votes are still self-selected and unrepresentative.
For "census or sample", name the deciding factor explicitly - population size, cost, or destructive testing - because that reason is where the mark sits. For a stratified-sample question, write the sampling fraction as a line of working ("") before any multiplying; it earns method marks even if a later number slips, and always finish by checking the strata sum to the sample size. When asked about bias, do not just write "biased": name the type, say which group is over- or under-represented, and state that the result cannot be generalised to the population. If a question asks you to identify the target population, answer with the whole group the conclusion is meant to cover, in plain words.
Imagine you have made a huge pot of soup and want to know if it needs more salt. You do not drink the whole pot - you stir it well and taste one spoonful. That spoonful is a sample, and stirring first is what makes it fair, because it gives you a little bit of everything. If you only sip the thin liquid off the top without stirring, you get a biased taste that misses all the chunky bits at the bottom, and tasting more unstirred sips will not fix it. Stratified sampling is like deliberately making sure your spoon catches some carrot, some meat and some potato in the same proportions as the whole pot. Sometimes the pot is tiny, just one bowl, and then you can simply taste all of it - that is a census.
Exam-style questions
Questions in the style of NESA exam questions on this dot point, each with a worked answer. They are written by ExamExplained unless tagged "Past paper"; the year shows the paper a question is modelled on.
2021 HSC-style3 marksA company has employees: at its Sydney office, at its Melbourne office and at its Brisbane office. Management surveys a stratified sample of employees. Calculate how many employees should be surveyed from each office.Show worked answer →
Find the sampling fraction first: . One mark is for this fraction (or equivalent, such as dividing each office by ).
Apply it to each stratum: Sydney ; Melbourne ; Brisbane . One mark for the three correct numbers.
The final mark is for a correct method shown and a check that the parts total the sample: . A common error is multiplying by instead of by , or not checking the total - markers look for the fraction stated and the sum verified.
2022 HSC-style4 marksA local newspaper prints a survey form and invites readers to fill it in and mail it back. From the replies it reports that of the town opposes a proposed shopping centre. (a) Identify the target population. (b) Name the type of bias present. (c) Explain why the figure may not represent the views of the town. (d) Suggest a better sampling method.Show worked answer →
(a) The target population is all residents (or all eligible voters) of the town - one mark.
(b) Self-selection (voluntary-response) bias, because only readers who chose to return the form are counted - one mark.
(c) Markers reward an explanation that those who reply are not representative: people with strong (often negative) views are far more likely to bother replying, and only newspaper readers see the form, so the sample is skewed and cannot be generalised - one mark.
(d) A simple random or stratified sample of residents drawn from the whole town (for example using the electoral roll and a random selection) - one mark. The strongest answers name a random method AND tie it back to covering the whole target population.
2023 HSC-style3 marksFor each situation, state whether a census or a sample is more appropriate and give a reason. (a) A school wants the opinion of its students on a new uniform. (b) A factory wants to know the average lifetime of the batteries it produces. (c) The government wants the average household size across Australia.Show worked answer →
One mark each for a correct choice WITH a valid reason.
(a) Census: the population is small and easily reached ( students in one school), so surveying everyone is feasible and exact.
(b) Sample: testing a battery's lifetime is destructive (the battery is used up), so a census is impossible.
(c) Sample: the population (every Australian household) is far too large and costly to survey in full for this purpose. Markers do not award the mark for the choice alone - the reason must match the situation (size/cost for (a) and (c), destructive testing for (b)).
Practice questions
Original practice questions graded from foundation to exam level, each with a full worked solution. Try them before revealing the solution.
foundation2 marksA school principal wants to know the favourite sport of every student at a school of students. (a) Would a census or a sample be more appropriate? (b) Give one reason for your choice.Show worked solution →
Part (a) - decide census or sample. A census asks every member of the population; a sample asks a chosen part of it. The population here is small and easy to reach (one school, students), so a census is appropriate.
Part (b) - justify the choice. Because the whole population is small and accessible (the students are all in the one place), surveying everyone is quick, cheap and gives an exact answer with no sampling error. (If the population had been every student in NSW, a sample would have been the sensible choice instead.)
foundation2 marksA manufacturer tests whether each match in a box of matches lights. Explain why a sample, not a census, must be used here.Show worked solution →
Identify what testing does to the item. Striking a match to test it uses the match up, so the test is destructive: a tested match can no longer be sold.
Conclude. A census would destroy every match in production, leaving nothing to sell, so the manufacturer must test only a sample and use the result to judge the whole batch. (Destructive testing - matches, light globes, crash-testing cars - always forces a sample.)
foundation3 marksA factory produces light globes a day. A quality inspector tests every th globe coming off the line. (a) Name this sampling method. (b) How many globes are tested each day? (c) State one advantage of this method.Show worked solution →
Part (a) - name the method. Choosing every th item in order is systematic sampling: a starting point is chosen and then every th member is selected.
Part (b) - count the sample. Testing every th of globes gives
so globes are tested each day.
Part (c) - one advantage. It is simple and quick to run on a production line (you just count off the items), and it spreads the sample evenly across the whole day's output. (A risk to note: if a fault repeats every th globe, systematic sampling could miss it or hit it every time.)
core4 marksA gym has members: aged under , aged to , and aged over . Management surveys a stratified sample of members. How many members should be chosen from each age group?Show worked solution →
Find the sampling fraction. A stratified sample takes the same fraction from each group (stratum). The fraction is the sample size over the population:
so of each group is chosen (equivalently, divide each group by ).
Apply the fraction to each stratum.
Check the parts add to the sample size. , which matches the required sample of , so the split is correct. Choose members aged under , aged to and aged over .
core3 marksA radio station asks listeners to phone in to vote on whether a new freeway should be built. Of those who call, say no. (a) Identify the type of bias in this survey. (b) Explain why the may not reflect the views of the whole community.Show worked solution →
Part (a) - name the bias. The sample is made up only of people who chose to ring in, so this is self-selection (voluntary-response) bias.
Part (b) - explain it. People who phone a talkback line are not a random cross-section of the community: those with strong feelings (especially those opposed) are far more likely to bother calling, and listeners of that one station are not all residents. The therefore measures the views of motivated callers, not the whole community, so it cannot be generalised. (A fair result would need a random sample of all affected residents.)
exam5 marksA council wants to gauge support for a new library among the residents of a town. The town has three suburbs: Northvale ( residents), Riverside () and Hilltop (). The council will survey a stratified sample of residents. (a) Explain why a sample rather than a census is sensible here. (b) Calculate how many residents to survey from each suburb. (c) The council's first plan was to survey shoppers at the Northvale shopping centre one weekday morning. Give two reasons this plan would be biased.Show worked solution →
Part (a) - census or sample. With residents a census would be slow and expensive to organise and process, and a well-designed sample of can estimate the level of support accurately, so a sample is the sensible choice.
Part (b) - stratified split. The sampling fraction is
so take of each suburb:
Check: , the required total, so survey from Northvale, from Riverside and from Hilltop.
Part (c) - two reasons the first plan is biased. First, sampling only at the Northvale shopping centre over-represents Northvale residents and under-represents Riverside and Hilltop, so the sample is not representative of the whole town (a coverage problem). Second, surveying on a weekday morning misses people who are at work, at school or away during those hours, so groups such as full-time workers and students are systematically left out (selection/timing bias). Either of these means the result would not generalise to all residents.
exam5 marksA school of students is made up of in Year , in Year , in Year , in Year and in Year . The Student Representative Council surveys a stratified sample of students. (a) Find the number surveyed from each year group. (b) The SRC instead suggests just surveying its own members. Identify the target population and explain why the SRC plan would give biased results. (c) Suggest a fairer method that is simpler to run than full stratified sampling, and state one drawback of it.Show worked solution →
Part (a) - stratified split. The sampling fraction is
so take of each year group:
Check: , the required sample, so survey , , , and students from Years to respectively.
Part (b) - target population and bias. The target population is all students at the school. Surveying only the SRC members samples a special subgroup (students engaged enough to be elected to the council), not a cross-section of the school, so their views are unlikely to match the whole student body. This is selection bias, and the result cannot be generalised to all students.
Part (c) - a fairer, simpler method. A simple random sample of students drawn from the full roll (for example by assigning every student a number and using a random number generator) is fair and easier to organise than splitting by year. One drawback is that, by chance, a random sample might pick very few students from a small year group, so the year groups may not be represented in the right proportions the way stratified sampling guarantees.