Problem Settings
Two independent groups
Control Treatment Size Percentage
of InterestOne-tailed hypothesis testing
Significance level (type I error):
Statistical power (1 - type II error):
Percentage of Interest in sample:
and
The sampling distribution of the difference,
Therefore,
Type I Error in Testing
Given
If we have two equal-size groups, i.e.,
Type II Error in Testing
Since
Solve Equation for n
That is,
n is the sample size for each group. In other words, the total sample size is
. is the critical value at the significance level of in a one-tailed test. will be replaced with in a two-tailed test.
Suppose
Therefore,
View / Make Comments