For the population {2, 4, 6, 8}, list the sample means for all samples of size 2 drawn (a) with replacement, (b) without replacement, and verify E(x̄) = μ and the standard-error formulas.
Sampling theory explains how a well-chosen part can stand for the whole: how to draw random, stratified, systematic or cluster samples, how statistics vary from sample to sample (standard error, central limit theorem), and how z, t and χ² tests judge hypotheses about the population.
The population (universe) is the complete set of units we want to know about — every household in Kerala, every bulb from a production run, every possible toss of a coin. It may be finite (N units) or infinite. Studying every unit is a census (India's decennial Census is the classic example); studying a part is a sample survey. The list from which units are drawn is the sampling frame, and each unit that can be selected is a sampling unit.
| Quantity | Population (parameter) | Sample (statistic) |
|---|---|---|
| Size | N | n |
| Mean | μ | x̄ |
| Variance | σ² | s² |
| Standard deviation | σ | s |
| Proportion | P | p |
| Correlation | ρ | r |
A parameter is a fixed — usually unknown — constant of the population. A statistic is computed from the sample, so it changes from sample to sample: it is a random variable, used as an estimator of the parameter. An estimator is unbiased when its expected value equals the parameter: x̄ is unbiased for μ, and s² = Σ(x − x̄)²/(n − 1) is unbiased for σ², whereas the divisor n underestimates σ² on average.
In probability (random) sampling every unit has a known, non-zero chance of selection. That is what lets us attach a measurable sampling error — a standard error — to every estimate.
| Method | How it works | Best when | Watch out for |
|---|---|---|---|
| Simple random sampling (SRS) | every possible sample of size n is equally likely — lottery method, random-number tables or a computer generator | the population is fairly homogeneous and a frame exists | small subgroups can be missed by chance |
| Stratified random sampling | divide into homogeneous strata (age group, district), then draw an SRS from each stratum | strata differ from one another but are uniform inside | needs stratum information and a choice of allocation |
| Systematic sampling | choose a random start between 1 and k = N/n, then take every k-th unit | an ordered list exists; quick in the field | periodic patterns in the list that match k |
| Cluster sampling | divide into clusters (villages, schools), select whole clusters at random, study every unit in them | units are scattered and no complete list exists | similar units within a cluster raise the sampling error |
| Multistage sampling | sample in stages — districts, then villages, then households | large national surveys such as those of the NSSO | error calculations become more complex |
With or without replacement. In SRS with replacement (SRSWR) a unit can be drawn again, the draws are independent and there are Nⁿ ordered samples. Without replacement (SRSWOR) there are C(N, n) possible samples, each with probability 1/C(N, n), and every unit has inclusion probability n/N. For N = 4 and n = 2 that is 16 ordered samples with replacement but only 6 without.
Allocating a stratified sample. Proportional allocation takes nᵢ = n·Nᵢ/N from stratum i: strata of 2 000, 3 000 and 5 000 units with n = 200 get 40, 60 and 100. Neyman's optimum allocation (1934) takes nᵢ proportional to Nᵢσᵢ, sampling more heavily from strata that are larger or more variable.
| Non-probability method | Description |
|---|---|
| Judgement (purposive) | the investigator hand-picks units believed to be typical |
| Quota | interviewers fill fixed quotas (say 50 men and 50 women) by any convenient means |
| Convenience | whoever is easiest to reach — passers-by, volunteers, an online poll |
| Snowball | existing respondents recruit further respondents (useful for hidden populations) |
These methods are quick and cheap, but the selection probabilities are unknown, so the sampling error cannot be measured and bias can creep in unnoticed. A 2026 question listed judgement, quota, simple random and convenience sampling and asked for the probability method — only simple random qualifies.
Sampling error is the difference between a statistic and the parameter that arises purely because only part of the population was observed. It is random, shrinks as n grows (in proportion to 1/√n), and is absent in a census. Non-sampling errors arise in collecting and processing data — non-response, wrong or untruthful answers, interviewer bias, badly worded questions, an outdated frame, coding and typing mistakes. They occur in censuses too and tend to grow with the scale of the inquiry.
Imagine drawing every possible sample of size n and computing x̄ for each. The distribution of those values is the sampling distribution of x̄, and its standard deviation is called the standard error (SE). Its mean is μ — x̄ is unbiased — and its spread falls as n grows.
The finite population correction (N − n)/(N − 1) is roughly 1 − n/N, so it matters only when the sample is a sizeable fraction of the population; it is usually ignored when n/N is below about 5%. Because SE ∝ 1/√n, halving the standard error needs four times the sample size, and cutting it to a third needs nine times. Worked example 1 below checks these formulas by listing every sample from a tiny population.
Central limit theorem (CLT): if samples of size n are drawn from any population with mean μ and finite standard deviation σ, the sampling distribution of x̄ approaches the normal distribution N(μ, σ²/n) as n grows; n ≥ 30 is the usual rule of thumb. If the population is itself normal, x̄ is exactly normal for every n. Abraham de Moivre proved a first version for coin tossing (1733), Laplace extended it (1810), and Lyapunov (1901) and Lindeberg (1922) gave general proofs; George Pólya named it the central limit theorem in 1920.
Standardising gives z = (x̄ − μ)/(σ/√n), approximately N(0, 1). For μ = 50, σ = 10 and n = 25, SE = 2: P(x̄ > 54) = P(Z > 2) ≈ 0.0228, and P(48 < x̄ < 52) = P(−1 < Z < 1) ≈ 0.6827. The law of large numbers says x̄ → μ as n grows; the CLT describes the shape of the fluctuations around μ.
| Interval around the mean | Probability under the normal curve |
|---|---|
| μ ± 1σ | 68.27% |
| μ ± 1.96σ | 95% |
| μ ± 2σ | 95.45% |
| μ ± 2.58σ | 99% |
| μ ± 3σ | 99.73% |
The null hypothesis H₀ is the statement of “no effect” or “no difference” that is put on trial, such as μ = 500 g. The alternative H₁ is what we accept if H₀ is rejected: two-tailed (μ ≠ 500), right-tailed (μ > 500) or left-tailed (μ < 500). A test statistic is computed from the sample; the level of significance α (usually 5% or 1%) fixes the critical region of values so extreme that H₀ is rejected. The p-value is the probability, under H₀, of a result at least as extreme as the one observed.
| Decision | H₀ actually true | H₀ actually false |
|---|---|---|
| Reject H₀ | Type I error (probability α) | Correct decision (power = 1 − β) |
| Do not reject H₀ | Correct decision (probability 1 − α) | Type II error (probability β) |
| Level α | Two-tailed test | Right-tailed test | Left-tailed test |
|---|---|---|---|
| 5% | reject if |z| > 1.96 | reject if z > 1.645 | reject if z < −1.645 |
| 1% | reject if |z| > 2.58 | reject if z > 2.33 | reject if z < −2.33 |
In quality control a Type I error is the producer's risk (a good lot rejected) and a Type II error the consumer's risk (a bad lot accepted); in a court, convicting an innocent person is Type I and acquitting a guilty one is Type II. For a fixed sample size, lowering α raises β — only a larger sample reduces both.
The t-distribution was published in 1908 by W. S. Gosset under the pen-name “Student”, because his employer, the Guinness brewery in Dublin, did not allow staff to publish under their own names. It is flatter than the normal curve with heavier tails, and approaches the normal as the degrees of freedom grow — which is why z is used for large samples.
The χ² test compares observed counts O with the counts E expected under H₀ — is a die fair, do the data follow a claimed distribution, are two attributes (say gender and preferred stream) independent? The F-test, built on the ratio of two sample variances (R. A. Fisher, G. W. Snedecor), compares variances and underlies analysis of variance (ANOVA).
Try the problem first, then reveal the working one step at a time.
For the population {2, 4, 6, 8}, list the sample means for all samples of size 2 drawn (a) with replacement, (b) without replacement, and verify E(x̄) = μ and the standard-error formulas.
A machine is set to fill packets with a mean of 500 g; the filling SD is known to be 15 g. A sample of 36 packets has a mean of 495 g. Test at the 5% and 1% levels whether the machine is working correctly.
Ten readings of a sensor have mean 52 and standard deviation s = 4 (divisor n − 1). Test H₀: μ = 50 against a two-sided alternative at the 5% level.
A die rolled 120 times shows faces 1–6 with frequencies 25, 17, 15, 23, 24, 16. Test at the 5% level whether it is fair.
A population has σ = 12. Find the standard error of the mean for samples of size 36 (a) from a very large population, (b) drawn without replacement from a population of N = 500.
A party claims 60% support. In a random sample of 400 voters, 54% support it. Test the claim at the 5% and 1% levels (two-tailed).
A systematic sample of 60 is to be drawn from a list of 1 200 households. Find the sampling interval and list the first three and the last selected serial numbers if the random start is 7.
Three strata contain 1 500, 2 500 and 6 000 units. Allocate a total sample of 400 proportionally.
(a) By what factor must the sample size grow to cut the standard error to one-third? (b) A spam filter tests H₀: “the e-mail is legitimate”. Describe its Type I and Type II errors.
10 questions. 70 % passes the topic quiz (+30 XP, +20 more for 100 %). Exam scoring: +1 correct, −⅓ wrong.
Modelled on real KPSC questions (reworded) with the same concept and answer; each links to its original paper.