📖 Contents · Hub · Full version Chapter 9 · Confidence Intervals
Statistics Easy Read · Chapter 9

Confidence Intervals

A sample can tell you what it saw, but it cannot tell you the exact truth about the whole population. A confidence interval is the honest way to report that gap. Instead of a single number that is almost surely a little wrong, you report a range of believable values, along with how confident the method is. The recipe is short enough to memorize in one line: take your best estimate and stretch it by a margin of error. This chapter builds that line from scratch and works the math for means and for proportions. It shows just what makes an interval wide or narrow. And it teaches the part most people get wrong: how to say what “95% confident” really means.

By the end of this chapter you can

  • Explain why a point estimate alone is not enough, and describe a confidence interval as estimate ± margin of error.
  • Name the three moving parts of every interval: the point estimate, the critical value and the standard error.
  • Build a confidence interval for a population mean, using z when σ is known and t when it is not.
  • State the degrees of freedom for a one sample t interval, and explain why the t distribution has heavier tails than z.
  • Build a confidence interval for a population proportion, and check its conditions before you trust it.
  • Predict how the interval changes when the confidence level, the sample size or the variability changes.
  • Solve for the sample size needed to hit a target margin of error.
  • Write a correct reading of a 95% confidence interval, and spot the four classic wrong ones.

Section 1The idea of a confidence interval

A point estimate shown as a single dot compared with an interval estimate shown as a range around it
Reference. Point estimation versus interval estimation: a single best guess compared with a range of believable values for the same parameter. Source and license: see the figure credits

Why a single number is never enough

Say you want to know the average number of hours adults in a small city sleep each night. You cannot ask all 24,000 of them, so you take a random sample of 25 and work out a sample mean of 6.8 hours. That 6.8 is a point estimate. It is a single number, worked out from a sample, offered as your best guess for the parameter. Here the parameter is the true population mean μ, which you will never see directly.

Here is the uncomfortable truth about point estimates: yours is almost surely wrong. It is not badly wrong, and not wrong on purpose, but simply wrong. A different random sample of 25 adults would have given 7.1, and another would have given 6.5. The estimate moves around from sample to sample. That movement is called sampling error. It is not a mistake you made; it is the price you cannot avoid for looking at a part instead of the whole.

So reporting “6.8 hours” with a straight face overstates what you know. Reporting “somewhere between 6.1 and 7.5 hours, and here is how sure I am of that method” is honest. That second statement is a confidence interval: an interval estimate for a parameter, paired with a stated confidence level.

The one-line recipe

Every confidence interval at this level is built from the same skeleton. That holds for a mean, for a proportion and for a difference between two groups:

point estimate ± margin of error

And the margin of error is itself always the same two things multiplied together:

margin of error = (critical value) × (standard error of the estimate)

The standard error measures how much your estimate bounces around from sample to sample. It is the standard deviation of the estimate's sampling distribution. The critical value (written z* or t*) is a multiplier. It is chosen so that the interval is wide enough to succeed as often as your confidence level demands. Want more confidence? Use a bigger multiplier. That is the whole machine. Everything else in this chapter fills in those two blanks for one kind of problem at a time.

Why does this work at all? Because of the Central Limit Theorem from the last chapters. For a large enough sample, the sampling distribution of the sample mean is about normal and centered on the true parameter. Say the estimate lands within about 1.96 standard errors of the truth about 95% of the time. Then reaching out 1.96 standard errors from the estimate will catch the truth about 95% of the time. The interval is the sampling distribution read backward.

Parameter (unknown)SymbolPoint estimateStandard error of the estimate
Population meanμx̄ (sample mean)σ/√n if σ known; s/√n if not
Population proportionpp̂ (sample proportion)√[p̂(1 − p̂)/n]
Population standard deviationσs (sample SD)(not covered here)
Difference of two meansμ1 − μ2x̄1 − x̄2√[s12/n1 + s22/n2]

Reading an interval out loud

