Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

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ˉ±tn−1⋆sn\boxed{\displaystyle \bar{x}\pm t^\star_{n-1}\frac{s}{\sqrt n}}


where,

  • ss is the sample standard deviation
  • tn−1⋆t^\star_{n-1} is the multiplier or critical value from the t-distribution with n−1n-1 degrees of freedom


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


Image illustrating Confidence Interval for a Mean





Finding the critical value, tn−1∗\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, tn−1∗t_{n-1}^{\ast} ?

  • Step 1: the degree of freedom is: n−1=19−1=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 .



Image illustrating Confidence Interval for a Mean


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: ________
  • Sample: ________
  • Parameter: ________
  • Statistic: ________


Step 1: Find the degrees of freedom:


df=n−1=30−1=29df=n-1=30-1=29


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


90% confidence level C


Step 3: Find tn−1∗\bm{t_{n-1}^{\ast}}:


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



For a 90% confidence interval,


x‾±tn−1∗sn\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]


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.”

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

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=n−1=25−1=24df=n-1=25-1=24

Using t-table: t24⋆=2.0639t_{24}^{\star}=2.0639


tn−1⋆sn\displaystyle{ t^\star_{n-1}\frac{s}{\sqrt n}}


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

=7.0173=7.0173



Image illustrating Example


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


xˉ±tn−1⋆sn\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.

Your answers

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors