The t Distribution and t Intervals
You usually don't know , so you use the sample's instead. Since is itself a guess, the interval has to be a little wider to stay honest, and the t distribution with degrees of freedom tells you exactly how much wider.
What the symbols mean
- t critical value
From a t table for the chosen confidence and degrees of freedom; bigger than z*.
- Sample standard deviation
Estimates the unknown σ.
- Degrees of freedom
n − 1: how much information the sample has about the spread.
Explanation
The t distribution is simply a bell curve with fatter tails, used in place of the normal when you've had to estimate the spread from your sample. It's also called Student's t, after the pen name of William Gosset, who worked it out for small batches at the Guinness brewery. The formula is the interval from the last lesson with two swaps: (your sample's standard deviation) in place of , and (a slightly bigger multiplier from a t table) in place of . The degrees of freedom, , just tell you which row of the table to read. Nothing else changes.
Why fatter tails? Think about what can go wrong with a small sample. By bad luck, might come out smaller than the true , and then your interval would be too narrow and miss more often than it should. The t distribution builds in that risk by spreading out a little more than the normal, so is bigger than and the interval is wider.
The t distribution looks like the standard normal but with heavier tails, because varies from sample to sample. As grows it approaches the normal: by they're close, and approaches . That makes sense too: with lots of data, is a very good estimate of , so there's little extra uncertainty left to pay for.
Assumptions: a random sample, and either a roughly normal population or a large enough (about 30 or more, less if the data are not too skewed).
In practice σ is almost never known, so this is the interval actually used for means.
A common mistake. It's tempting to use , since is the number you have in front of you. Use . Computing means first estimating the mean from the same data, which uses up one degree of freedom, the same reason divides by .
See it
Worked examples
A sample of has and . Find a 95% confidence interval ( for ).
- 1
The standard error uses in place of : .
Practice
Type your answer and check it. Solve them all to complete the lesson.
, , , . Find the margin of error.
Find the upper bound of the interval.
How many degrees of freedom does a sample of 25 have?
, , (95%, ). Find the margin of error.
Why use instead of when is unknown?
A lab measures a sample's boiling point 10 times: mean 101.3 °C, standard deviation 0.6 °C. Find the margin of error of the 95% t interval ( for 9 degrees of freedom).
How much wider is that t interval than a z interval with would be? Give the ratio.
The hardest one here. Get it, and you've got this lesson.
A 95% t interval from a sample of 16 has margin of error 3, with . What was the sample standard deviation?
Where it's used
Clinical measurements, materials testing and any study with a modest sample size and unknown spread use t intervals; Student's t was invented at the Guinness brewery to work with small batches.