Confidence Intervals for Dependent Samples t-Test (Jump to: Lecture | Video )

We use the dependent samples t-test to test if two sample means are different from one another. After the t-test, confidence intervals can be constructed to estimate how large that mean difference is.

Imagine we already have this data from a previous t-test:

Figure 1.

Construct a 95% confidence interval for the mean difference.

Figure 2.

Above are the equations for the lower and upper bounds of the confidence interval.

Figure 3.

We already know most of the variables in the equation, but what should we put for t?

First, we need to calculate the degrees of freedom:

df = n - 1

df = 10 - 1 = 9

Now, we'll use the degrees of freedom value to look up the t value. Go to the t-table and look up the critical value for a two-tailed test, alpha = 0.05, and 9 degrees of freedom. You should find a value of 2.2622. Now, we can finish calculating the lower and upper bounds:

Figure 4.

We are 95% confident that the mean difference between "before" and "after" is between 0.634 and 2.76.


Back to Top