Tutorials › Introduction to Statistics › Comparing Variability for Proportions and Means

Sampling Distributions of Proportions and Means · Tutorial 519 of 996

Comparing Variability for Proportions and Means

Learn how standard errors for proportions and means are calculated, interpreted, and compared without confusing their different units and population quantities.

Intermediate 11 min read

What You'll Learn

  • Identify the population quantity used in each standard error formula.
  • Calculate standard errors for sample proportions and sample means.
  • Distinguish a theoretical standard error from its estimate using sample data.
  • Explain why standard errors have different units for proportions and means.
  • Recognize when the simple formulas require an adjustment for sampling without replacement.

Two Standard Errors, Two Kinds of Measurement

A sample proportion and a sample mean are both statistics that vary from sample to sample. Their standard errors describe the spread of those statistics across repeated samples, but the formulas use different population quantities. A proportion depends on the population proportion \(p\); a mean depends on the population standard deviation \(\sigma\). Their units differ as well: a proportion is a fraction (or can be reported in percentage points), while a mean has the units of the variable being averaged.

Keeping those distinctions clear matters whenever two estimates are compared. A standard error of 0.02 for a proportion and a standard error of 2 for a mean are not directly comparable just because 2 is numerically larger. They measure spread on different scales.

Definition: The standard error of a statistic is the standard deviation of its sampling distribution: the distribution of the statistic over repeated samples taken under the same sampling plan. It describes the statistic's typical spread around its expected value, in the statistic's own units.

The Formulas and Their Population Quantities

For a binary outcome, code each observation as 1 if the outcome is present and 0 otherwise. The sample proportion \(\hat{p}\) is the fraction of observations coded 1. If the population proportion is \(p\), then the variance of one such indicator is \(p(1-p)\). For a sample mean, the relevant population variance is \(\sigma^2\), the variance of the quantitative variable.

Theorem: For independent observations from a population, the standard errors of the sample proportion and sample mean are
$$ SE(\hat{p})=\sqrt{\frac{p(1-p)}{n}} \qquad\text{and}\qquad SE(\bar{x})=\frac{\sigma}{\sqrt{n}}. $$

The first formula applies when each observation records whether a specified outcome occurs, with the same population probability \(p\). The second applies to a quantitative variable with population mean \(\mu\) and finite population standard deviation \(\sigma\). In both cases, the formulas as written assume independent observations, as with independent sampling or sampling with replacement. When sampling without replacement from a finite population, the finite population correction may be needed, as covered in the earlier material on sampling with and without replacement and the finite population correction.

In practice, the population quantities are often unknown. For a proportion, use the observed proportion \(\hat{p}\) in place of \(p\) to estimate the standard error. For a mean, use the sample standard deviation \(s\) in place of \(\sigma\). These give estimated standard errors, not the exact theoretical standard errors:

$$ \widehat{SE}(\hat{p})=\sqrt{\frac{\hat{p}(1-\hat{p})}{n}} \qquad\text{and}\qquad \widehat{SE}(\bar{x})=\frac{s}{\sqrt{n}}. $$

Why the Formulas Differ

The formulas share the factor \(1/\sqrt{n}\), but their numerators describe different kinds of population spread. For a binary indicator, the only possible values are 0 and 1, so its population variance is determined entirely by \(p\): it equals \(p(1-p)\). For a general quantitative variable, values can have many possible magnitudes, and their spread is summarized by \(\sigma\).

The comparison can be justified directly from the variance of an average. For \(n\) independent, identically distributed observations \(X_1,\ldots,X_n\), each with mean \(\mu\) and variance \(\sigma^2\), the sample mean is \(\bar{x}=(X_1+\cdots+X_n)/n\). Independence means the variance of the sum is the sum of the variances:

$$ \operatorname{Var}(\bar{x}) =\operatorname{Var}\left(\frac{1}{n}\sum_{i=1}^n X_i\right) =\frac{1}{n^2}\sum_{i=1}^n\operatorname{Var}(X_i) =\frac{1}{n^2}(n\sigma^2) =\frac{\sigma^2}{n}. $$

Taking the square root gives \(SE(\bar{x})=\sigma/\sqrt{n}\). For a binary indicator \(I_i\), its average is exactly the sample proportion: \(\hat{p}=(I_1+\cdots+I_n)/n\). Since \(P(I_i=1)=p\), its mean is \(p\), and its variance is

$$ \operatorname{Var}(I_i) =E[(I_i-p)^2] =p(1-p)^2+(1-p)(0-p)^2 =p(1-p). $$

Applying the same variance-of-an-average calculation gives \(\operatorname{Var}(\hat{p})=p(1-p)/n\), and therefore \(SE(\hat{p})=\sqrt{p(1-p)/n}\). This also shows that a sample proportion is a special case of a sample mean: it is the mean of 0–1 indicators. In that special case, the mean's population standard deviation is \(\sqrt{p(1-p)}\), so the two formulas agree.

Worked Comparisons

Worked Example: Standard Error of a Sample Proportion

Suppose a hypothetical population has 30% of its members meeting a stated condition. A random sample of \(n=400\) members is taken independently. Find the theoretical standard error of the sample proportion.

Here \(p=0.30\), \(1-p=0.70\), and \(n=400\). The standard error is in proportion units:

