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:
- ๐ Block-3/Unit-2.pdf โ Pages 55โ67
- ๐ MPC-006 Statistics in Psychology, Block 3
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:
- Quantify the expected random variation in mean differences (S.E.DM)
- Compare your observed difference to this expected variation (Critical Ratio or t)
- 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:
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:
- 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?
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โ
| Level | Critical Value (large N) | Decision Rule |
|---|---|---|
| .05 (95%) | ยฑ1.96 | Reject Hโ if |
| .01 (99%) | ยฑ2.58 | Reject 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.
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โ
- The variable being measured is normally distributed in the population
- No pre-existing difference between population means (Hโ: Mโ = Mโ)
- Samples drawn by random method from the population
- 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:
| Group | N | M | SD |
|---|---|---|---|
| Boys | 65 | 52 | 13 |
| Girls | 60 | 48 | 12 |
Hโ: No sex difference in intelligence (M_Boys = M_Girls)
Test: Two-tailed, large independent samples
Step 1: Calculate ฯ_DM
Step 2: Calculate CR
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โ
- Student's t-test โ Full theoretical treatment
- Null hypothesis โ Logic and history
- One- and two-tailed tests โ Visualization
Educational Videosโ
- ๐ฅ Hypothesis Testing โ CrashCourse Statistics
- ๐ฅ One vs Two Tailed Tests โ Statistics Made Easy
Research Articlesโ
- Benjamin, D.J. et al. (2021). Redefine statistical significance. Nature Human Behaviour.
- Lakens, D. (2022). Sample size justification. Collabra: Psychology.
Additional Resourcesโ
- Khan Academy โ Hypothesis Testing
- Scribbr โ Null and Alternative Hypothesis
- Statistics How To โ Critical Ratio
- NIST โ Two-Sample t-test
๐ง 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 System | Statistics |
|---|---|
| Defendant | Null Hypothesis |
| Innocent until proven guilty | Hโ assumed true |
| Evidence beyond reasonable doubt | CR/t exceeds critical value |
| Verdict: Guilty | Reject Hโ |
| Verdict: Not guilty | Retain Hโ |
โ Self-Assessment Questionsโ
Recall Levelโ
- What is the null hypothesis? Why is it called "null"?
- State the formula for the Critical Ratio (CR) for two large independent samples.
- What is the difference between a one-tailed and two-tailed test? When is each appropriate?
Application Levelโ
- 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.
- 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โ
- A study finds CR = 2.01. Interpret the result at both .05 and .01 levels. What type of error is possible in each case?
- 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?