Skip to main content

Testing Significance of Difference Between Two Means

"The null hypothesis is never proved or established, but is possibly disproved, in the course of experimentation." โ€” R.A. Fisher

When researchers compare two groups โ€” boys vs. girls, trained vs. untrained, urban vs. rural โ€” they need to determine whether the observed difference in means is real or merely due to chance. This is the domain of the significance test for two means.


๐Ÿ“„ Source Materialโ€‹

Source PDFs:


1. The Core Research Questionโ€‹

Scenario: You test the linguistic ability of 65 boys and 60 girls. Boys score M = 52 (SD = 13); girls score M = 48 (SD = 12). Girls score lower. Is this difference real โ€” reflecting a genuine population difference โ€” or could it easily have arisen from chance sampling?

To answer this, you must:

  1. Quantify the expected random variation in mean differences (S.E.DM)
  2. Compare your observed difference to this expected variation (Critical Ratio or t)
  3. Make a decision using a pre-set significance threshold

2. Sampling Distribution of Mean Differencesโ€‹

Imagine drawing 100 pairs of samples from two populations and computing the mean difference each time. The distribution of these 100 differences is the sampling distribution of mean differences.

Key properties:

  • Shape: Normal (bell-shaped)
  • Mean: Equal to the true difference between population means (Mpopโ‚ โ€“ Mpopโ‚‚)
  • Spread: Measured by Standard Error of the Difference of Means (S.E.DM)

3. Standard Error of the Difference of Means (S.E.DM)โ€‹

For two independent populations:

ฯƒDM=ฯƒ12N1+ฯƒ22N2\sigma_{DM} = \sqrt{\frac{\sigma_1^2}{N_1} + \frac{\sigma_2^2}{N_2}}

Where:

  • ฯƒโ‚, ฯƒโ‚‚ = Standard deviations of samples 1 and 2
  • Nโ‚, Nโ‚‚ = Sample sizes

This S.E.DM represents how much variability we'd expect in the difference between two sample means purely due to chance.


4. The Critical Ratio (CR)โ€‹

The Critical Ratio (CR) is the Z-score of the observed mean difference in the sampling distribution of differences:

CR=M1โˆผM2ฯƒDM=M1โˆผM2ฯƒ12N1+ฯƒ22N2CR = \frac{M_1 \sim M_2}{\sigma_{DM}} = \frac{M_1 \sim M_2}{\sqrt{\frac{\sigma_1^2}{N_1} + \frac{\sigma_2^2}{N_2}}}

  • When two populations are the same regarding a trait: Mโ‚ ~ Mโ‚‚ = 0 (null hypothesis)
  • CR tells you: How many standard errors does our observed difference deviate from zero?
CR vs t

Both CR and t are critical ratios. However:

  • CR uses the Z-distribution โ€” appropriate for large samples
  • t uses the t-distribution โ€” required for small samples (N < 30)
  • All t-values are critical ratios, but not all CR values are t-values

5. The Null Hypothesis (Hโ‚€)โ€‹

Definitionโ€‹

The null hypothesis (Hโ‚€) states that there is no true difference between two population means โ€” any observed sample difference is due to chance.

Hโ‚€: Mโ‚ = Mโ‚‚ (i.e., Mโ‚ ~ Mโ‚‚ = 0)

Alternative Hypothesis (Hโ‚/Hโ‚)โ€‹

If Hโ‚€ is rejected, the alternative hypothesis is accepted:

Hโ‚: Mโ‚ โ‰  Mโ‚‚ (two-tailed) OR Mโ‚ > Mโ‚‚ (one-tailed)

The Logicโ€‹

The null hypothesis works like the legal principle: "Innocent until proven guilty."

  • We assume no difference exists (innocent)
  • We collect evidence (sample data)
  • If evidence is strong enough, we reject the assumption (guilty verdict)

6. Levels of Significance for Two-Mean Testsโ€‹

LevelCritical Value (large N)Decision Rule
.05 (95%)ยฑ1.96Reject Hโ‚€ if
.01 (99%)ยฑ2.58Reject Hโ‚€ if

If CR = 1.79 (as in the boys/girls intelligence example below): 1.79 < 1.96 โ†’ Retain Hโ‚€ โ€” difference is not significant.


7. Two-Tailed vs. One-Tailed Testsโ€‹

Two-Tailed Testโ€‹

Used when you are interested in any difference โ€” either group could be higher.

  • Hโ‚€: Mโ‚ = Mโ‚‚
  • Hโ‚: Mโ‚ โ‰  Mโ‚‚
  • Rejection region: Both tails (2.5% each at .05 level)
  • Critical value at .05 = ยฑ1.96

Use when: Testing for sex differences in intelligence, comparing two therapies for effectiveness, etc.

One-Tailed Testโ€‹