An interval has a center (your point estimate), a half width (the margin of error) and two endpoints. Say a poll reports “54% approve, margin of error 3 percentage points.” Then the interval is 51% to 57%, the center is 54% and the half width is 3. Notice that the width of the whole interval is twice the margin of error, a difference that trips people up all the time. A margin of error of 3 points gives an interval 6 points wide.

One more habit is worth building now. A confidence interval is a statement about a parameter, not about one person. An interval of 6.1 to 7.5 hours is about the population's average sleep. It says nothing about whether any one person sleeps in that range, and most of them will not. The tool for single people is a prediction interval, and it is much wider.

Every interval you will ever build is the same sentence. It is the estimate, plus or minus the critical value times the standard error. When a new interval shows up later, such as two proportions, a regression slope or a paired difference, do not memorize a new formula. Ask three questions: what is my estimate, what is its standard error and which table gives me the multiplier? The skeleton never changes.
Interactive Draw real samples and watch each confidence interval get built out of its own data as estimate ± z*·σ/√n, then stack hundreds of repeats to see that the confidence level describes the procedure, not any single interval, and that the margin covers sampling wobble and nothing else. Open full ↑
Key points
  • A point estimate is a single number guess for a parameter. It varies from sample to sample because of sampling error.
  • A confidence interval is point estimate ± margin of error, reported with a stated confidence level.
  • Margin of error = critical value × standard error. The standard error measures how much the estimate bounces from sample to sample.
  • The width of an interval is twice the margin of error, and the interval describes a parameter, never one person.

Section 2A confidence interval for a mean

The standard normal curve overlaid with a Student t curve showing the t distribution's heavier tails
Reference. The standard normal distribution compared with Student's t distribution. They have the same bell shape, but t is shorter in the middle and heavier in the tails. Source and license: see the figure credits

When σ is known: the z interval

Start with the easier case. It almost never happens in real life, but it makes the logic easy to see. Say the population standard deviation σ is truly known. Think of a filling machine whose long run spread the maker has measured over millions of bottles. Then the standard error of the sample mean is exactly σ/√n, and the interval is

x̄ ± z* · (σ/√n)

Here z* is the value that cuts off the middle part of the standard normal curve matching your confidence level. For 95%, that value is 1.96, the number worth memorizing.

Worked example. A bottling line fills 500 mL bottles. The machine's long run standard deviation is known to be σ = 4 mL. A quality inspector pulls a random sample of n = 36 bottles and finds x̄ = 502 mL. Build a 95% confidence interval for the true mean fill volume μ.

The 95% confidence interval is 500.69 mL to 503.31 mL. 500 mL falls just outside this interval. So a true mean of exactly 500 mL is not among the believable values this sample supports, and the data do give evidence, at the 5% level, that the machine is off target. Notice how narrowly it misses. Had the sample mean been 501 mL, the interval would have run from 499.69 to 502.31, and 500 would have been well inside.

When σ is unknown: the t interval

In practice, you almost never know σ. You estimate it with the sample standard deviation s, which adds a second source of uncertainty. Not only is x̄ a noisy estimate of μ, but s is a noisy estimate of σ. If you simply swapped in s for σ and kept using 1.96, your intervals would be a little too narrow. They would catch the truth less than 95% of the time.

William Gosset solved this in 1908, publishing under the pen name “Student.” His fix was a new family of curves, Student's t distribution. These look like the normal curve but have heavier tails, which gives slightly larger critical values and slightly wider intervals. Just how much heavier depends on the degrees of freedom, df = n − 1. Small samples give few degrees of freedom, fat tails and big multipliers. Large samples give many degrees of freedom, and t comes closer and closer to z.

x̄ ± t*n−1 · (s/√n)

Worked example. A random sample of n = 25 adults completes a reaction time task. The sample mean score is x̄ = 78.4, with a sample standard deviation of s = 9.0. Build a 95% confidence interval for the population mean μ.

