Power Applet

How it works: Students can generate multiple random samples and plot the means in a dot plot. This can help understand how the power of a hypothesis test changes as the sample size changes.

Power Applet

How it works: Students can generate multiple random samples and plot the means in a dot plot. This can help understand how the power of a hypothesis test changes as the sample size changes.

Parameters:

<param name=slider value="n"> - specifies which parameter is controlled by the slider. Possibilities are "n" (sample size), "mu" (true mean), and "sigma" (true standard deviation).
<param name=values value="100,105,100,0.1,10,5"> - six numbers separated by commas --

  1. minimum slider value for the adjustable parameter
  2. maximum slider value for the adjustable parameter
  3. starting slider value for the adjustable parameter
  4. slider increment amount for the adjustable parameter (how much it increases/decreases for each click on an arrow on the slider)
Then 5. and 6. should be two out of the following three values: truemean, sample size, sigma in that order. (Leave out the one that's adjustable with the slider.)
<param name=nullmean value="100"> - null hypothesized value (default: 100)
<param name=alpha value="0.05"> - the Type I error rate (default: 0.05)

west@stat.sc.edu.