Skip to main content

t-Tests for Independent and Correlated Samples

"To call in the statistician after the experiment is done may be no more than asking him to perform a post-mortem examination." — R.A. Fisher

The four variants of the t-test for two means cover every practical research scenario in psychology — small or large samples, independent or paired groups. Mastering these formulas and the step-by-step testing process is essential for IGNOU MAPC exams and real-world research.


📄 Source Material​

Source PDFs:


1. The Four Situations: Overview​

SituationSample TypeSizeFormula Used
1Independent (Uncorrelated)Large (N > 30)CR with Z distribution
2Independent (Uncorrelated)Small (N ≤ 30)t formula with pooled SD
3Correlated (Dependent)Large (N > 30)t with r₁₂ correction
4Correlated (Dependent)Small (N ≤ 30)Difference method or r₁₂ method

2. Situation 1: Two Large Independent Samples (N > 30)​

Already covered in the previous section (CR formula). Use: CR=M1∼M2σ12N1+σ22N2CR = \frac{M_1 \sim M_2}{\sqrt{\frac{\sigma_1^2}{N_1} + \frac{\sigma_2^2}{N_2}}}

Compare CR to ±1.96 (at .05) or ±2.58 (at .01). Use t-table for df = N₁ + N₂ – 2 when N is close to 30.


3. Situation 2: Two Small Independent Samples (N ≤ 30)​

For small samples, we use a pooled standard deviation estimate:

Formula (when raw scores are given):​

t=M1∼M2∑d12+∑d22N1+N2−2×N1+N2N1×N2t = \frac{M_1 \sim M_2}{\sqrt{\frac{\sum d_1^2 + \sum d_2^2}{N_1 + N_2 - 2} \times \frac{N_1 + N_2}{N_1 \times N_2}}}

Where d₁ = (X₁ – M₁) and d₂ = (X₂ – M₂)

Formula (when statistics are given, no raw data):​

t=M1∼M2σ12(N1−1)+σ22(N2−1)N1+N2−2×N1+N2N1×N2t = \frac{M_1 \sim M_2}{\sqrt{\frac{\sigma_1^2(N_1-1) + \sigma_2^2(N_2-1)}{N_1 + N_2 - 2} \times \frac{N_1 + N_2}{N_1 \times N_2}}}

df = (N₁ – 1) + (N₂ – 1) = N₁ + N₂ – 2


Worked Example: Urban vs. Rural Boys (N < 30)​

Attitude toward vocational courses test:

Urban Boys (N₁ = 10): Scores = 6, 7, 8, 10, 15, 16, 9, 10, 9, 10
→ M₁ = 10, Σd₁² = 92

Rural Boys (N₂ = 5): Scores = 4, 3, 2, 1, 5
→ M₂ = 3, Σd₂² = 10

H₀: No difference in attitude (M_urban = M_rural)
Level: .05, two-tailed

t=10−392+1010+5−2×10+510×5=710213×0.30=77.85×0.30=72.355=71.535≈4.46t = \frac{10 - 3}{\sqrt{\frac{92 + 10}{10 + 5 - 2} \times \frac{10 + 5}{10 \times 5}}} = \frac{7}{\sqrt{\frac{102}{13} \times 0.30}} = \frac{7}{\sqrt{7.85 \times 0.30}} = \frac{7}{\sqrt{2.355}} = \frac{7}{1.535} \approx 4.46

df = 13; t-table at .05, df=13: 2.16

Obtained t = 4.46 >> 2.16 → Reject H₀

Interpretation: Urban and rural boys differ significantly in their attitude toward vocational courses (p < .05). This is a real difference, not due to chance.


4. Situation 3: Two Large Correlated Samples (N > 30)​

When the same group is tested twice (pre-post), or matched pairs are used, the two sets of scores are correlated. The standard formula must be adjusted using the correlation coefficient (r₁₂):

t=M1∼M2σM12+σM22−2r12σM1σM2t = \frac{M_1 \sim M_2}{\sqrt{\sigma_{M_1}^2 + \sigma_{M_2}^2 - 2r_{12}\sigma_{M_1}\sigma_{M_2}}}

Where: σM1=σ1N,σM2=σ2N\sigma_{M_1} = \frac{\sigma_1}{\sqrt{N}}, \quad \sigma_{M_2} = \frac{\sigma_2}{\sqrt{N}}

