Hypothesis Test Power Analysis by David Gurney

Hypothesis Test Power Analysis by David Gurney
Loading the math board and drawing, please wait…
2016-11-11 00:28
This example demonstrates how to analyze the power of a hypothesis test by adjusting its parameters. Key mathematical concepts include hypothesis testing and power analysis in probability & statistics. GeoGebra commands such as Mod, Element, If, and Normal are used to construct the graph. Suitable for high school or university statistics courses.

GeoGebra Commands & Parameters

  1. Mod((seed * RndFct), Cmpst) → Nmb1
  2. Element(Z1TSq, Chc3) → Zc1T
  3. Element(Z2TSq, Chc3) → Zc2T
  4. If(Chc2 < 3, Zc1T, Zc2T) → Zc
  5. Element(MuSq, Chc1) → Mu0
  6. Element(NSq, Chc1) → N
  7. Element(SDSq, Chc1) → SD
  8. Element(AccSq, Chc1) → Acc
  9. If(Mod[Chc2, 2] ≟ 0, Mu1L, Mu1R) → Mu1
  10. If(Mod[Chc2, 2] ≟ 0, Xcl, Xcr) → Xc
  11. Element(IE1Sq, Chc2) → IE1
  12. Element(IE2Sq, Chc2) → IE2
  13. Element(AlphSq, Chc3) → Alph
  14. Normal(Mu1, SE, Xc) → PrbLf
  15. If(Chc2 ≟ 2, PrbLf, If[Chc2 ≟ 1, PrbRt, PrbTT]) → Prb
  16. If(Prb < 0.001, "less than 0.001", If[Prb > 0.999, "more than 0.999", ("about " * Prb)]) → PrbTx
  17. If(Prc < 0.01, "less than 0.1%", If[Prc > 99.9, "more than 99.9%", (("about " * Prc) * "%")]) → PrcTx
  18. If(Chc2 < 3, ((" is " * Xc) * "."), (((("s are " * Xcl) * " and ") * Xcr) * ".")) → CVTx