Chance V. answered 05/13/21
Patient tutor with a passion for math!
In this problem we are estimating the mean from a sample of n = 12. Because the sample size is small, we have to use a t distribution for our Confidence Interval.
The formula for a (1-α)CI is as follows:
Confidence Interval = xbar +- tn-1(α) * (s/(√n))
- xbar is the sample mean.
- s is the sample standard deviation.
- n is the sample size
- the "n-1" part next to the t represents the degrees of freedom necessary for looking up a value in the t-distribution table.
- α is related to the % of the confidence interval. We have (1-α)% CI, so for a 95% CI our α is 5% or .05 (.05 for two-tailed test in the table).
The first step is to calculate the sample mean.
- Add all of the data values and divide by n.
- (∑ xi)/n
- You should obtain a value of xbar = 36.625.
The next step is to find the sample standard deviation s. We will do this by first finding the sample variance s2.
- s2 = (∑(xi-xbar)2) / (n-1)
- To do this by hand, take the first value from the data and subtract the sample mean (xbar). Square this value. Example: (39.8 - 36.625)2 would be the first one, (41.4-36.625)2 would be the second one, and so on.
- Repeat this process and add up all of the values that you've obtained. Divide this sum by n-1 (in this case n-1 = 11)
- You should obtain a final value of s2 = 42.0395
- Take the square root to find s. s = 6.483283
Next we need our t- value.
- Our degrees of freedom is n-1 = 11.
- Our α here is .05
- Look in a t-table. Go down to the appropriate degrees of freedom row, and go over to the appropriate α column. In the t-table this would be df=11, α =.05 (two tailed), which gives us a value of t = 2.201
Now that we have everything we just plug it into the formula to generate the Confidence Interval
Confidence Interval = xbar +- tn-1(α) * (s/(√n))
= 36.625 +- 2.201* (6.483283/(√12)
= 36.625 +- 4.119309266
Subtract 4.119309266 from the mean to obtain the lower bound. Add 4.119309266 to the mean to obtain the upper bound.
95% CI = (32.51, 40.74)