This script illustrates the variability of the test statistic and the connection to Type I error rates and power rates for different null and alternative hypotheses. Includes controls for population shape, mean, and standard deviation, sample size, alpha level and number of samples.
Note: To access this script, install the add-in at Collection: Interactive Teaching Modules. As of JMP 12 you can also run these modules from Help > Sample Data (underTeaching Resources >Teaching Scripts > Interactive Teaching Modules). In JMP 12 Student Edition, you can run these modules directly fromHelp > Teaching Demos.
Suggestions? Comments? Please reach out to JMP Academic's mia.stephens. Thanks!
Aug 2015: When the "Create Data Table" option is used, the script now writes out both the test statistics and the p-values to the data table.
Sept 2016: Fixed an issue with test statistics, improved scaling of the test statistic axes, added the ability to specify the null hypothesized values.