Power of a hypothesis test (large sample version)

Power of a hypothesis test (large sample version)
Loading the math board and drawing, please wait…
2015-01-12 07:45
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

  1. Point(baseline) → mu1Point
  2. InverseNormal(mu0, sigma0, 1 - alpha / 2) → nullRightThreshold
  3. InverseNormal(mu0, sigma0, alpha / 2) → nullLeftThreshold
  4. Normal(mu0, sigma0, x) → nullDist
  5. Segment((nullLeftThreshold, nullDist(nullLeftThreshold)), (nullLeftThreshold, 0)) → leftThresholdLine
  6. Segment((nullRightThreshold, nullDist(nullRightThreshold)), (nullRightThreshold, 0)) → rightThresholdLine
  7. IntegralBetween(f, baseline, nullLeftThreshold, nullRightThreshold) → T2Region
  8. IntegralBetween(f, baseline, Min[leftBound, mu1 - (4 * sigma1)], nullLeftThreshold) → leftPowerRegion
  9. IntegralBetween(f, baseline, nullRightThreshold, Max[rightBound, mu1 + (4 * sigma1)]) → rightPowerRegion
  10. Textfield(alpha) → alphaInputBox
  11. IntegralBetween(nullDist, 0, leftBound, nullLeftThreshold) → t1lefttail
  12. IntegralBetween(nullDist, 0, nullRightThreshold, rightBound) → t1righttail
  13. Textfield(difference) → differenceInputBox
  14. Segment((nullLeftThreshold, 0), (nullLeftThreshold, offset)) → leftThresholdLine2
  15. Segment((nullRightThreshold, 0), (nullRightThreshold, offset)) → rightThresholdLine2
  16. Segment((mu0, 0), (mu0, offset)) → mu0Guideline
  17. Vector((mu0, offset - 0.3), (mu1, offset - 0.3)) → differenceLine
  18. Segment((mu0, offset - 0.27), (mu0, offset - 0.33)) → differenceLineLeftEnd
  19. Segment((mu1, offset - 0.27), (mu1, offset - 0.33)) → differenceLineRightEnd
  20. Segment((nullLeftThreshold, nullDist(nullLeftThreshold)), (nullLeftThreshold, 1.8)) → leftRejectLine
  21. Segment((nullRightThreshold, nullDist(nullRightThreshold)), (nullRightThreshold, 1.8)) → rightRejectLine
  22. Vector((nullLeftThreshold, 1.65), (nullLeftThreshold - 0.26, 1.65)) → leftRejectArrow
  23. Vector((nullRightThreshold, 1.65), (nullRightThreshold + 0.26, 1.65)) → rightRejectArrow
  24. Segment((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.