0:00 / 0:00

Confidence Interval for a Mean

There are two formulas used to construct confidence intervals for a mean. Which formula to use depends on whether population standard deviation σ\bcfi\sigma is known or not.

When the Population Standard Deviation σ\bco\sigma is KNOWN

When σ\sigma is known and the conditions for a valid confidence interval are satisfied, the confidence interval for the population mean is

xˉ ± zσn\boxed{\displaystyle \bar{x}\space\pm \space z^\ast\frac{\sigma}{\sqrt{n}}}



However, since we are trying to estimate the population mean, which is unknown, it is not realistic to know the population standard deviation σ\sigma.

When the Population Standard Deviation σ\bco\sigma is UNKNOWN

Since we are trying to estimate the population mean, which is unknown, it is not realistic to know the population standard deviation σ\sigma. In this case, the confidence interval for the population mean is

xˉ±tn1sn\boxed{\displaystyle \bar{x}\pm t^\star_{n-1}\frac{s}{\sqrt n}}

where,
  • ss is the sample standard deviation
  • tn1t^\star_{n-1} is the multiplier or critical value from the t-distribution with n1n-1 degrees of freedom

PAGE BREAK

What is the difference between a z-distribution and a t-distribution?




Wize Concept
The higher the degrees of freedom dfdf, the closer the t-distribution will look like the z-distribution (Normal distribution).


PAGE BREAK

Finding the critical value, tn1\bco{t_{n-1}^{\ast}} :

Example 1
If we sample 19 people and want to construct a 95% confidence interval, what is the critical value, tn1t_{n-1}^{\ast} ?
  • Step 1: the degree of freedom is: n1=191=18n-1=19-1=18\rightarrow found on the left column of the t-table
  • Step 2: locate the confidence level C\colorFour C at the bottom row of the t-table, in particular 95%.
  • Step 3: determine the critical value, t18=2.101t^\star_{18}=2.101 .



PAGE BREAK
Example 2
Based on a random sample of 30 households in Yaletown, the average utility bill is $140 is per month with a standard deviation of $75 per month. Construct a 90% confidence interval for the average utility bill for all households in Yaletown.
  • Population:
    All households in Yaletown
  • Sample:
    30 households in Yaletown
  • Parameter:
    Average utility bill per month for all households in Yaletown
  • Statistic:
    $140, the average utility bill per month based on the sample of 30 households in Yaletown

Step 1: Find the degrees of freedom:

df=n1=301=29df=n-1=30-1=29

Step 2: Locate the confidence level in the t-table

90% confidence level C

Step 3: Find tn1\bm{t_{n-1}^{\ast}}:

t29=1.699t_{29}^{\ast}=1.699


For a 90% confidence interval,

x±tn1sn\boxed{\displaystyle\overline{x}\pm t_{n-1}^{\ast}\frac{s}{\sqrt{n}}}
140±1.699(7530)140\pm1.699\left(\frac{75}{\sqrt{30}}\right)

140±23.26140\pm23.26

[116.74, 163.26]\left[116.74,\ 163.26\right]

PAGE BREAK

Interpretation of a confidence interval

[116.74, 163.26]\left[116.74,\ 163.26\right]

  • CORRECT: “We are 90% confident that the true average utility bill for all households in Yaletown is between $117 and $163 per month.”
  • WRONG: “About 90% of households in Yaletown had utility bills between $117 and $163 per month.”
  • WRONG: “There is a 90% probability that the true average utility bill is between $117 and $163 per month per month.”
0:00 / 0:00

Example: Confidence Interval for a Mean

Based on a sample size of 25 people with full-time jobs, the average time they spend in the getting ready each morning is 42 minutes with a standard deviation of 17 minutes.

(a) What is the point estimate?

The point estimate is the sample statistic. In this case, it is the sample mean:

xˉ=42\bar x=42

(b) For a 95% confidence interval, what is the margin of error?

df=n1=251=24df=n-1=25-1=24
Using t-table: t24=2.0639t_{24}^{\star}=2.0639

tn1sn\displaystyle{ t^\star_{n-1}\frac{s}{\sqrt n}}

=(2.0639)1725=\left(2.0639\right)\frac{17}{\sqrt{25}}
=7.0173=7.0173

PAGE BREAK


PAGE BREAK
(c) Construct a 95% confidence interval and interpret it in simple English.

xˉ±tn1sn\bar x \pm \displaystyle{ t^\star_{n-1}\frac{s}{\sqrt n}}
42±7.017342 \pm 7.0173

[34.98, 49.02]\left[34.98,\ 49.02\right]

We are 95% confident that the average time people with full-time jobs spend getting ready each morning is between 35 and 49 minutes.



A random sample of 30 credit card statements showed an average balance of $1,200 with a standard deviation of $135.
Construct a 99% confidence interval. Interpret it in simple English.
Extra Practice