Hypothesis Testing: Proportion or Mean
Loading the math board and drawing, please wait…
This example demonstrates the process of hypothesis testing for proportions or means, visually showing the relationship between test results and theoretical distributions. Key math concepts include hypothesis testing, normal distribution, test statistic, p-value, and power. Construction highlights involve GeoGebra commands like Mod, Sequence, Element, If, Normal, Min, TDistribution, and objects such as MnXbrSq, Seed, Op00. Suitable for high school and above mathematics and statistics education for teaching and concept illustration.
GeoGebra Commands & Parameters
Mod(Op00, 2) → Op06Sequence(Mod[8 + (89 * k), 192] + 50, k, 1, 40) → OpSq1Element(OpSq1, Seed) → OpNm01Mod(OpNm01, 2) → Op01Mod(OpNm05, 2) → Op05If(Op06 ≟ 0, Element[MnRFSq, Op00 / 2], 1) → MnRFIf(Op06 ≟ 0, Element[MnSDSq, Op00 / 2], 1) → MnSDIf(Op06 ≟ 0, Element[MnNSq, Op00 / 2], 30) → MnNIf(Op03 < 2, -1, If[Op03 > 3, 1, 0]) → TpNmElement(CnfSq, Op02) → CnfIf(TpNm ≟ 0, (-InverseTDistribution[MnN - 1, α / 2]), (-InverseTDistribution[MnN - 1, α])) → CVTIf(Op06 ≟ 1, Element[PpNSq, (Op00 + 1) / 2], 100) → PpNIf(Op06 ≟ 1, Element[PpXSq, (Op00 + 1) / 2], 75) → PpXMod(OpNm04, 2) → Op04If(Op01 ≟ 0, -1, 1) → RndDrIf(TpNm ≟ 0, (-InverseNormal[0, 1, α / 2]), (-InverseNormal[0, 1, α])) → CVZIf(PpPH < PpPp, -1, If[PpPH > PpPp, 1, 0]) → PpDtDrIf(PpDtDr ≟ -1, If[Op04 ≟ 1, 0, 1], If[Op04 ≟ 1, 0, -1]) → PpIEDrIf(PpIEDr ≟ 1, "is less than ", If[PpIEDr ≟ -1, "is more than ", "does not equal "]) → PpCnIETxIf(PpIEDr ≟ 1, "is less than ", If[PpIEDr ≟ -1, "is more than ", "equals "]) → PpIETxIf(Op06 ≟ 0, Element[MnXbrSq, Op00 / 2], 0) → MnMnIf(MnMn < Mu0, -1, If[MnMn > Mu0, 1, 0]) → MnDtDrIf(MnDtDr ≟ -1, If[Op04 ≟ 1, 0, 1], If[Op04 ≟ 1, 0, -1]) → MnIEDrIf(MnIEDr ≟ 1, "is less than ", If[MnIEDr ≟ -1, "is more than ", "equals "]) → MnIETxIf(PpDtDr ≟ -1, If[Op04 ≟ 1, " equals ", "is less than "], If[Op04 ≟ 1, " equals ", "is more than "]) → PpRlTxIf(PpPH > 0.5, PpPH, 1 - PpPH) → PpPHHIf(PpPH > 0.5, 1 - PpPH, PpPH) → PpPHLIf(Op03 < 3, -1, 1) → ClcDrNormal(0, 1, PpTS) → PpPVLT0Min(PpPVLT0, PpPVRT0) → PpPVhfIf(PpPVLT0 < 0.0001, 0.0001, PpPVLT0) → PpPVLT1If(PpPVTT0 < 0.0001, " < ", " = ") → PVTTsgIf(PpPVTT0 < 0.0001, 0.0001, PpPVTT0) → PpPVTT1If(PpPVRT0 < 0.0001, 0.0001, PpPVRT0) → PpPVRT1If(PpPVRT0 < 0.0001, " < ", " = ") → PVRTsgIf(PpPVLT0 < 0.0001, " < ", " = ") → PVLTsgIf(PpIEDr ≟ -1, " > ", If[PpIEDr ≟ 1, " < ", " ≠ "]) → PpDrSgAltIf(PpIEDr ≟ -1, " ≤ ", If[PpIEDr ≟ 1, " ≥ ", " = "]) → PpDrSgNllIf(PpIEDr ≟ -1, "right-tailed", If[PpIEDr ≟ 1, "left-tailed", "two-tailed"]) → PpTypTxIf(TpNm ≟ -1, "≤ ", " ≥ ") → PVKSgIf(PpIEDr ≟ -1, PpPVRT1, If[PpIEDr ≟ 1, PpPVLT1, PpPVTT1]) → PpPVIf(PpPV < α, "<", "≥") → PpCmpIEIf(PpPV < α, "reject", "keep") → PpDCSIf(PpPV < α, "is", "is not") → PpIONTxIf(PpPV < 0.0001, "<", "=") → PpPVsgElement(PSSq, Op00) → PS0TDistribution(MnN - 1, MnTS) → MnPVLT0If(MnPVLT0 < 0.0001, 0.0001, MnPVLT0) → MnPVLT1If(MnPVRT0 < 0.0001, 0.0001, MnPVRT0) → MnPVRT1Min(MnPVLT0, MnPVRT0) → MnPVhfIf(MnPVTT0 < 0.0001, 0.0001, MnPVTT0) → MnPVTT1If(MnIEDr ≟ -1, MnPVRT1, If[MnIEDr ≟ 1, MnPVLT1, MnPVTT1]) → MnPVIf(MnPV < 0.0001, "<", "=") → MnPVSgIf(MnPV < α, "<", "≥") → MnCmpIEIf(MnPV < α, "reject", "keep") → MnDCSIf(MnDtDr ≟ -1, If[Op04 ≟ 1, " equals ", "is less than "], If[Op04 ≟ 1, " equals ", "is more than "]) → MnRlTxIf(MnIEDr ≟ 1, "is less than ", If[MnIEDr ≟ -1, "is more than ", "does not equal "]) → MnCnIETxIf(MnIEDr ≟ -1, " > ", If[MnIEDr ≟ 1, " < ", " ≠ "]) → MnDrSgnAlIf(MnIEDr ≟ -1, " ≤ ", If[MnIEDr ≟ 1, " ≥ ", " = "]) → MnDrSgnNlIf(MnIEDr ≟ -1, "right-tailed", If[MnIEDr ≟ 1, "left-tailed", "two-tailed"]) → MnTpTxIf(MnPV < α, "is", "is not") → MnIONTx
AI Drawing Prompt Reference
Create a visual representation of hypothesis testing for proportions or means, showcasing normal and t distribution curves, test statistics, p-values, and power. The graph should illustrate the relationship between theoretical distributions and test outcomes, including left and right rejection regions, and decisions of acceptance or rejection under different scenarios. Use distinct colors for distributions and regions, and label key values.
The prompt above was compiled from the original drawing commands and is for reference only.