Power of a hypothesis test (large sample version)
Loading the math board and drawing, please wait…
This applet provides a visual representation of statistical power in hypothesis testing, illustrating the relationship between power, sample size, and standard deviation. Key mathematical concepts include statistical power, sample size, standard deviation, and hypothesis testing. Construction involves GeoGebra commands such as Point, InverseNormal, Normal, Segment, and others. Suitable for high school or university statistics courses to help students grasp statistical testing principles.
GeoGebra Commands & Parameters
Point(baseline) → mu1PointInverseNormal(mu0, sigma0, 1 - alpha / 2) → nullRightThresholdInverseNormal(mu0, sigma0, alpha / 2) → nullLeftThresholdNormal(mu0, sigma0, x) → nullDistSegment((nullLeftThreshold, nullDist(nullLeftThreshold)), (nullLeftThreshold, 0)) → leftThresholdLineSegment((nullRightThreshold, nullDist(nullRightThreshold)), (nullRightThreshold, 0)) → rightThresholdLineIntegralBetween(f, baseline, nullLeftThreshold, nullRightThreshold) → T2RegionIntegralBetween(f, baseline, Min[leftBound, mu1 - (4 * sigma1)], nullLeftThreshold) → leftPowerRegionIntegralBetween(f, baseline, nullRightThreshold, Max[rightBound, mu1 + (4 * sigma1)]) → rightPowerRegionTextfield(alpha) → alphaInputBoxIntegralBetween(nullDist, 0, leftBound, nullLeftThreshold) → t1lefttailIntegralBetween(nullDist, 0, nullRightThreshold, rightBound) → t1righttailTextfield(difference) → differenceInputBoxSegment((nullLeftThreshold, 0), (nullLeftThreshold, offset)) → leftThresholdLine2Segment((nullRightThreshold, 0), (nullRightThreshold, offset)) → rightThresholdLine2Segment((mu0, 0), (mu0, offset)) → mu0GuidelineVector((mu0, offset - 0.3), (mu1, offset - 0.3)) → differenceLineSegment((mu0, offset - 0.27), (mu0, offset - 0.33)) → differenceLineLeftEndSegment((mu1, offset - 0.27), (mu1, offset - 0.33)) → differenceLineRightEndSegment((nullLeftThreshold, nullDist(nullLeftThreshold)), (nullLeftThreshold, 1.8)) → leftRejectLineSegment((nullRightThreshold, nullDist(nullRightThreshold)), (nullRightThreshold, 1.8)) → rightRejectLineVector((nullLeftThreshold, 1.65), (nullLeftThreshold - 0.26, 1.65)) → leftRejectArrowVector((nullRightThreshold, 1.65), (nullRightThreshold + 0.26, 1.65)) → rightRejectArrowSegment((mu0, offset), (mu0, offset - 0.05)) → altOriginMark
AI Drawing Prompt Reference
This is a graphic showing the power of a hypothesis test. It includes a baseline line, two critical threshold lines, a distribution curve, a sample mean point, a difference line, and some marking lines. The construction order is to first draw the baseline and distribution curve, then determine the critical thresholds, next draw the threshold lines, sample mean point, and difference line, and finally add markings and arrows to indicate key points.
The prompt above was compiled from the original drawing commands and is for reference only.