The 95% confidence interval is 74.68 to 82.12. Notice what the correction cost. Had you carelessly used z* = 1.96, the margin would have been 3.53 and the interval 74.87 to 81.93. That is clearly too narrow, and too confident.

Conditions, and how t collapses into z

Any interval for a mean, the z version and the t version alike, rests on two assumptions. You should state and check them before you trust the math in either worked example above. First, the data must come from a random sample (or a randomized experiment), and the observations must be independent. When sampling without replacement, a practical check is that the sample is less than 10% of the population. Second, the sampling distribution of x̄ must be about normal. That holds if the population itself is about normal. Thanks to the Central Limit Theorem, it also holds if n is large enough. (n ≥ 30 is the usual rule of thumb, and more is needed if the data are badly skewed or have outliers.)

The table below shows the 95% critical value shrinking toward 1.96 as the sample grows. This is why software uses t for everything. With n = 100, the difference between 1.984 and 1.960 is tiny, but with n = 10 it is not.

Sample size ndf = n − 1t* at 95%z* at 95%How much wider is t?
542.7761.960+42%
1092.2621.960+15%
25242.0641.960+5%
50492.0101.960+3%
100991.9841.960+1%
very large→ ∞→ 1.9601.9600%
If you had to work out s, you must use t. That is the whole rule, and it is easier than any flowchart. If σ is handed to you from outside the data, use z. If the standard deviation was worked out from the sample you are studying, use t with df = n − 1. Using z with a small sample is one of the most common errors on statistics exams. It always errs in the same direction: too narrow and too confident.
Interactive Draw real samples and watch a confidence interval for a mean get built out of them, xÌ„ ± (multiplier × standard error), switching between the z case where σ is known and the t case where σ must be estimated with s on n − 1 degrees of freedom, then run 2,000 simulated studies to see which multiplier actually keeps its promise. Open full ↑
Key points
  • σ known: x̄ ± z*(σ/√n). σ unknown: x̄ ± t*(s/√n), with df = n − 1.
  • The t distribution has heavier tails than z, which widens the interval to pay for estimating σ.
  • As n grows, t* comes closer and closer to z*. At 95%, the target value is 1.96.
  • Conditions: random and independent observations, plus a population that is about normal or a large enough n.

Section 3A confidence interval for a proportion

A binomial histogram with a smooth normal curve laid over it showing the normal approximation
Reference. The normal approximation to the binomial distribution. It is the basis for the success-failure condition behind a proportion interval. Source and license: see the figure credits

Counting instead of measuring

Sometimes the variable is not a measurement but a yes or no answer. Did the patient respond to treatment? Did the voter approve? Did the part pass inspection? Then the parameter of interest is a population proportion p. The point estimate is the sample proportion p̂ = x/n, where x is the number of “successes.”

Counts follow a binomial distribution, which is lumpy and discrete. But when n is big enough, a smooth normal curve comes very close to that binomial histogram, just as the figure above shows. Then the normal curve tools from Section 2 apply again. The standard error of a sample proportion works out to √[p(1 − p)/n]. Since p is the very thing we do not know, we put in p̂ instead:

p̂ ± z* · √[p̂(1 − p̂)/n]

Note that this one uses z, not t. There is no separate standard deviation to estimate here. For a yes or no variable, the proportion is the mean, and it sets the spread all by itself. So there is no extra degrees of freedom fix to make.

The conditions: check them first

This formula is an approximation, and it is a bad one when the sample is small or the proportion is close to 0 or 1. Three conditions protect you.

ConditionHow to checkWhy it matters
Random sampleThe data came from random selection or random assignmentWithout it the estimate is biased, and no formula can repair bias
Independence (10% rule)n < 10% of the population when sampling without replacementKeeps the standard error formula valid
Success-failurenp̂ ≥ 10 and n(1 − p̂) ≥ 10At least about 10 of each outcome, or the binomial is too skewed for a normal curve

Worked example. In a random sample of n = 400 adults, x = 148 say they exercise regularly. Build a 95% confidence interval for the population proportion p.

