Notes by Sara
Lesson 20

How sure is that 1.2%?

Example, with made-up numbers. Over 36 months, a stock returned 1.2% a month on average, with a standard deviation of 6%. A report says "the stock earns 1.2% a month." What range of true averages is believable, and does it rule out zero?

The idea

A confidence interval wraps the estimate in a margin of error built from the standard error:

Interval = estimate ± critical value × standard error

For a 95% interval with a large sample, the critical value is 1.96, close to the "2 standard errors" from the last lesson.

"95% confident" describes the method, not one interval. If you took many samples and built an interval from each, about 95% of those intervals would contain the true value:

Twenty simulated samples of 36 months, each with its own 95% interval. The true average is 1%. One of the 20 misses it, as expected.

Quick check

From the same data, which is wider: a 90% interval or a 99% interval?

Small samples: the t-distribution

The standard error uses a standard deviation estimated from the same data. With few observations, that estimate is shaky too. The t-distribution allows for this. It looks like a bell curve with fatter tails, so its critical values are bigger. As the sample grows, it turns into the normal curve:

Sample sizeCritical value for 95%
52.78
102.26
302.05
Very large1.96

In Excel: =T.INV.2T(0.05, n − 1). The n − 1 is called the degrees of freedom.

Worked example: the stock's average

1. Standard error6 ÷ √36 = 1.0%
2. Critical value, 95%, 35 degrees of freedom=T.INV.2T(0.05, 35) = 2.03
3. Margin of error2.03 × 1.0 = 2.03%
4. Interval1.2 ± 2.03
95% confidence interval−0.83% to 3.23%

The interval includes zero, so three years of data can't rule out that the stock's true average is nothing at all. Excel gives the margin in one step: =CONFIDENCE.T(0.05, 6, 36) = 2.03.

Try it yourself
Any average, standard deviation, sample size and confidence level.
Standard error
Critical value (t)
Confidence interval
Does it include zero?
Common mistakes
Three slips beginners make.
  • Mixing up the average and single values. A confidence interval is for the true average. Single months will swing far outside it.
  • Using 1.96 with tiny samples. With 5 observations the 95% critical value is 2.78. Using 1.96 makes the interval too narrow.
  • Trusting a narrow interval from biased data. The interval only covers random noise. A biased sample gives a confident wrong answer.

Remember

  • Interval = estimate ± critical value × standard error.
  • 95% describes the method: about 95 in 100 such intervals contain the true value.
  • Small samples use the t-distribution's bigger critical values. In Excel, =CONFIDENCE.T or =T.INV.2T.

Check yourself

Three questions. Try them without scrolling up.

1. A large sample gives an average of 10 with a standard error of 2. What's the 95% confidence interval?

2. Why use the t-distribution instead of 1.96 for a sample of 8?

3. A 95% confidence interval for a fund's yearly extra return over its benchmark is −0.5% to 2.5%. What can you conclude?

Score: 0 of 3