Sampling Error — Definition, Formula & Examples
Sampling error is the difference between a value you calculate from a sample, such as a sample mean, and the true value for the whole population. It happens by chance, because a sample contains only some members of the population.
Let be a statistic computed from a random sample, used to estimate a population parameter . The sampling error of that sample is . This error is a random variable that changes from one sample to the next. For an unbiased estimator its expected value is . Its typical size is measured by the standard error, the standard deviation of the sampling distribution of .
Key Formula
Where:
- = standard error of the sample mean, the typical size of the sampling error
- = population standard deviation
- = sample size
Worked Example
Problem: A college has students whose mean weekly study time is hours, with population standard deviation hours. You take a random sample of students and get a sample mean of hours. Find the sampling error for this sample and the standard error. Then find the standard error for a sample of students.
Step 1: The sampling error is the sample mean minus the population mean.
Step 2: The standard error tells you how large the sampling error typically is for samples of size 25.
Step 3: Quadruple the sample size to 100. Because sits under a square root, the standard error is cut in half.
Answer: This sample's sampling error is hours, a little larger than the typical hour for . With , the standard error falls to hours.
Why It Matters
Margins of error in election polls are built directly from the standard error. In an introductory statistics course, confidence intervals and hypothesis tests both rely on measuring how much sampling error to expect. Researchers use the formula to choose a sample size large enough to make that error acceptably small.
Common Mistakes
Mistake: Treating sampling error and sampling bias as the same thing, or believing a bigger sample fixes both.
Correction: Sampling error is random. It averages out across samples, and it shrinks as grows. Bias is systematic and comes from a flawed method, such as convenience sampling. A larger biased sample is still wrong in the same direction.
