This Web page accompanies the article:
Anderson-Cook, C. M., and Dorai-Raj, S. (2003), "Making the Concepts of Power and Sample Size Relevant and Accessible to Students in Introductory Statistics Courses using Applets,"
Journal of Statistics Education [Online], 11(3).
In hypothesis testing we make a decision about the state of nature based on data.
The following table represents the true state of nature (not known to the researcher) and the decision the researcher makes based on the data.
From the table we see that there are two possibilities of error.
|State of Nature|
|Null is true||Alternative is true|
|reject Null||Type I|
where the probabilities of these errors are defined as follows:
- Type I : rejecting the null hypothesis when the null hypothesis is true.
- Type II : failing to reject the null hypothesis when the null hypothesis is false.
Power will be the probability of being in the lower right cell of the table above.
For a fixed Type I error rate () the goal of constructing and testing a hypothesis is to maximize Power.
The purpose of these applets is to show how , and Power are related to each other.
Power is affected by the following:
- , the difference in means between the null and alternative distributions,
- n, the sample size, and
- , the Probability(Type I error).
The applet restricts the case to where the null and alternative distributions are both normal and only differ by a shift in the mean.
where 0 is fixed at 10 and 2 is fixed at 1.0.
The hypothesis of interest will be the right-tailed hypothesis:
Power is calculated using the following formula assuming 2 is known:
From (1), we see that Power is increased by
- increasing n,
- increasing , and
- increasing .
It should be noted that in practice, increasing is not a practical way of increasing Power and is only mentioned here to demonstrate the relationship between the Type I and Type II error rates.
View Instructions for this applet