Tutorials › Introduction to Statistics › Sampling Bias Versus Sampling Variability

Sampling Methods and Bias · Tutorial 46 of 996

Sampling Bias Versus Sampling Variability

Distinguish the random fluctuation of estimates from the systematic displacement caused by a consistently unrepresentative sampling process.

Beginner 10 min read

What You'll Learn

  • Define sampling variability and sampling bias in terms of repeated sampling.
  • Explain why one estimate’s distance from a population value does not by itself demonstrate bias.
  • Compare the long-run center of an unbiased sampling process with that of a biased one.
  • Calculate the standard error of a sample proportion under simple random sampling without replacement.
  • Explain why increasing sample size can reduce variability without removing selection bias.
  • Separate bias from variability using the mean squared error identity.

Two Reasons a Sample Estimate Can Differ

Suppose two surveys estimate the proportion of students at a university who commute by bus. Their results differ. That difference could arise because each survey happened to select different students, or because the selection process repeatedly favors students who use the bus. The first is sampling variability; the second is sampling bias. Distinguishing them matters because collecting a larger sample can reduce random fluctuation, but it cannot necessarily correct a selection process that systematically misses part of the population.

A useful way to make the distinction is to imagine repeating the same sampling procedure many times, always targeting the same population and calculating the same estimate. The estimates would not usually be identical. Their spread describes the procedure’s sampling variability, while their long-run center indicates whether the procedure tends to estimate the population value accurately.

Definition: Sampling variability is the random variation in a statistic across repeated samples drawn using the same sampling procedure. Sampling bias is the systematic difference between the long-run average of the statistic produced by a procedure and the population parameter it is intended to estimate. A procedure is unbiased for a parameter if that long-run average equals the parameter.

These definitions concern a procedure, not just one observed sample. An estimate can be far from the population value even when its procedure is unbiased; that difference may be a random fluctuation. Conversely, a biased procedure can sometimes produce an estimate close to the truth by chance. One result alone does not reveal which explanation applies.

Repeated Samples and the Long-Run Center

For a fixed population and procedure, imagine drawing repeated samples and calculating an estimate \(T\) each time. The resulting collection of possible estimates is the sampling distribution of \(T\). Its expected value \(E(T)\) is the long-run average estimate. If the target parameter is \(\theta\), the bias of \(T\) is

$$ \operatorname{Bias}(T)=E(T)-\theta. $$

A positive bias means the procedure tends to estimate too high; a negative bias means it tends to estimate too low. If the bias is zero, individual estimates still vary unless the procedure always returns the same value. The standard deviation of the sampling distribution measures that variation. When this standard deviation is called the standard error, it refers to the standard deviation of a statistic’s sampling distribution under the stated model and assumptions, not to the standard deviation of individual observations.

For example, under simple random sampling without replacement from a finite population, every group of \(n\) distinct population members has the same chance of selection. If the population contains \(N\) members and a proportion \(p\) have a specified characteristic, the sample proportion \(\hat{p}\) has expected value \(p\). Its exact variance is

$$ \operatorname{Var}(\hat{p}) =\frac{p(1-p)}{n}\frac{N-n}{N-1}, \qquad SE(\hat{p})=\sqrt{\operatorname{Var}(\hat{p})}. $$

This result assumes a fixed population, a binary characteristic measured without error, and a simple random sample without replacement. The factor \((N-n)/(N-1)\) accounts for sampling a substantial fraction of the population: as the sample approaches the full population, there is less uncertainty from which members were selected. This formula describes variability around \(p\) for that probability sampling design. It should not be applied as if a convenience sample were a simple random sample.

Worked Example: Repeated Estimates From an Unbiased Procedure

Suppose, hypothetically, that 40% of all students at a university commute by bus. Four independent simple random samples are taken, each of 50 students, and the sample proportions are 0.36, 0.48, 0.32, and 0.44. Describe the observed variation and compare the average estimate with the population proportion.

The four results differ, even though they use the same procedure and sample size. Two estimates are above 0.40 and two are below it. None equals 0.40. Their arithmetic average is

$$ \frac{0.36+0.48+0.32+0.44}{4} =\frac{1.60}{4} =0.40. $$

In this particular set of four hypothetical results, two estimates are above 0.40 and two are below it; none equals the average or the target. The average happens to equal the population proportion, but four samples do not prove that every group of four estimates will average to 0.40. Under repeated simple random sampling, the procedure’s expected sample proportion is 0.40; each individual result can fluctuate around that value.

The differences among the four estimates illustrate sampling variability. They do not show sampling bias: the procedure is a simple random sample from the target population, and its long-run average is the population proportion. A different random set of four samples might average above or below 0.40.

How an Unrepresentative Process Shifts the Center

Bias arises when the sampling process systematically gives some parts of the target population less chance of representation than others, or otherwise selects a group that differs in a relevant way. The defining issue is not simply that the sample looks unusual. It is that the procedure’s long-run estimates are displaced from the target parameter.

For a nonprobability process, such as a convenience sample, there may be no known random mechanism from which to calculate a design-based expectation or standard error. We can still describe how a repeated, clearly specified process would behave, but we should not claim that a probability-sampling formula applies. The example below uses random sampling inside a restricted group so that the variation can be calculated separately from the shift caused by restricting who can be selected.

Worked Example: Random Sampling Within a Biased Subset

Consider a hypothetical university population in which 40% of all students commute by bus. A campus survey team recruits only from a location used by a subset of 200 students; 70% of those 200 are bus commuters. The team selects 40 students at random without replacement from that subset and uses their bus-commuting proportion to estimate the proportion among all university students. What is the expected estimate, its bias for the university-wide proportion, and its standard error under this restricted design?

