◀ CONTENTSSTA503 · VOL.1EP.2 · Hypotheses & p-valuesMISSIONS 0/10LV 10 XP
VOL.1 · EP.2 · §§1.2

Hypotheses & p-values

/StatsMadeFun/sta503/hypothesis
SENSEI RANK
Reject H₀? Let the curve decide.
EP.2 · THE NULL SHIELD
The shield broke. Now learn every rule of the duel before Normy rebuilds it.
Null hypothesis H₀The status quo: “no difference, no effect”. It's the shield you try to break. Example: the new sambal is no spicier than before (μ = μ₀).
Alternative hypothesis H₁Your actual claim, the one you need evidence for. Example: the new sambal is spicier (μ > μ₀).
Simple vs compositeSimple: the hypothesis pins the parameter to one value (μ = μ₀). Composite: it allows a range (μ > μ₀, μ ≠ μ₀, μ ≤ μ₀).
Significance level αThe largest risk you accept of rejecting a true H₀ (a Type I error). Usually 0.05.
Test statistic & critical valueThe test statistic is forged from your sample (Mikey's z = 1.86). For α = 0.05 one-sided, the critical value is 1.645: reject H₀ if z > 1.645.
p-valueAssuming H₀ is true, the probability of a test statistic at least as extreme as yours. Mikey's p ≈ 0.031.
The golden rulep ≤ α → reject H₀: statistically significant. p > α → fail to reject H₀: the shield holds. Failing to reject is NOT proof that H₀ is true.
Type I, Type II, powerType I: reject a true H₀ (probability α). Type II: keep a false H₀ (probability β). Power = 1 − β. With d = 0.5 and α = 0.05 one-sided, a z-test needs n = 25 for 80% power.
The 4-step procedureAssumptions → Hypotheses → Test statistic → Decision rule, then a plain-language conclusion.
Confidence interval ↔ testAt level α, H₀: θ = θ₀ is rejected exactly when θ₀ is outside the 100(1 − α)% CI. With a 95% CI of [60, 80], θ₀ = 85 is rejected and θ₀ = 70 is not.
EfficiencyRelative efficiency of A to B = n_B / n_A for equal power. Pitman's ARE is the large-sample limit: Wilcoxon vs t under normality = 3/π ≈ 0.955.
Statistical ≠ practicalWith n ≈ 5000, a 0.3 mm Hg change (σ = 10) reaches p < 0.05. Always ask whether the effect is big enough to matter.
START THE MISSIONS
MISSION 1 OF 10

Rejection zone

+10 XP
HOW TO PLAY
  1. Pick one- or two-sided and an α. The shaded tail is where you reject H₀.
  2. Drag the slider (or use ±0.1) to move the test statistic z.
  3. Watch the p-value: it drops below α exactly when z enters the shade.
CLEARS WHENyour z is inside the shaded rejection region.
1.645z = 0.80
critical z
1.645
p-value
0.2119
DO NOT REJECT
p = 0.2119 ≥ α, so the statistic is outside the rejection zone.

ALL MISSIONS IN THIS EPISODE