The 95% confidence interval is 0.323 to 0.417, or about 32% to 42%. This is just the kind of interval a news outlet squeezes into “37%, plus or minus about 5 points.”

Percentage points are not percent

When a result is itself a percentage, words get slippery. A margin of error of 4.7 percentage points means the endpoints are 32.3% and 41.7%. It does not mean 4.7% of 37%, which would be a margin of only 1.7 points. Always say “percentage points” when you mean adding or subtracting on a percentage scale. The difference shows up in news about polls, in quality reports and in write ups of clinical trials alike.

One more practical note. Political polls most often publish a single “margin of error” worked out at the most cautious case, p̂ = 0.5, because that is where p̂(1 − p̂) is largest. That is why a poll of 1,000 people is nearly always described as ± 3 points, whatever the actual percentages came out to.

The formula does not fix a bad sample. Every condition after “random sample” is a technical detail, but the first one is not. Say your 400 people were volunteers who saw a link online. The math still runs and the interval still prints, but the answer means nothing. That is because the margin of error counts only random sampling variation. It never counts selection bias, people who did not reply or a badly worded question.
Interactive Draw real samples, build p-hat plus or minus z* times its standard error from the actual counts, and check the conditions, with an exact binomial coverage calculation that shows a "95%" interval capturing p only 87% of the time when successes are scarce. Open full ↑
Key points
  • For a proportion: p̂ ± z*√[p̂(1 − p̂)/n], using z instead of t.
  • Check random sampling, the 10% independence rule and the success-failure condition (np̂ ≥ 10 and n(1 − p̂) ≥ 10).
  • Report the margin in percentage points, not as a percent of the estimate.
  • Variability is largest at p̂ = 0.5, which is why published poll margins assume that worst case.

Section 4Margin of error and sample size

Curves showing margin of error falling as sample size grows, drawn separately for several confidence levels
Reference. Margin of error plotted against sample size for several confidence levels. Higher confidence lifts every curve, and larger samples pull them all down. Source and license: see the figure credits

The three dials

The margin of error is a critical value times a standard error. So only three things can change an interval's width, and each behaves in a way you can predict.

Confidence level. Raising confidence raises the critical value, so the interval gets wider. This is not a flaw; it is the price of a stronger promise. If you want to be right almost every time, you must say something vaguer. At the extreme, a 100% confidence interval for average sleep would be “between 0 and 24 hours.” It is surely correct, and fully useless.

Sample size. Raising n shrinks the standard error, so the interval gets narrower. But the √n in the denominator sets the exchange rate, and it is a harsh one. To halve the margin of error, you must make the sample size four times as big (quadruple it). Doubling n only buys you a factor of 1/√2 ≈ 0.71.

Variability. More spread in the population (a larger σ or s) means a larger standard error and a wider interval. You most often cannot change this one, since it is a trait of the world, not of your study. Still, careful measuring and subgroups that are alike inside can reduce it.

ChangeCritical valueStandard errorMargin of errorInterval
Confidence 90% → 99%1.645 → 2.576 (up)unchangedupWider
Confidence 99% → 90%2.576 → 1.645 (down)unchangeddownNarrower
Sample size n × 4unchanged (roughly)÷ 2÷ 2Half as wide
Sample size n ÷ 4unchanged (roughly)× 2× 2Twice as wide
Population more spread outunchangedupupWider

Seeing the dials turn

Go back to the reaction time sample: x̄ = 78.4, s = 9.0, n = 25, df = 24 and a standard error of 1.80. Hold the data fixed, and turn only the confidence dial.

Confidencet* (df = 24)Margin of errorIntervalWidth
90%1.7111.711 × 1.80 = 3.0875.32 to 81.486.16
95%2.0642.064 × 1.80 = 3.7274.68 to 82.127.44
99%2.7972.797 × 1.80 = 5.0373.37 to 83.4310.06

