" />
Include Top

Home | Login | Live Help is Live Help

Included Menu

How Do I Perform a Paired t-Test in Excel Using SigmaXL?

Paired t-Test

  1. Open the file Dietcola.xls. These are the results of a Before and After taste test on sweetness for diet cola. Ten tasters were used and one month elapsed with the cola in warm storage between the before and after results. Do a one sample t-test on the column of differences.
  2. Click SigmaXL > Statistical Tools > 1-Sample t-test & Confidence Intervals. Ensure that entire data table is selected. If not, check Use Entire Data Table. Click Next. Select Difference, click Numeric Data Variable (Y) >>, set H0: Mean μ= 0, Ha: Less Than (this is a one-sided or one-tail test sweetness cannot increase):

  3. 1 Sample t-Test

  4. Click OK. Result:
  5. t-Test Results

    Given the p-value of .012, we reject H0 and conclude that the sweetness has in fact decreased.

  6. Now redo the analysis using the paired t-test: Click Sheet 1 Tab; Click SigmaXL > Statistical Tools > Paired t-Test; Click Next; Select After, click Numeric Data Variable 1 >>, select Before as Numeric Data Variable 2 >>, H0: Mean Diff = 0, Ha: Less Than.

  7. Paired t-Test

  8. Click OK. Results are identical to the One sample t-test analysis of difference column:

  9. Paired t-Test Results

Unpaired 2 Sample t-Test vs. Paired t-Test

  1. Open the Dietcola.xls file, click the Sheet 1 tab (or press F4 to activate last worksheet).
  2. Click SigmaXL > Statistical Tools > 2 Sample t-test. Ensure that entire data table is selected. If not, check Use Entire Data Table. Click Next.
  3. Check Unstacked Column Format. Select After, Before and click Numeric Data Variables (Y) >>. H0: Mean Diff = 0, Ha: Less Than; check Assume Equal Variances:

  4. 2 Sample t-Test

  5. Click OK. Results:

  6. 2 Sample t-Test Results

    Now the p-value is .07, indicating a fail to reject H0. What changed? Hint: Compare the SE Mean of the Paired t-test to the Std Error Difference of the unpaired two-sample t-test. Where does the additional variability come from in the two-sample t-test? The paired t-test is the appropriate test to use here.

Click here to download a Free 30-Day Trial.