$$ SE(\hat{p}) =\sqrt{\frac{p(1-p)}{n}} =\sqrt{\frac{(0.30)(0.70)}{400}} =\sqrt{0.000525} \approx 0.02291. $$

Thus, across repeated independent samples of 400 members, the sample proportions have a standard deviation of about 0.0229, or 2.29 percentage points, around the population proportion of 0.30. This is a theoretical standard error because the example specifies the population value \(p\).

Worked Example: Standard Error of a Sample Mean

In a hypothetical setting, a quantitative measurement has population standard deviation \(\sigma=12.0\) milligrams per liter. An independent sample of \(n=36\) measurements is collected. Find the standard error of the sample mean.

The formula uses \(\sigma\), not the population mean. Substituting gives

$$ SE(\bar{x}) =\frac{\sigma}{\sqrt{n}} =\frac{12.0\ \text{mg/L}}{\sqrt{36}} =\frac{12.0\ \text{mg/L}}{6} =2.00\ \text{mg/L}. $$

The sampling distribution of the sample mean has standard deviation 2.00 mg/L under this model. The standard error retains the measurement's units, so it is reported in milligrams per liter. The population mean determines the center of the sampling distribution, while the population standard deviation determines its spread.

Worked Example: Comparing Different Units

Consider two hypothetical measurements collected from independent samples, each of size \(n=100\). In the first, the population proportion with a binary characteristic is \(p=0.40\). In the second, a quantitative measurement has population standard deviation \(\sigma=15\) minutes. Calculate both standard errors and explain what can be compared.

For the proportion:

$$ SE(\hat{p}) =\sqrt{\frac{(0.40)(0.60)}{100}} =\sqrt{0.0024} \approx 0.04899. $$

This is about 4.90 percentage points. For the mean of the measurement in minutes:

$$ SE(\bar{x}) =\frac{15\ \text{minutes}}{\sqrt{100}} =\frac{15\ \text{minutes}}{10} =1.50\ \text{minutes}. $$

The numerical values 0.04899 and 1.50 do not show that one statistic is more variable than the other: the first is in proportion units and the second is in minutes. Each can be interpreted on its own scale as the standard deviation of its sampling distribution. A meaningful comparison needs a shared scale or a specific practical question, rather than a comparison of the bare numbers.

What Changes With Sample Size?

For a fixed population, both standard errors are proportional to \(1/\sqrt{n}\). If sample size is multiplied by four, the standard error is divided by two. For example, the first worked example's proportion standard error at \(n=400\) is about 0.02291. At \(n=1600\), with the same \(p=0.30\), it is

$$ \sqrt{\frac{(0.30)(0.70)}{1600}} =\sqrt{0.00013125} \approx 0.01146, $$

which is half as large. The same sample-size scaling holds for the mean formula when \(\sigma\) is unchanged. But the formulas do not imply equal standard errors: the spread of the underlying measurements, or the value of \(p(1-p)\), still matters.

For proportions, \(p(1-p)\) is largest when \(p=0.50\) and becomes smaller as \(p\) approaches 0 or 1. Consequently, at a fixed sample size, proportions near 0.50 have greater standard errors than proportions closer to either boundary. For means, the population standard deviation \(\sigma\) sets the scale: a variable measured in larger units or with more population spread can have a larger standard error.

Common Mistakes and a Practical Checklist

A frequent mistake is to compare standard errors as if their numerical values were dimensionless scores. For instance, saying that a mean's standard error of 1.5 is larger than a proportion's standard error of 0.049 does not establish that its sampling distribution is more variable in a meaningful, scale-independent sense. The correction is to state the units and interpret each standard error in context. A proportion's standard error can be converted to percentage points; a mean's standard error remains in the original measurement units.

Another mistake is to use the same population quantity in both formulas. A standard error for \(\hat{p}\) is based on \(p(1-p)\), not on a standard deviation for an unrelated quantitative outcome. A standard error for \(\bar{x}\) uses \(\sigma\), or its estimate \(s\), rather than \(p\). Likewise, distinguish a theoretical calculation using population quantities from an estimate based on sample data.

Before calculating or interpreting either standard error, check the following:

  • Is the statistic a sample proportion for a binary outcome, or a sample mean for a quantitative variable?
  • Does the formula use the appropriate population quantity: \(p\) for a proportion or \(\sigma\) for a mean?
  • Are the observations independent under the sampling plan? If sampling without replacement from a finite population, is a finite population correction needed?
  • Have the result's units been reported and interpreted on the correct scale?

These checks make the comparison precise: both standard errors describe sampling-distribution spread and both shrink at the \(1/\sqrt{n}\) rate under the stated conditions, while their population quantities and units remain distinct.

Check Your Understanding

Answer each question using the formulas and distinctions in this tutorial.

  1. A binary outcome has population proportion \(p=0.25\), and an independent sample has size \(n=100\). What is the theoretical standard error of the sample proportion, in proportion units and percentage points?
  2. A quantitative variable has population standard deviation \(8\) centimeters, and a sample of size 64 is collected independently. What is the standard error of the sample mean, including its units?
  3. Why does the formula for a sample proportion use \(p(1-p)\), while the formula for a sample mean uses \(\sigma^2\) inside its variance calculation?
  4. If sample size is multiplied by four while the population remains unchanged, how does each standard error change under the formulas given?
  5. Why is it not meaningful, by itself, to claim that a standard error of 0.04 for a proportion is smaller than a standard error of 1.2 for a mean?