Now hold confidence at 95%, and turn only the sample size dial. Treat the standard deviation as a known σ = 9.0, so the multiplier stays fixed at 1.96:

Sample size nStandard error 9/√nMargin of error (1.96 × SE)Interval about x̄ = 78.4
259/5 = 1.803.5374.87 to 81.93
1009/10 = 0.901.7676.64 to 80.16
4009/20 = 0.450.8877.52 to 79.28

Each fourfold jump in n cuts the margin exactly in half. Going from 25 to 400 people, sixteen times the data, buys a margin one quarter as large.

Planning a study: solving for n

Turn the formula around, and you get a planning tool. Decide the margin of error E you can live with, pick your confidence level and solve.

For a mean. From E = z*σ/√n, solving gives n = (z*σ/E)2. Say a small first (pilot) study suggests σ ≈ 12, and you want a 95% interval with a margin no larger than 2 points.

For a proportion. From E = z*√[p(1−p)/n], solving gives n = z*2p(1−p)/E2. If you have no earlier estimate of p, use p = 0.5. That makes p(1−p) as large as it can be, 0.25, and so gives the safest (largest) answer. For a 95% interval with a margin of 3 percentage points:

That number should look familiar. It is why national polls so often sample around a thousand people. About a thousand people buys a 3 point margin, and pushing to 1 point would take about 9,600.

Round up, never down, and never round the sample size to a “nicer” number. You cannot recruit 138.3 people, and 138 would leave the margin a little larger than the one you promised. Rounding up is the only direction that keeps the promise. The same logic explains why researchers recruit extra people. You plan for 139 and enroll 150, because some people will drop out and take your margin of error with them.
Interactive Drag the sample size and the confidence level and watch a real interval widen and narrow against a fixed axis: the square-root law that makes precision expensive, and how to solve for n before collecting a single observation. Open full ↑
Key points
  • Higher confidence → larger critical value → wider interval. There is no free lunch.
  • Larger n → smaller standard error → narrower interval, but only at the rate 1/√n. Make n four times as big to halve the margin.
  • For a mean, n = (z*σ/E)2. For a proportion, n = z*2p(1−p)/E2, using p = 0.5 when nothing is known.
  • Always round the sample size you need up to the next whole person.

Section 5Interpreting a confidence interval correctly

A set of 95 percent confidence intervals drawn as error bars around several estimates
Reference. A display of 95% confidence intervals. Each bar is one interval made from one sample, and the confidence level describes the method that made them. Source and license: see the figure credits

The sentence that is right

Here is a template you can use every time, and it is worth writing down word for word:

“We are 95% confident that the interval from 74.68 to 82.12 contains the true mean reaction time score for the population.”

Three parts make it correct: the confidence level, the interval and a clear statement of the parameter in context, meaning whose mean, of what and measured how. Drop any one of them, and the sentence loses its meaning.

And what does the 95% attach to? Not to this interval. It attaches to the method (the procedure). Imagine repeating the whole study over and over, thousands of times. Each time, you draw a fresh random sample, work out x̄ and s and build the interval. Each repeat gives a different interval, centered somewhere slightly different, with a slightly different width. In the long run, about 95% of those intervals will contain the true μ, and about 5% will miss it fully. That long run success rate is the coverage probability, and it is the only thing 95% ever meant.

The catch is that you built just one interval, and you cannot tell whether yours is one of the 95% or one of the 5%. Your interval either contains μ or it does not. There is no partial credit and no randomness left to describe, since μ is a fixed number and your endpoints are now fixed numbers too.

The four sentences that are wrong

Each of the following is something real people write: students, journalists and now and then published researchers. Each is wrong, and it is worth knowing just why.

