Hypothesis Test for the Population Mean

    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.

     

    Watch video.

     

    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 (under Teaching Resources >Teaching Scripts > Interactive Teaching Modules). In JMP 12 Student Edition, you can run these modules directly from Help > Teaching Demos.

     

    Suggestions? Comments? Please reach out to JMP Academic's mia.stephens. Thanks!

     

    Revision notes:

    • 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.


    Suggestions? Comments? Please reach out to JMP Academic's Mia Stephens or Julian Parris.