df = N – 1 (since it's the same group)

Why Include r₁₂?​

In correlated designs, individual differences are controlled — a high scorer at pre-test tends to score high at post-test too. The r₁₂ term removes this shared variance, giving a more sensitive (powerful) test.


Worked Example: Training Achievement (Large Correlated)​

64 students tested before and after vocational training:

Mσ
Before training52.507.25
After training58.705.30
r₁₂ = 0.50, N = 100 (implied)

Step 1: Calculate σM values σM1=7.25100=0.725,σM2=5.30100=0.530\sigma_{M_1} = \frac{7.25}{\sqrt{100}} = 0.725, \quad \sigma_{M_2} = \frac{5.30}{\sqrt{100}} = 0.530

Step 2: Apply correlated formula t=58.70−52.50(0.725)2+(0.530)2−2(0.50)(0.725)(0.530)t = \frac{58.70 - 52.50}{\sqrt{(0.725)^2 + (0.530)^2 - 2(0.50)(0.725)(0.530)}} =6.20.5256+0.2809−0.3848=6.20.4217=6.20.6494≈9.54= \frac{6.2}{\sqrt{0.5256 + 0.2809 - 0.3848}} = \frac{6.2}{\sqrt{0.4217}} = \frac{6.2}{0.6494} \approx 9.54

df = 99; t at .01 = 2.36; Obtained t = 9.54 >> 2.36 → Reject H₀

Interpretation (One-tailed): The gain after training is highly significant. Vocational training produced real improvement (p < .01).


5. Situation 4: Two Small Correlated Samples (Difference Method)​

When N ≤ 30 and you have paired/correlated data, use the difference method — simpler and does not require computing r₁₂:

Steps:​

  1. Compute D = (Post – Pre) for each subject
  2. Calculate MD = ΣD / N
  3. Compute SD = √[Σd²/(N–1)] where d = D – MD
  4. Calculate SE_DM = SD / √N
  5. Compute t = MD / SE_DM
  6. df = N – 1

Worked Example: Pre-test / Post-test (N = 12)​

12 subjects; Pre-test and Post-test scores given.

SubjectPostPreD = Post-Pred = D–MDd²
14042-2-10100
2625012+416
3615110+24
435269+11
53035-5-13169
6524210+24
76860800
8514110+24
9847014+636
10503812+416
11726210+24
126355800
TotalΣD=96Σd²=354

MD=9612=8MD = \frac{96}{12} = 8 SD=35411=32.18=5.67SD = \sqrt{\frac{354}{11}} = \sqrt{32.18} = 5.67 SEDM=5.6712=5.673.46=1.64SE_{DM} = \frac{5.67}{\sqrt{12}} = \frac{5.67}{3.46} = 1.64 t=81.64=4.88,df=11t = \frac{8}{1.64} = 4.88, \quad df = 11

t-table at .01, df=11: 3.11 (approximately); Obtained t = 4.88 → Reject H₀

Interpretation: The gain on post-test is real and statistically significant in 99 out of 100 cases.


6. Step-by-Step Process for Significance Testing​


7. Type I and Type II Errors​

Every decision in hypothesis testing risks one of two errors:

Type I Error (α Error)​

  • Definition: Rejecting H₀ when it is actually TRUE
  • Also called: False positive / Alpha error
  • Probability: = Level of significance (p = .05 or .01)
  • Example: Concluding training improves performance when it actually doesn't

Type II Error (β Error)​

  • Definition: Retaining H₀ when it is actually FALSE
  • Also called: False negative / Beta error
  • Probability: Higher when significance threshold is very strict (e.g., .001)
  • Example: Failing to detect a real training effect because your test was too conservative

The Trade-Off​

  • Stricter significance level (.01 vs .05) → reduces Type I error BUT increases Type II error
  • More lenient level (.05) → reduces Type II error BUT increases Type I error
  • Larger N → reduces both errors simultaneously
H₀ TrueH₀ False
Reject H₀Type I Error (α)✅ Correct (Power = 1-β)
Retain H₀✅ CorrectType II Error (β)

8. Application in Indian Psychological Research​

IGNOU Research Context​

IGNOU's own research evaluations often compare student performance across different instructional conditions (print-based vs. multimedia). When sample sizes are small (as in experimental sub-groups), the small-sample t-test with pooled SD is essential.

Clinical Psychology (NIMHANS)​

Pre-post comparisons are the backbone of treatment efficacy research in Indian hospitals. A psychologist testing CBT effectiveness on 20 patients would use the difference method (small correlated samples) with df = 19.

Educational Psychology​

Studies comparing rural vs. urban students on achievement tests in India routinely use two large independent sample t-tests, with the assumption of approximate normality (valid for N > 30 per group).


🌐 External Resources​

Wikipedia​

Educational Videos​

Research Articles​

Additional Resources​


🧠 Memory Aids​

SIMPLE mnemonic for Hypothesis Testing Steps​

State hypothesis → Identify level → Match formula → Plug in values → Look up table → Evaluate result

Independent vs Correlated: "SAME or DIFFERENT?"​

Same group tested twice → Correlated (use r₁₂ or difference method)
Different groups compared → Independent (use pooled SD)

Type Errors Poem​

"Type ONE is fun — rejecting true null (false alarm!)
Type TWO is blue — missing a real effect (missed the norm!)"

Formula Navigator​

Is N large (>30)?
YES → Use CR/Z formulas
NO → Use t formulas with df = N₁+N₂-2 (independent) or N-1 (correlated)

Are groups independent?
YES → Use S.E.DM with σ₁²/N₁ + σ₂²/N₂
NO → Use r₁₂ correction OR difference method

✅ Self-Assessment Questions​

Recall Level​

  1. What are the four situations in which two means are compared? Give an example for each.
  2. State the formula for t when testing two small independent samples.
  3. What is Type I error? Give an example in the context of clinical psychology.

Application Level​

  1. A music interest test is given to 30 girls (M=40.39, σ=8.69) and 25 boys (M=35.81, σ=8.33). Calculate t and interpret results at .05 level (df = 53, t-table = 2.01).
  2. 10 subjects are tested before and after a memory training program (pre-test scores: 5, 15, 9, 11, 4, 9, 8, 13, 6, 16; post-test: 7, 9, 4, 15, 6, 13, 9, 5, 6, 12). Using the difference method, test if the gain is significant.

Analysis Level​

  1. A clinical psychologist sets the significance level at .001 to be "extra sure." What are the consequences for Type I and Type II errors? When might this strict level be justified?
  2. A researcher claims to use a one-tailed test because "training can only improve performance." Is this reasoning sound? What happens if the training actually harms performance — what error is the researcher vulnerable to?