where
and the margin of error for confidence level C is
where is the value for the standard Normal density curve with area C between and .
We recommend using this method when the number of successes and the number of failures in both samples are at least 10.
with -values from the distribution. In this statistic,
where is the pooled estimate of the common value of and ,
We recommend using this test when the number of successes and the number of failures in each of the samples are at least 5.
449
Here is the critical value for confidence C, and and are guessed values for and , the proportions of successes in the future sample.
Confidence intervals for relative risk are an alternative to confidence intervals for the difference when we want to compare two proportions.