## Instructions

This simulation illustrates the effect of

- sample size
- the difference between population mean and hypothesized mean
- the standard deviation
- the type of test (one-tailed or two)
- significance level on the power of a two-sample \(t\) test

You specify the difference between the population mean and hypothesized mean by either entering text in the box or by moving the slider. The population standard deviation can be entered in the box or specified by the pop-up menu. Finally, you specify the number of tails of the test. A power graph for the significance level \(0.10\), \(0.05\), and \(0.01\) significance levels as a function of sample size is displayed.

- Examine the power curves. The \(X\) axis shows sample size, the \(Y\) axis shows power. Note the effect of sample size and significance level on power.
- The default difference between the population mean and hypothesized mean is \(1.55\). Use the slider to change this value and note the effect on the power curves.
- Change the population standard deviation (\(sd\)) and notice its effect on power.
- Compare the power of one-tailed and two-tailed tests when the difference between the population mean and hypothesized mean is \(2\). Determine which is higher.
- Set the difference between the population mean and hypothesized mean to zero. Since the null hypothesis is true, the \(Y\) axis no shows the
**Type I** error rate, not power. Note the effect of sample size on the **Type I** error rate.
- Determine the effect of changing the standard deviation on the
**Type I** error rate.