UNIHIVE

Study Hub UNIPORT EDU 303.2

EDU 303.2 · Research Methods and Statistics

Hypothesis testing and the t-test

Null and alternative hypotheses, significance, errors, and comparing two means.

Our notes

2 min read

The logic

We cannot study every member of a population, so we test a claim with a sample and ask: could this result have arisen by chance?

Hypotheses

  • Null hypothesis (H₀): no difference or no relationship. There is no significant difference in the mean achievement of students taught with and without visual aids.
  • Alternative (H₁): there is a difference (two-tailed) or a difference in a stated direction (one-tailed).

Education projects usually state H₀ and test it.

Significance level

α, usually 0.05: the risk we accept of rejecting a true H₀.

Errors

H₀ trueH₀ false
Reject H₀Type I error (α)Correct
Do not reject H₀CorrectType II error (β)

Steps

  1. State H₀ and H₁.
  2. Choose α.
  3. Choose the test.
  4. Calculate the statistic.
  5. Find the critical value (tables, with degrees of freedom).
  6. Decide: if the calculated value exceeds the critical value (or p < α), reject H₀.
  7. State the conclusion in words.

Parametric tests

Assume interval or ratio data, roughly normal distributions and similar variances.

TestUse
z-testLarge samples, known σ
t-testComparing two means
ANOVA (F-test)Comparing three or more means
Pearson's rRelationship

Independent t-test: worked example

Group A (visual aids): n = 10, mean 62, SD 8. Group B (lecture only): n = 10, mean 55, SD 6.

Pooled variance = ((n₁ − 1)s₁² + (n₂ − 1)s₂²) ÷ (n₁ + n₂ − 2) = (9 × 64 + 9 × 36) ÷ 18 = 900 ÷ 18 = 50.

Standard error = √(50 × (1/10 + 1/10)) = √10 ≈ 3.162.

t = (62 − 55) ÷ 3.162 ≈ 2.21.

df = 10 + 10 − 2 = 18. Critical t (two-tailed, α = 0.05) = 2.101.

2.21 > 2.101: reject H₀. Students taught with visual aids scored significantly higher.

Check by a second route: with equal group sizes, SE = √(s₁²/n₁ + s₂²/n₂) = √(64/10 + 36/10) = √10. Same t.

Dependent (paired) t-test

For the same students tested twice (pre-test and post-test). It uses the differences for each student: t = mean difference ÷ (SD of differences ÷ √n), with n − 1 df.

ANOVA in a sentence

It compares several group means at once by comparing variation between groups with variation within groups (F = MS between ÷ MS within).

Significant is not the same as important

A tiny difference can be significant in a huge sample. Report the size of the difference too.

Exams usually ask

  • State a null hypothesis for a given study.
  • Carry out an independent t-test from summary data.

Common mistake

Saying "we accept H₀". Say "we do not reject H₀": the data were not strong enough to show a difference.

Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.

Read

Watch

We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.

All EDU 303.2 topics

Report

Sign in to report this. It is free.

Is this your work (a lecturer, author or publisher)? Ask us to take it down.