Hypothesis Testing: T-Test
Problem
Test if a tutoring program improved scores. Before: mean 65, After: mean 72, n = 15, s = 10.
Explanation
When to use the t-test (vs z-test)
Use the t-test when the population standard deviation is unknown and you use the sample standard deviation instead. The t-distribution has heavier tails than the normal, especially for small samples.
Step-by-step: paired t-test
Step 1 — Hypotheses:
(no improvement)
(improvement — one-tailed)
Step 2 — Test statistic:
Step 3 — Degrees of freedom: .
Step 4 — Critical value: For one-tailed , : .
Step 5 — Decision: . Reject .
t-distribution vs normal
The t-distribution is wider (heavier tails) than the normal, reflecting extra uncertainty from estimating . As increases, approaches the normal.
Try it in the visualization
The t-distribution with the appropriate df is drawn. The test statistic and critical value are marked. The rejection region is shaded.
Interactive Visualization
Parameters
Got your own math or physics problem?
Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.