ExamSaathi learning library · Government exams · SSC CGL quantitative foundations; published syllabus labelled 2024 · Quantitative aptitude
Standard error and sample size: how much sample means vary
See how sample means spread around the population mean, work out the standard error of a mean or a proportion, with the finite population correction for small populations, and find the smallest sample size for a chosen allowed error.
Status: original pilot lesson. Teacher review is pending. It is not a complete course or official exam material.
You will learn to
- State the sampling distribution of the sample mean: it centres on the population mean, its standard error is SD / sqrt(n), and by the central limit theorem it is close to normal for a large sample.
- Calculate the standard error of a sample mean and of a sample proportion, applying the finite population correction when sampling without replacement from a small population.
- Explain why four times the sample size halves the standard error, and use the rule to find the sample needed for a smaller standard error.
- Find the minimum sample size needed to estimate a mean or a proportion within an allowed error E, always rounding up to the next whole number.
Before you start
This lesson assumes you can find the mean and SD of a list of numbers and know the bell shape of the normal curve. Here the population has N units, mean mu and SD sigma, and a random sample of n units gives a sample mean. The letter x only ever means multiply. Imagine taking every possible sample of size n from the same population and working out the mean of each one. These sample means are not all equal; they scatter around the population mean, and their pattern is called the sampling distribution of the sample mean. This lesson measures how wide that scatter is and then uses the answer to decide how large a sample should be. How the units are picked belongs to the sampling methods lesson, and building intervals or testing claims is left to the lessons on those topics.
The sampling distribution of the sample mean
Three facts are stated here without proof. First, the average of all the possible sample means equals the population mean mu, so the sample mean is centred on the right value. Second, the SD of the sample means, called the standard error (SE), is sigma / sqrt(n) when the draws are independent, as in sampling with replacement, and very nearly so when the population is very large. Third, the central limit theorem: when n is large (30 or more is the usual working rule), the sample means follow a curve close to the normal, whatever the shape of the population; if the population itself is normal, the sample means are exactly normal for every n. Keep the two spreads apart. The SD describes how single values differ from each other, while the SE describes how sample means differ from each other, and the SE is the smaller of the two once n is more than 1. If household sizes in a town have SD 2.4 persons, means of samples of 36 households have SE 2.4 / sqrt(36) = 2.4 / 6 = 0.4 persons. Because sqrt(4n) = 2 x sqrt(n), four times the sample halves the SE, and nine times the sample cuts it to one third.
Standard error of a proportion and the finite population correction
For a yes-or-no question, let p be the share of the population answering yes and q = 1 - p. The sample proportion is centred on p and has SE = sqrt(p x q / n). If 40 percent of farmers in a district use drip irrigation, samples of 150 farmers give SE = sqrt(0.4 x 0.6 / 150) = sqrt(0.0016) = 0.04, that is, 4 percentage points. When p is unknown, the sample proportion is used in its place. Both SE formulas assume independent draws. When n units are drawn without replacement from a small population of N units, each draw changes what is left, and the SE becomes smaller: multiply it by the finite population correction sqrt((N - n) / (N - 1)). The factor is close to 1 when the sample is a tiny part of the population (under about 5 percent of N), so it is then usually ignored. If the whole population is taken, n = N and the factor is 0, which fits the fact that a census has no sampling error.
How large a sample: estimating a mean
To make the sample mean land within an allowed error E of the population mean with a chosen probability, require z x SE <= E, that is, z x sigma / sqrt(n) <= E. Solving gives n = (z x sigma / E)^2. Use z = 1.96 for 95 percent: the normal table gives 0.4750 for the area between 0 and 1.96, and 2 x 0.4750 = 0.95. Use z = 2.58 for 99 percent: the area between 0 and 2.58 is 0.4951, and 2 x 0.4951 = 0.9902, about 0.99. The result is seldom a whole number, and it must always be rounded up, because a smaller n would leave the SE a little too large: 311.17 becomes 312, and even 426.01 becomes 427. The value of sigma usually comes from an earlier survey or a pilot study. Two quick rules follow from the formula: halving E multiplies n by 4, and moving from 95 to 99 percent multiplies n by (2.58 / 1.96)^2, about 1.73.
How large a sample: estimating a proportion
For a proportion the same reasoning, z x sqrt(p x q / n) <= E, gives n = z^2 x p x q / E^2. Write p, q and E all as decimals (5 percentage points is E = 0.05) or all as percentages; never mix the two. If an earlier study suggests a value of p, use it. If nothing at all is known, use p = 0.5: the product p x q is largest at 0.5 x 0.5 = 0.25, so this choice gives a sample that is big enough whatever the true share turns out to be. At 95 percent (z = 1.96) with E = 0.05 and p = 0.5, n = 3.8416 x 0.25 / 0.0025 = 384.16, which rounds up to 385. If a pilot survey puts p near 0.2, the product p x q falls to 0.16 and n = 3.8416 x 0.16 / 0.0025 = 245.86, rounded up to 246, a much cheaper survey.
Common mistakes
Dividing the SD by n instead of by sqrt(n). Treating the SE as the spread of single values; it is the spread of sample means. Thinking that doubling the sample halves the SE; it takes four times the sample. Reading the central limit theorem as saying that the data themselves become normal; only the distribution of sample means does. Forgetting the finite population correction when a sizeable part of a small population is drawn without replacement, or using the factor (N - n) / (N - 1) without its square root. Rounding a sample size to the nearest whole number instead of always up. Squaring only sigma, or only z, in n = (z x sigma / E)^2; the whole bracket is squared. Using 1.96 when 99 percent is asked for. Writing E as 5 while p is written as 0.5. Using p = 0.5 when a pilot value of p is given, which usually plans a larger survey than needed.
Routine for standard error and sample size
1. Decide whether the question is about a mean or a proportion. 2. Standard error: sigma / sqrt(n) for a mean, sqrt(p x q / n) for a proportion. 3. If n units are drawn without replacement from a small population of N, multiply by sqrt((N - n) / (N - 1)). 4. To compare two sample sizes, remember that the SE changes with 1 / sqrt(n): four times the sample, half the SE. 5. Sample size: z = 1.96 for 95 percent or 2.58 for 99 percent; n = (z x sigma / E)^2 for a mean and n = z^2 x p x q / E^2 for a proportion, with p = 0.5 if nothing is known. 6. Round up to the next whole number, and check that z times the SE at that n is no more than E.
Worked examples
Three students in a tutorial group at a Madurai college scored 2, 4 and 6 marks in a 10-mark test. Treat these three scores as the whole population, so N = 3. List every sample of size 2 drawn with replacement (order counted) and check that the sample means centre on the population mean with standard error sigma / sqrt(2). Then repeat without replacement and compare the result with the finite population correction.
- Population mean = (2 + 4 + 6) / 3 = 4. Population variance = ((2 - 4)^2 + 0^2 + (6 - 4)^2) / 3 = 8/3, so sigma = sqrt(8/3), about 1.6330.
- With replacement there are 3^2 = 9 ordered samples. Sample and mean: (2, 2) 2; (2, 4) 3; (2, 6) 4; (4, 2) 3; (4, 4) 4; (4, 6) 5; (6, 2) 4; (6, 4) 5; (6, 6) 6.
- Average of the 9 means = (2 + 3 + 4 + 3 + 4 + 5 + 4 + 5 + 6) / 9 = 36 / 9 = 4, the population mean.
- Squared gaps from 4: 4, 1, 0, 1, 0, 1, 0, 1, 4, total 12. Variance of the means = 12 / 9 = 4/3, so SE = sqrt(4/3), about 1.1547. Formula: sigma / sqrt(2) = sqrt(8/3) / sqrt(2) = sqrt(4/3). They agree.
- Without replacement the 3 possible samples {2, 4}, {2, 6} and {4, 6} have means 3, 4 and 5, which again average 4. Their variance is (1 + 0 + 1) / 3 = 2/3, so SE = sqrt(2/3), about 0.8165. Formula with the correction: 1.1547 x sqrt((3 - 2) / (3 - 1)) = 1.1547 x sqrt(0.5) = 0.8165.
Answer: The sample means average 4 marks either way; the standard error is about 1.1547 marks with replacement and about 0.8165 marks without replacement, matching sigma / sqrt(n) and the finite population correction.
In a district of Odisha, the monthly spending of households has SD Rs. 1,800 according to an earlier survey. (a) Find the standard error of the mean spending of a random sample of 225 households. (b) How many households must be sampled so that the sample mean falls within Rs. 200 of the district mean with probability 0.95? Use z = 1.96, the value with area 0.4750 between 0 and z.
- (a) SE = 1800 / sqrt(225) = 1800 / 15 = Rs. 120.
- (b) n = (z x sigma / E)^2 = (1.96 x 1800 / 200)^2.
- 1800 / 200 = 9, and 1.96 x 9 = 17.64.
- 17.64^2 = 311.1696, which is rounded up to 312.
- Check: with 312 households, 1.96 x 1800 / sqrt(312) = 1.96 x 101.9 = 199.7, within Rs. 200. With 311 households it is 200.05, just over the limit.
Answer: The standard error is Rs. 120, and at least 312 households are needed.
An agriculture office in Jalgaon wants the share of farmers who use drip irrigation to within 0.05 (5 percentage points) with probability 0.99. Use z = 2.58, for which the area between 0 and z is 0.4951. (a) How many farmers are needed if nothing is known about the share? (b) How many are needed if a pilot survey suggests a share of about 0.2?
- z^2 = 2.58^2 = 6.6564 and E^2 = 0.05^2 = 0.0025.
- (a) With p = 0.5: n = 6.6564 x 0.5 x 0.5 / 0.0025 = 6.6564 x 100 = 665.64, rounded up to 666.
- (b) With p = 0.2 and q = 0.8: n = 6.6564 x 0.16 / 0.0025 = 6.6564 x 64 = 426.0096, rounded up to 427 even though it is only just above 426.
- The pilot value saves 666 - 427 = 239 interviews.
Answer: 666 farmers are needed with no prior idea of the share, and 427 farmers when the share is expected to be about 0.2.
Practice checks
- Monthly incomes in a town are strongly skewed to the right, with mean Rs. 18,000 and SD Rs. 9,000. Random samples of 225 households are drawn. Which statement describes the sample means?
- Suppose 60 percent of households in a Mysuru ward pay their property tax online. For a random sample of 96 households, what is the standard error of the sample proportion?
- A housing society in Pune has 64 flats, and their monthly water bills have SD Rs. 45. A sample of 36 flats is drawn without replacement. What is the standard error of the sample mean bill?
- A sample of 120 households in Raipur gives a standard error of Rs. 90 for the mean monthly electricity bill. How many households are needed to bring the standard error down to Rs. 45, other things staying the same?
- The daily journey time of Mumbai suburban commuters has SD 15 minutes. How many commuters should be sampled so that the sample mean is within 2 minutes of the true mean with probability 0.99? Use z = 2.58 (the area between 0 and 2.58 is 0.4951).
Sources checked
- SSC CGL Scheme and Syllabus, labelled 2024 — Tier-II Paper-II Statistics (Sampling Theory: sampling distribution (statement only), sample size decisions); not verified as the full 2026-cycle syllabus
- OpenStax, Introductory Statistics 2e — Section 7.1, the central limit theorem for sample means: means of samples of size n centre on the population mean with standard deviation sigma / sqrt(n), the standard error of the mean, and are close to normal for large n; mathematical relationships only
- NIST/SEMATECH e-Handbook of Statistical Methods — Section 7.2.2.2, Sample sizes required: the minimum sample size N >= (1.96 / delta)^2 x sigma^2 for estimating a mean within an error delta with 95 percent probability when the standard deviation is known; mathematical relationships only