Prob. y EstadísticaInferenceS-IC.B.4

Margin of Error and Sample Size

Quadrupling the sample size halves the margin of error.

Sin empezar Ir a la práctica

Esta lección aún no está traducida. Por ahora se muestra en inglés; la versión en español está en camino.

Pollsters choose their sample size before they collect any data. To do that, they turn the confidence interval formula around: they decide how small a margin of error they need and solve for n.

Idea clave

$$\text{ME} = z^*\sqrt{\dfrac{p(1 - p)}{n}}.$$ The margin of error shrinks like $1/\sqrt{n}$: to cut it in half you need four times the sample. The sample size for a margin of error $E$ is $$n = \left(\dfrac{z^*}{E}\right)^2 p^*(1 - p^*),$$ rounded up, where $p^*$ is a guess for $p$ (use $0.5$ if you have none).

Por qué funciona

n sits under a square root, so multiplying n by 4 multiplies $\sqrt{n}$ by 2 and divides the margin by 2. Doubling n only divides it by $\sqrt{2} \approx 1.41$. For the sample size, square both sides of $E = z^*\sqrt{p^*(1 - p^*)/n}$ and solve for n. The guess $p^* = 0.5$ is the safe choice: $p(1 - p)$ is largest at $0.5$ (it equals $0.25$ there), so that n is big enough whatever $p$ turns out to be.
Take 20 samples, then move n from 100 to 400 and take 20 more: the intervals become about half as wide.

Ejemplo resuelto: Scaling the sample

A poll of 600 people has a margin of error of 4 percentage points. What is the margin with 2,400 people? With 1,200?
  1. 2,400 is 4 times 600, so the margin is divided by $\sqrt{4} = 2$: about 2 points.
  2. 1,200 is 2 times 600, so the margin is divided by $\sqrt{2} \approx 1.414$: about $4 / 1.414 \approx 2.8$ points.

Respuesta: About 2 points with 2,400; about 2.8 points with 1,200.

Ejemplo resuelto: Choosing n

How many people must be polled to estimate a proportion within $\pm 0.03$ at 95% confidence?
  1. No prior guess, so $p^* = 0.5$.
  2. $$n = \left(\dfrac{1.96}{0.03}\right)^2(0.5)(0.5) \approx 1067.1$$
  3. Round up to 1,068 (1,067 would give a margin slightly larger than 0.03).

Respuesta: 1,068 people.

Ejemplo resuelto: Using a prior estimate

An earlier study suggests $p \approx 0.2$. How many are needed for $\pm 0.03$ at 95%?
  1. $$n = \left(\dfrac{1.96}{0.03}\right)^2(0.2)(0.8) \approx 682.95$$
  2. Round up: 683. A good guess far from 0.5 saves a lot of sampling.

Respuesta: 683 people.

Error común

Thinking that doubling the sample size halves the margin of error. Because of the square root, doubling n only shrinks it by about 29%; halving it takes 4 times the sample. Check by writing the factor under a square root.
The margin of error covers random sampling variation only. It says nothing about undercoverage, nonresponse or leading questions; a biased poll can be off by far more than its stated margin.

Práctica

Apruebas con 3 respuestas correctas, las 2 últimas seguidas. Cada respuesta correcta da 2 XP.

Cargando la práctica…

Se apoya en

Lleva a

Este es uno de los peldaños más altos de Probabilidad y Estadística.

Fuentes y lecturas

  • OpenStax, Introductory Statistics 2e, section 8.3 A Population Proportion
  • Common Core State Standards for Mathematics, S-IC.B.4