For a dataset of size 58, the sample mean was calculated to be ¯x=$2.75 and the sample standard deviation is s=$0.86. What is the 95% confidence interval for μ?

1 Answer
Sep 2, 2017

The 95% confidence interval for μ is ($2.5239,  $2.9761).

Explanation:

The formula for a 95% confidence interval for μ is

¯x±[tα/2,n1×sn]

where

  • ¯x is your sample mean, the middle point of the confidence interval,
  • tα/2,n1 is a stretching factor that tells us how many 'standard errors' wide our interval needs to be,
  • s is the standard deviation of the sample data points, and
  • n is the number of data points, also called the sample size.

α is just 100% minus the confidence level you wish to have (in this case 95%). So α=100%95%, which is 5%, or 0.05.

The term sn is known as the standard error for the estimate of μ. This is different than the standard deviation of the whole sample. (More on that later.)

To find the 95% confidence interval, we just need to plug in the given values for the variables, and look up the t-value in a table (or use computer software).

=¯x±[tα/2,n1×sn]
=2.75±[t0.05/2,581×0.8658]
=2.75±[t0.025,57×0.1129]
=2.75±[2.002465×0.1129]
=2.75±0.2261

=(2.5239,  2.9761)

Bonus:

Standard deviation measures the spread of all the data as a whole. Standard error measures how close to the actual population mean (μ) our sample mean (¯x) is. Each additional data point affects the spread of the data as a whole less and less, allowing ¯x to stabilize. In math terms: as n increases, s gets more precise, and sn gets closer to 0.

Also: for high enough values of n, the t-distribution can be approximated by a normal distribution, allowing for easier table lookup. That is,

for sufficiently large n (greater than 30, usually), it is common to approximate tα/2,n1 as zα/2.

It is much easier to look up zα/2 than it is to look up tα/2,n1.