PsychologyOrbit
Sign in Join

Psychology dictionary

T-test

Definition

A parametric test comparing two means: independent t-test for two separate groups, related (paired) t-test for the same people measured twice.

Explanation

The t-test assumes interval or ratio data from roughly normal populations. The independent version also assumes similar variances in the two groups. The result is compared with a critical value using the degrees of freedom.

For an independent t-test with equal group sizes, df = n1 + n2 - 2. For a related t-test, df = number of pairs - 1.

Example

Comparing memory scores of a group that slept well with a group that did not.

Worked example

  1. Group A: 5, 7, 6, 8, 9 (mean 7). Group B: 3, 4, 5, 4, 4 (mean 4).
  2. Sum of squared deviations: A = 4 + 0 + 1 + 1 + 4 = 10; B = 1 + 0 + 1 + 0 + 0 = 2.
  3. Pooled variance = (10 + 2) / (5 + 5 - 2) = 12 / 8 = 1.5.
  4. Standard error of the difference = square root of [1.5 x (1/5 + 1/5)] = square root of 0.6 = 0.775.
  5. t = (7 - 4) / 0.775 = 3.87, df = 8.
  6. Critical t (df 8, two-tailed, 0.05) = 2.306, so the difference is significant.

Answer: t(8) = 3.87, significant at p < 0.05

Exam tip

To choose a test, ask: difference or correlation? Design? Level of data? A t-test fits a difference, interval data and either design.

Compare

Related terms

Written in plain English for students. It is a study aid, not clinical or medical advice. Back to the dictionary