Used when you predict a specific direction of difference.

  • Hโ‚€: Mโ‚ = Mโ‚‚
  • Hโ‚: Mโ‚ > Mโ‚‚ (only positive direction interests you)
  • Rejection region: Only one tail (5% at .05 level)
  • Critical value at .05 = 1.645 (not 1.96)

Use when: Testing whether training improves performance (you only care about gains, not losses), studying whether a drug increases reaction time, etc.

One-Tailed Test Caution

Using a one-tailed test when a two-tailed is appropriate inflates the chance of false positives. Always justify the directional prediction theoretically before data collection.


8. Basic Assumptions for Testing Two Meansโ€‹

  1. The variable being measured is normally distributed in the population
  2. No pre-existing difference between population means (Hโ‚€: Mโ‚ = Mโ‚‚)
  3. Samples drawn by random method from the population
  4. Sample sizes are reasonably large (especially for independent samples)

If these assumptions are violated, standard t/CR tests cannot be used โ€” non-parametric alternatives (Mann-Whitney U, Wilcoxon) are then appropriate.


9. Types of Sample Comparisonsโ€‹

Independent (Uncorrelated) Samplesโ€‹

Two groups are selected separately and randomly โ€” boys from one school, girls from another. No pairing between individuals.

Example: Comparing IQ of urban boys vs. rural girls in separate random samples.

Correlated (Dependent) Samplesโ€‹

  • Same group tested twice (pre-test / post-test design)
  • OR two groups matched on relevant variables (e.g., age-matched pairs)

Example: Testing vocabulary scores of the same 30 students before and after a language course.

The correlated formula accounts for the relationship (r) between the two sets of scores, giving a more sensitive test.


10. Worked Example: Two Large Independent Samplesโ€‹

Data:

GroupNMSD
Boys655213
Girls604812

Hโ‚€: No sex difference in intelligence (M_Boys = M_Girls)
Test: Two-tailed, large independent samples

Step 1: Calculate ฯƒ_DM ฯƒDM=13265+12260=16965+14460=2.6+2.4=5โ‰ˆ2.24\sigma_{DM} = \sqrt{\frac{13^2}{65} + \frac{12^2}{60}} = \sqrt{\frac{169}{65} + \frac{144}{60}} = \sqrt{2.6 + 2.4} = \sqrt{5} \approx 2.24

Step 2: Calculate CR CR=52โˆ’482.24=42.24โ‰ˆ1.79CR = \frac{52 - 48}{2.24} = \frac{4}{2.24} \approx 1.79

Step 3: Decision (df = 123, use df = 125 from table)

  • t at .05 level (df=125) = 1.98
  • t at .01 level (df=125) = 2.62
  • CR = 1.79 < 1.98 โ†’ Retain Hโ‚€

Interpretation: No significant sex difference in intelligence at either .05 or .01 level. The observed mean difference (52 vs. 48) is attributable to chance sampling fluctuations.


๐ŸŒ External Resourcesโ€‹

Wikipediaโ€‹

Educational Videosโ€‹

Research Articlesโ€‹

Additional Resourcesโ€‹


๐Ÿง  Memory Aidsโ€‹

Mnemonic for Decision Rules: "REACT"โ€‹

Reject Hโ‚€ when Evidence Accumulates Clearly beyond Threshold

  • Evidence = CR or t value
  • Threshold = 1.96 (at .05) or 2.58 (at .01)

Two-Tailed vs One-Tailed: "BOTH or ONE?"โ€‹

BOTH directions possible? โ†’ Two-tailed
ONE direction only predicted? โ†’ One-tailed

CR Formula in Wordsโ€‹

"Observed difference รท Expected random variation = How surprising is this result?"

The Jury Analogyโ€‹

Legal SystemStatistics
DefendantNull Hypothesis
Innocent until proven guiltyHโ‚€ assumed true
Evidence beyond reasonable doubtCR/t exceeds critical value
Verdict: GuiltyReject Hโ‚€
Verdict: Not guiltyRetain Hโ‚€

โœ… Self-Assessment Questionsโ€‹

Recall Levelโ€‹

  1. What is the null hypothesis? Why is it called "null"?
  2. State the formula for the Critical Ratio (CR) for two large independent samples.
  3. What is the difference between a one-tailed and two-tailed test? When is each appropriate?

Application Levelโ€‹

  1. Two independent groups are tested on memory: Group A (N=80, M=60, ฯƒ=10) and Group B (N=70, M=55, ฯƒ=12). Test whether the difference is significant at .05 and .01 levels.
  2. A researcher predicts that meditation will increase (not just change) attention scores. Which test direction should be used, and what critical value applies at .05 level?

Analysis Levelโ€‹

  1. A study finds CR = 2.01. Interpret the result at both .05 and .01 levels. What type of error is possible in each case?
  2. Two researchers study the same dataset: Researcher A uses a two-tailed test; Researcher B uses a one-tailed test. Researcher B finds significance at .05; Researcher A does not. How is this possible, and what are the ethical implications?