The random selection is from the subset, not from all students. Within the subset, the proportion of bus commuters is \(p=0.70\), so the expected sample proportion is 0.70. The target university-wide proportion is \(\theta=0.40\). Thus the bias for the target is

$$ E(\hat{p})-\theta =0.70-0.40 =0.30. $$

The process overestimates the university-wide proportion by 0.30, or 30 percentage points, on average. This is the systematic displacement associated with sampling only from the more bus-oriented subset. Under simple random sampling without replacement within that subset, the standard error around the subset proportion is

$$ SE(\hat{p}) = \sqrt{\frac{0.70(0.30)}{40}\frac{200-40}{200-1}} = \sqrt{0.00525\left(\frac{160}{199}\right)} \approx \sqrt{0.00422111} \approx 0.06497. $$

The estimate varies from sample to sample, with standard deviation about 0.06497 in proportion units, around 0.70. It does not vary around the target value of 0.40 under this design. A particular sample might produce a proportion nearer to 0.40, but that would not remove the process’s positive bias.

Why a Larger Sample Does Not Automatically Fix Bias

Increasing sample size often reduces sampling variability under a probability design, because the estimate averages information from more sampled units. But a larger sample from the same restricted group can estimate that group’s characteristic more precisely while remaining unrepresentative of the target population. More observations do not compensate for systematically excluding people who differ from those included.

Worked Example: Less Variability, Same Selection Bias

Continue the hypothetical restricted-subset example. The subset contains \(N=200\) students, 70% of whom commute by bus, while the university-wide target proportion remains 0.40. Suppose the team now samples \(n=100\) students at random without replacement from the subset. Calculate the expected estimate, its bias for the university target, and its standard error.

Because selection is still restricted to the same subset, the expected estimate remains 0.70. Its bias for the university-wide proportion is still

$$ E(\hat{p})-\theta =0.70-0.40 =0.30. $$

For the larger sample, the finite-population variance and standard error are

$$ \operatorname{Var}(\hat{p}) =\frac{0.70(0.30)}{100}\frac{200-100}{200-1} =\frac{0.21}{100}\frac{100}{199} \approx 0.001055276, $$
$$ SE(\hat{p}) =\sqrt{\left(\frac{0.21}{100}\right)\left(\frac{100}{199}\right)} =\sqrt{0.001055276\ldots} \approx 0.03249. $$

The standard error is smaller than the value of about 0.06497 for a sample of 40, so estimates fluctuate less around the subset proportion. But the expected estimate is still 0.70, and its bias for the university-wide target is still 0.30. The larger sample improves precision for the subset’s proportion; it does not make the subset representative of all students.

A Useful Summary: Bias and Variability Together

Bias and variability describe different features of an estimator. Bias describes how far its long-run center is from the target. Variance describes how spread out its repeated estimates are around their own long-run center. A procedure can have little bias but high variability, or substantial bias but low variability. In practice, both can matter because an estimate can be inaccurate either by fluctuating widely or by being consistently shifted.

For any estimator \(T\) with finite variance and target \(\theta\), its mean squared error is the expected squared distance from the target. It combines variance and squared bias:

$$ \operatorname{MSE}(T) =E\left[(T-\theta)^2\right] =\operatorname{Var}(T)+\left(E(T)-\theta\right)^2. $$

To verify the identity, add and subtract \(E(T)\) inside the squared difference:

$$ \begin{aligned} E\left[(T-\theta)^2\right] &=E\left[(T-E(T)+E(T)-\theta)^2\right]\\ &=E\left[(T-E(T))^2\right] +2(E(T)-\theta)E[T-E(T)] +(E(T)-\theta)^2\\ &=\operatorname{Var}(T)+0+(E(T)-\theta)^2. \end{aligned} $$

The middle term is zero because \(E[T-E(T)]=0\). This decomposition clarifies why a narrow spread alone is not enough: a tightly clustered set of estimates can still be centered far from the target.

Common Mistake: Treating One Bad Estimate as Proof of Bias

Wrong reasoning: “This sample estimate differs from the population value, so the sampling method must be biased.” This confuses a single outcome with the long-run behavior of the procedure. Even an unbiased random sampling design will usually produce estimates that are not exactly equal to the population parameter.

Correction: Ask what would happen if the same procedure were repeated many times. Random differences among those results are sampling variability. A consistent long-run displacement from the target is bias. Also ask who could be selected and who might be systematically missed; a large sample size alone does not answer that question.

In evaluating a survey, it is therefore useful to describe both the selection process and the uncertainty it creates. A probability sample may have sampling variability even when it is unbiased for the intended parameter. A consistently unrepresentative process may have both variability and bias. Response rates or sample size alone do not establish that the sample’s selection process represents the target population.

Key takeaway: Sampling variability is random spread across repeated samples; sampling bias is a systematic shift in their long-run center relative to the target. A larger sample can reduce variability, but correcting bias requires addressing the process that causes the shift.

Check Your Understanding

Answer each question by distinguishing the sampling process’s long-run behavior from the result of one sample.

  1. A simple random sample produces a proportion slightly above the population proportion. Does that single difference establish bias? Explain.
  2. In a hypothetical population, the target proportion is 0.25, but a repeated restricted sampling process has a long-run mean estimate of 0.40. What is the bias, and in which direction does the process tend to err?
  3. Why might repeated samples from the same unrepresentative subset produce different estimates even though they share the same bias?
  4. A survey samples ten times as many people but uses the same process that excludes a population group. What feature might improve, and what problem might remain?
  5. State the assumptions needed to use the finite-population standard-error formula for a sample proportion.