Wrong statementWhy it failsWhat it should say
“There is a 95% probability that μ lies in this interval.”μ is a fixed constant, and the endpoints are now fixed numbers. The probability is 0 or 1; we just do not know which. The 95% describes the method over the long run.“95% of intervals built this way capture μ.”
“95% of the data values fall between 74.68 and 82.12.”This mixes up the spread of single people with how exact an estimate is. An interval for a mean is most often far narrower than the data.“This interval estimates the mean, not the range of scores.”
“95% of future sample means will fall in this interval.”Future sample means vary around μ, not around your own x̄. The real capture rate for that claim is well under 95%.“The interval estimates μ, not the location of future samples.”
“The interval contains 80, so we have proved μ = 80.”An interval lists believable values, all of them at once. 74.7 is just as much ‘in’ the interval as 80 is.“80 is a believable value for μ, and so is every other number in the interval.”

A fifth error deserves its own mention, because it travels with confidence intervals so often. A p-value is not the probability that the null hypothesis is true. It is the probability of seeing data at least as extreme as yours, assuming the null hypothesis is true. Confidence intervals and p-values are two views of the same math, and they share the same discipline. Both are statements about how data behave under a hypothesis. Neither is ever a statement about how likely a hypothesis is.

The same discipline rules the language of decisions. Say an interval contains a claimed value, or in the same way, the matching test does not reach significance. Then the correct phrase is fail to reject, never accept. Failing to reject means only that the data were consistent with that value, not that the value is true. The interval 74.68 to 82.12 is just as consistent with 80 as it is with 74.7 or 82.1, and it cannot single one of them out. Absence of evidence against a value is not evidence for it. A wide interval most often means you had too little data to tell anything apart at all.

What an interval is genuinely good for

Used correctly, a confidence interval does three jobs a single p-value cannot. It shows the size of the effect, not just whether one exists. It shows how exact your estimate is (its precision) through its width. A narrow interval around a small effect and a huge interval around a large one tell very different stories. And it supports a quick check of significance. If a 95% interval for a difference does not contain 0, the matching two sided test rejects at α = 0.05. If a 95% interval for a mean does not contain 80, a two sided test of μ = 80 rejects at α = 0.05.

Last, keep the interval's scope honest. A margin of error measures random sampling variation only. It does not cover a biased sampling frame, people who refused to answer, a leading question, a tool that was set up wrong or data entered wrong. Those errors can dwarf the margin of error, and no amount of extra sample size will shrink them. More data collected badly just give you a tighter interval around the wrong number.

Say “confident,” not “probability.” The word “confident” exists in statistics just because “probability” would be wrong here. It is a deliberate signal that you are describing how reliable a method is across many imagined samples. You are not describing the chance that one fixed number sits between two other fixed numbers. When you catch yourself writing “there is a 95% chance that μ...,” stop and rewrite.
Interactive Draw 100 samples, build 100 confidence intervals, and count how many capture the true mean, then test seven interpretations of the number against the picture. Open full ↑
Key points
  • The correct form: “We are C% confident that the interval (a, b) contains the true parameter in context.”
  • The confidence level describes the method over the long run: about 95% of intervals built this way catch the parameter.
  • A CI is not about data values and not about future sample means, and it does not give a probability to a fixed μ.
  • A value inside the interval is believable (plausible), not proven. “Fail to reject” never means “accept.”
  • The margin of error covers random sampling variation only, never bias, people who did not reply or measurement error.

The chapter in one breath

  • A point estimate is a single best guess. Because of sampling error, it is almost surely a little wrong, so we report a range instead.
  • Every confidence interval is point estimate ± (critical value × standard error), and the width of the interval is twice the margin of error.
  • For a mean with σ known, use x̄ ± z*(σ/√n). With σ unknown, use x̄ ± t*(s/√n) with df = n − 1.
  • The t distribution has heavier tails to pay for estimating σ, and it comes closer and closer to z as n grows. At 95%, z* = 1.96.
  • For a proportion, use p̂ ± z*√[p̂(1−p̂)/n] after checking random sampling, the 10% rule and success-failure (at least 10 of each outcome).
  • Higher confidence widens the interval. A larger n narrows it only at the rate 1/√n, so making n four times as big halves the margin.
  • To plan a study, solve n = (z*σ/E)2 for a mean, or n = z*2p(1−p)/E2 for a proportion. Use p = 0.5 when in doubt, and always round up.
  • “95% confident” describes the method over the long run, not a probability for this one interval. The margin of error covers random variation only, never bias.

