In this app you can generate a sample of random numbers and perform a one-sample t-test. There are two choices for generating the sample, either normally distributed or uniformly distributed. Remember that although you can do a t-test on any values, one of the assumptions is that the data are normally distributed (or that it is a large sample, such that the central limit theorem applies). So using the uniform option in combination with a small n, is actually VERBOTEN!

After selecting a data set, you can choose the hypothesised mean μ which serves as the null hypothesis in the t-test. This will appear on the dot-plot as a horizontal line.

When you click on the check-box, a one-sample t-test will be performed. The test statistic (i.e. the standardised sample mean) will appear on the appropriate t-distribution and the regions beyond the critical value will be highlighted in blue. The output from the t-test will also be shown.