Probability of Error in Hypothesis Testing
Loading the math board and drawing, please wait…
① This interactive GeoGebra example visualizes the probabilities of Type I (α) and Type II (β) errors in hypothesis testing, making abstract statistical concepts tangible. ② Core mathematical concepts include normal distribution, significance level, alternative hypothesis, test power, and the trade-off between the two error types. ③ Construction highlights: uses InverseNormal to compute critical values, Normal to plot distribution curves, and Integral to calculate shaded areas representing error probabilities; sliders for α, σ, μ₀, μₐ and dynamic text objects (text1–text7) display real-time values. ④ Suitable for high school or introductory college statistics courses, ideal for classroom demonstrations or self-paced exploration of hypothesis testing fundamentals.
GeoGebra Commands & Parameters
InverseNormal(μ_{0}, σ, 1 - α) → eNormal(μ_{0}, σ, x, false) → fNormal(μ_{a}, σ, x, false) → gIntegral(g, -100, e) → dIntegral(f, e, 100) → cIntegral(g, e, 100) → a
AI Drawing Prompt Reference
Create a statistical plot illustrating Type I and Type II error probabilities in hypothesis testing. Draw two normal distribution curves on the same axes: one centered at the null hypothesis mean and the other at the alternative hypothesis mean, both with equal standard deviation. Mark a vertical critical line on the right tail of the null distribution, determined by the significance level. Shade three regions: the area under the null curve to the right of the critical line (Type I error), the area under the alternative curve to the left of the critical line (Type II error), and the area under the alternative curve to the right of the critical line (test power). Include sliders to adjust the significance level, standard deviation, null mean, and alternative mean, which dynamically update the curves, critical line, and shaded areas. Display numerical values of these probabilities as text labels that update in real time.
The prompt above was compiled from the original drawing commands and is for reference only.