ReferenceWords worth knowing

A quick reference for the words in this chapter. Skim it now, then come back whenever a term in a formula or a reading stops making sense.

Central Limit Theorem
The result that, for a large enough sample, the sampling distribution of x̄ is about normal, whatever the population's shape. It is what allows the normal curve critical values used in these intervals.
Confidence interval
An interval estimate for a population parameter, worked out as point estimate ± margin of error and reported with a confidence level.
Confidence level
The long run percentage of intervals built by a given method that would catch the true parameter. Common choices are 90%, 95% and 99%.
Coverage probability
The actual long run share of intervals from a method that contain the parameter. A good method has coverage close to its stated confidence level.
Critical value
The multiplier (z* or t*) applied to the standard error. It is chosen from a distribution table to match the confidence level you want.
Degrees of freedom (df)
The number that picks which t curve to use. For a one sample interval for a mean, df = n − 1.
Interval estimate
A range of believable values for a parameter, as opposed to a single number.
Margin of error
The half width of a confidence interval: critical value × standard error. It measures random sampling variation only.
Parameter
A fixed fact in numbers about a whole population, such as μ or p. It is unknown and does not vary from sample to sample.
Point estimate
A single number estimate of a parameter, worked out from sample data, such as x̄ for μ or p̂ for p.
Population proportion (p)
The true share of the population with a given trait. It is the parameter estimated by p̂.
Prediction interval
An interval meant to contain a future single observation instead of a parameter. It is always wider than a confidence interval for the mean.
Sample proportion (p̂)
The share of successes in the sample, x/n. It is the point estimate for p.
Sampling distribution
The distribution of a statistic's values across all possible samples of a given size. Its standard deviation is the standard error.
Sampling error
The natural variation of an estimate from sample to sample. It is not a mistake, and it is the only thing a margin of error accounts for.
Standard error
The standard deviation of a statistic's sampling distribution: σ/√n or s/√n for a mean, and √[p̂(1−p̂)/n] for a proportion.
Statistic
A number worked out from sample data, such as x̄, s or p̂. Unlike a parameter, it varies from sample to sample.
Student's t distribution
A family of symmetric, bell shaped curves with heavier tails than the normal, labeled by degrees of freedom. It is used when σ must be estimated by s.
Success-failure condition
The rule that np̂ ≥ 10 and n(1 − p̂) ≥ 10. It makes the normal approximation to the binomial good enough for a proportion interval.
t critical value (t*)
The multiplier taken from the t distribution with n − 1 degrees of freedom. At 95%, it is 2.064 for df = 24, and it shrinks toward 1.96 as df grows.
Width
The full length of a confidence interval, upper endpoint minus lower endpoint. It is exactly twice the margin of error.
z critical value (z*)
The multiplier taken from the standard normal curve: 1.645 for 90%, 1.960 for 95% and 2.576 for 99% confidence.

Check yourself

