[Note: because of size, this page does not have the normal navigation. Use your browser's back button on the link below to return to the index and the regular navigation.

Return to Index

Hypothesis Testing

Use the sliders to change any of the values: p for the population probability, p0 for the hypothesized value to be tested, n for the number in the sample, and alpha for the two-tailed probability of the test. Changing a slider resets all the other graphs and tables.

Click on "Draw Sample" to observe: the sample in the upper left window, the z-score displayed in the graph in the upper right, the results summar in the table middle right, and the summary graph of errors and correct decisions in the bar chart in the lower right. Click on the "Draw Sample" button several times to see how the windows change with each new sample. Note that the most recent sample is displayed in the first row of the table. Scroll the table (if necessary) to see all the results.

Once you have a sense of drawing one sample, click on the "Draw Many Samples" button to generate 50 new samples at once. You will see the bar in the upper right graph jump around to the value of the z-test for each sample. Hovering the mouse over the bars in the lower right graph reveals the exact proportion in each bar.

This applet is very large so it has been placed here on a bare-bones web page instead of the fancier pages used for the other applets. A solution might be to have a small applet on a regular page that would pop-up a window containing this larger applet.