How to Find a Confidence Interval For a Sample
When you don’t know anything about a population’s behavior (i.e. you’re just looking at data for a sample), you need to use the t-distribution to find the confidence interval. This article will show you how in a short series of steps.
Example question:
A group of 10 foot surgery patients had a mean weight of 240 pounds. The sample standard deviation was 25 pounds. Find the 95% confidence interval for the true mean weight of all foot surgery patients. Assume normal distribution.
Step 1: Subtract 1 from your sample size. 10 – 1 = 9. This gives you degrees of freedom, which you’ll need in step 3.
Step 2: Subtract the confidence level from 1, then divide by two.
(1 – .95) / 2 = .025
Step 3: Look up your answers to step 1 and 2 in the t-distribution table. For 9 degrees of freedom (df) and α = 0.025, my result is 2.262.
| df | α = 0.1 | 0.05 | 0.025 | 0.01 | 0.005 | 0.001 | 0.0005 |
| ∞ | tα=1.282 | 1.645 | 1.960 | 2.326 | 2.576 | 3.091 | 3.291 |
| 1 | 3.078 | 6.314 | 12.706 | 31.821 | 63.656 | 318.289 | 636.578 |
| 2 | 1.886 | 2.920 | 4.303 | 6.965 | 9.925 | 22.328 | 31.600 |
| 3 | 1.638 | 2.353 | 3.182 | 4.541 | 5.841 | 10.214 | 12.924 |
| 4 | 1.533 | 2.132 | 2.776 | 3.747 | 4.604 | 7.173 | 8.610 |
| 5 | 1.476 | 2.015 | 2.571 | 3.365 | 4.032 | 5.894 | 6.869 |
| 6 | 1.440 | 1.943 | 2.447 | 3.143 | 3.707 | 5.208 | 5.959 |
| 7 | 1.415 | 1.895 | 2.365 | 2.998 | 3.499 | 4.785 | 5.408 |
| 8 | 1.397 | 1.860 | 2.306 | 2.896 | 3.355 | 4.501 | 5.041 |
| 9 | 1.383 | 1.833 | 2.262 |
Step 4:Divide your sample standard deviation by the square root of your sample size.
25 / √(10) = 7.90569415
Step 5: Multiply step 3 by step 4.
2.262 × 7.90569415 = 17.8826802
Step 6:For the lower end of the range, subtract step 5 from the sample mean.
240 – 17.8826802 = 222.117
Step 7: For the upper end of the range, add step 5 to the sample mean.
240 + 17.8826802 = 257.883
Related posts:
- How to Find a Sample Size Given a Confidence Interval and Width
- How to Construct a Confidence Interval From Data Using the t-Distribution
- How to Find a Sample Size Given a Confidence Interval and Width (Known Standard Deviation)
- How to Find a Confidence Interval (Population)
- How to Use a TI-83 to Find a Confidence Interval for the Population Proportion, p
Mary Johnson said:
Oct 20, 09 at 11:17 amI found this helpful but I am still not sure about the degrees of freedom. Even in the guided solution on the homework problems there are steps left out. It helps but I have to do alot of searching to understand where some of the numbers come from.
Vanessa DuBarry said:
Oct 23, 09 at 11:00 amThis sample really helped me a lot, because since I am not good at math it really helps that it is explained step by step not like math zone that its so confusing.
Stephanie said:
Oct 23, 09 at 11:14 amMary,
Degrees of freedom is n-1,
Stephanie
Vanessa DuBarry said:
Oct 23, 09 at 1:13 pmproffesor I dont know what is happening but I understand how to do do this but when I do it this way on math zone it says its wrong and they show me how to do it a very different way, and I dont understand it.
Stephanie said:
Oct 23, 09 at 3:48 pmVanessa,
Can you send me an email with the Mathzone question you are working on? And your working out? That way, I’ll be able to compare them and see what’s going on.
Stephanie
Donna Allen said:
Oct 24, 09 at 5:16 pmI found your explanation very helpful. I was a little confused in step 3 where a=0.25, I thought it was 0.025. I think it might have been typed in error. Otherwise, everything else made sense.
April Fulton said:
Oct 25, 09 at 8:43 pmI truly had no idea how to find the degrees of freedom, now from this site and again the step by step process I see I take the sample size and subtract 1. How easy is that!
Jennifer Thomas said:
Oct 25, 09 at 9:05 pmOnce again, these step by step instructions were very helpful.
Lisa Barcomb said:
Nov 01, 09 at 8:16 pmNow this problem made since maybe its because it was a step by step process that I understood and it made a lot of sense regarding the sample size. So once I finished reading the instructions and started to work out the problem it all came to me. Which makes it a whole lot easier on my brain.
angie widdows said:
Nov 11, 09 at 6:02 pmLike it. This is a very good example. Helps to have the table there for reference.
Joni Poore said:
Mar 07, 10 at 7:20 pmThis was a life saver this week. The book and the CD do NOT give any help with this. Love that table, came in hand a lot this week.
Alison Bryant said:
Mar 22, 10 at 10:30 amThis was really helpful I too was having problems understanding how to find and use the degrees of freedom, but thanks now I understand much better.
Mary Brown said:
Jul 17, 10 at 8:37 amThis was very helpful to me it explained by steps and I have it Thanks so Much
Mary Brown said:
Jul 17, 10 at 8:38 amThis site was very helpful to me and now I understand it very well!
Sherry said:
Nov 13, 10 at 12:39 pmI have a problem the the DF=85, how do I find the value on the table??
Kelly said:
Mar 01, 11 at 11:32 amThis was so helpful!