1. Write the general skeleton of any confidence interval, and name the two pieces that multiply together to form the margin of error.
Point estimate ± margin of error, where margin of error = critical value × standard error. The critical value (z* or t*) comes from the confidence level. The standard error measures how much the estimate varies from sample to sample.
2. A survey reports 46% support with a margin of error of 4 percentage points. State the interval and its width.
The interval is 42% to 50%, and its width is 8 percentage points. The margin of error is the half width, so the full interval spans twice the margin.
3. A process with known spread has σ = 6. A random sample of n = 64 gives x̄ = 120. Build a 95% confidence interval for μ, showing your math.
118.53 to 121.47. Standard error = 6/√64 = 6/8 = 0.75. Margin of error = 1.96 × 0.75 = 1.47. Then 120 − 1.47 = 118.53 and 120 + 1.47 = 121.47. Because σ is known, z* = 1.96 is correct here.
4. Why do we use t instead of z when σ is unknown, and what are the degrees of freedom for a one sample interval?
Estimating σ with s adds extra uncertainty. So the t distribution's heavier tails give a larger multiplier and a wider interval to match. df = n − 1. Using z with a small sample makes the interval too narrow, and its true coverage lower than promised.
5. A sample of n = 16 parts has x̄ = 40.0 mm and s = 2.0 mm. With t* = 2.131 at 95% for df = 15, work out the interval.
38.93 mm to 41.07 mm. Standard error = 2.0/√16 = 2.0/4 = 0.50. Margin of error = 2.131 × 0.50 = 1.0655, about 1.07. Then 40.0 − 1.07 = 38.93 and 40.0 + 1.07 = 41.07.
6. In a random sample of 500 shoppers, 200 used a loyalty card. Check the conditions, and build a 95% interval for p.
The conditions pass, and the interval is 0.357 to 0.443 (about 36% to 44%). p̂ = 200/500 = 0.40. np̂ = 200 ≥ 10 and n(1−p̂) = 300 ≥ 10. Standard error = √[(0.40)(0.60)/500] = √0.00048 = 0.02191. Margin of error = 1.96 × 0.02191 = 0.0429. Then 0.40 ± 0.043.
7. A researcher has n = 30 and p̂ = 0.05. Should she use the standard proportion interval? Explain.
No, because the success-failure condition fails. np̂ = 30(0.05) = 1.5, which is far below 10. With so few successes, the binomial distribution is too skewed for a normal approximation, and the interval would not be reliable. (It can even reach below 0.) She needs a much larger sample or another method.
8. With everything else fixed, what happens to an interval when you move from 95% to 99% confidence, and what is the trade off?
The critical value rises from 1.96 to 2.576, so the margin of error and the interval both get wider. The trade off is precision for reliability. You are right more often in the long run, but your statement is vaguer. A 100% interval would be surely correct and tell you nothing.
9. You now have a margin of error of 4.0 with n = 100. What sample size would give a margin of 2.0, and why is it not 200?
You need n = 400, because the standard error shrinks as 1/√n, not as 1/n. Halving the margin means making the sample four times as big. Doubling to 200 would only cut the margin by a factor of 1/√2 ≈ 0.71, to about 2.83.
10. Plan a poll. You want a 95% interval with a margin of error of 2 percentage points, and you have no earlier estimate of p. How many people must you survey?
2,401 people. Use the cautious p = 0.5, so p(1−p) = 0.25. Then n = (1.96)2(0.25)/(0.02)2 = 3.8416 × 0.25 / 0.0004 = 0.9604/0.0004 = 2401. Since it comes out exactly, no rounding is needed. But any result with a fraction must always be rounded up.
11. A 95% confidence interval for a population mean is 12.4 to 15.6. Write a correct reading. Then explain why “there is a 95% probability that μ is between 12.4 and 15.6” is wrong.
Correct: “We are 95% confident that the interval from 12.4 to 15.6 contains the true population mean.” The probability version is wrong because μ is a fixed constant, and 12.4 and 15.6 are now fixed numbers. The interval either contains μ or it does not, so the probability is 0 or 1. The 95% describes the method over the long run: about 95% of intervals built this way from repeated random samples would catch μ.
12. A poll of 1,200 online volunteers reports 62% agreement, ± 2.7 points. There are two problems. What does the margin of error fail to cover, and what would you conclude about a claimed true value of 50%?
The margin of error covers random sampling variation only. It says nothing about the selection bias of volunteers who picked themselves, people who did not reply or a leading question, and those errors are likely far larger here. In pure math terms, the interval is 59.3% to 64.7%, which leaves out 50%. So a two sided test of p = 0.5 would reject at α = 0.05. But since the sample is not random, that conclusion cannot be trusted. Collecting more data badly would only give a tighter interval around the wrong number.