Censuses, sample surveys, and data collection
Use the same simulated school population to understand probability sampling, nonprobability sampling, and survey errors.
Census and sample survey: survey everyone or only some?
Research question: The school wants to know the monthly living expenses of all its students. The simulated population has 600 students (3 years of study, 30 classes).
- Population size N
- 600
- Actual number surveyed
- 60
- Sample mean (yuan)
- 1666.3
How do they compare?
The true population mean is 1691.0 yuan (shown only for the teaching demonstration). A census obtains data from every student; a sample survey observes only some students.
A census usually costs more and can still have omissions, measurement errors, and processing errors. A sample survey saves resources but involves random sampling error and other survey errors.
60 students selected; some student IDs: S211, S490, S232, S258, S051, S045, S349, S305, S217, S463, S169, S075 …
Probability and nonprobability sampling: what is the difference?
The distinction concerns whether a random selection mechanism is specified in advance and inclusion probabilities can be determined, rather than the sample size.
Probability sampling
Select a sample using a random design in which each population unit has a calculable, nonzero inclusion probability.
Five common probability methods
- Simple random sampling
- Systematic sampling
- Stratified sampling
- Cluster sampling
- Multistage sampling
A necessary reminder
A brief comparison of the two sampling types
| Comparison | Probability sampling | Nonprobability sampling |
|---|---|---|
| Random selection? | Yes, with an explicit random design | Usually not |
| Can population parameters be inferred? | Design-based inference under appropriate conditions | No direct design-based inference; model-based inference needs additional assumptions |
| Can sampling error be calculated? | Random sampling error can usually be estimated from the design | Cannot be reliably estimated directly with probability-sampling formulas |
| Survey cost and implementation difficulty | Usually higher; requires a sampling frame and design management | Usually lower and faster, but not always |
Simple random and systematic sampling
Using the same list of 600 students and the same sample size, see how samples are selected.
60 students selected; some student IDs: S211, S490, S232, S258, S051, S045, S349, S305, S217, S463, S169, S075 …
- Sample size n
- 60
- Sampling fraction
- 10.0%
- Sample mean (yuan)
- 1666.3
Simple random sampling without replacement
Randomly select 60 distinct units from the complete sampling frame, the list from which units are selected. Here, every sample set of size 60 has the same probability of selection.
First-year students: 33%Second-year students: 28%Third-year students: 38%
Stratified sampling: sample from every stratum
Divide the 600 students into 3 strata by year of study, with 200 students in each. Draw a random sample separately within every stratum.
First-year students: 33%Second-year students: 33%Third-year students: 33%
- Total sample size n
- 60
- Unweighted sample mean
- 1705.5
- Mean estimated with population stratum weights
- 1705.5
The key to stratified sampling
Randomly select some units within each stratum. With proportional allocation, each stratum's sample size varies with its population size; the strata here have equal populations, so allocation is equal.
Custom allocation can give different sampling fractions across strata. To estimate the population mean, combine results using population stratum weights (1/3 each here), rather than always taking a simple average directly.
60 students selected; some student IDs: S044, S165, S120, S109, S197, S189, S101, S144, S147, S063, S105, S062 …
Cluster and multistage sampling: select classes or students?
The population has 30 classes of 20 students each. In the first stage, 3 classes are randomly selected.
- Selected classes
- 3
- Students ultimately surveyed per class
- 20 people
- Final sample size
- 60 people
One-stage cluster sampling
Randomly select 3 classes and survey all 20 students in each selected class. Clusters are the units selected, and information is ultimately collected from every student within them.
The key difference between stratified and cluster sampling
Stratified sampling usually selects some units within every stratum. Cluster sampling randomly selects some clusters and surveys every unit within the selected clusters. The presence of “groups” in both does not make them the same method.
Five nonprobability methods: how do respondents enter the sample?
Instead of randomly selecting population units, this section demonstrates different ways of entering a sample: convenient access, subjective judgment, voluntary participation, referrals from acquaintances, and filling quotas.
Scenario 9 · Anchor position: row 5, column 10
Click a student dot to move the anchor. You can also move with the arrow keys, use Home/End to jump to the first/last student, and press Enter or Space to confirm.
S001 · First-year students · Monthly living expenses 790 yuan · Not selected
First-year students: 44%Second-year students: 54%Third-year students: 1%
- Method
- Convenience sampling
- People surveyed
- 70 people
- Sample mean (yuan)
- 1543.0
How are these people selected?
Visit the 70 easily accessible students nearest the “survey anchor.” Click anywhere in the dot grid to move the anchor, or click the button to change the survey location. Students closer to the anchor are more likely to enter the sample; this cannot be treated as a random sample.
Why must inference be cautious?
Sampling and nonsampling errors: why can survey results differ from the truth?
The same simulated population of 600 students has a true mean of 1691.0 yuan. Select different mechanisms and draw new samples to observe the results.
First-year students: 35%Second-year students: 30%Third-year students: 35%
- True population mean
- 1691.0
- Survey mean
- 1693.8
- This estimate − true value
- +2.7
Random sampling variability
Draw a new simple random sample from the complete sampling frame; samples differ each time, so the sample mean may vary.
How do we distinguish them?
Sampling error: Under probability sampling, estimates from different random samples can differ.
Nonsampling error: Problems such as undercoverage, nonresponse, response error, measurement error, or data processing error can also occur in a census.
The displayed difference between one estimate and the population value is not the formally defined standard error. These examples distinguish mechanisms; they do not establish the size of bias.
Compare and choose sampling methods
Review with three questions: Who selects, how are people selected, and how far can inference extend?
Ten common sampling methods
| Probability sampling | Nonprobability sampling |
|---|---|
| Simple random sampling | Convenience sampling |
| Systematic sampling | Judgment sampling |
| Stratified sampling | Voluntary response sample |
| Cluster sampling | Snowball sampling |
| Multistage sampling | Quota sampling |
These are common classifications, not a claim that every sampling design must fit into only one category. Complex survey designs can combine several methods.
Class exercise
Question 1: A school randomly selects 100 students, each with a known, nonzero inclusion probability. Which type is this?
Question 2: A school randomly selects 6 classes, then randomly selects 10 students from each. What sampling method is this?
Question 3: A quota of 20 students is set for each year of study, and surveyors find enough people in the cafeteria. What method is this?
Question 4: Are census results necessarily free of error?
Question 5: Can the 10,000 people who voluntarily complete an online poll be treated directly as a simple random sample for inference about all residents?
Question 6: Under otherwise identical simple random sampling conditions, how does a larger sample size usually affect the typical variability of sampling error?
Correct answers: 0 / 6