Calculating the Power of a Hypothesis Test

Calculating the Power of a Hypothesis Test
Loading the math board and drawing, please wait…
2017-11-15 03:14
This example demonstrates how to calculate the power of a hypothesis test using GeoGebra. It involves core statistical concepts such as the normal distribution, standard deviation, and sample size. Key construction elements include commands like Mod, Element, If, Normal, and objects like seed, RndFct, Cmpst, Nmb1. Suitable for high school students and beginners in statistics.

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