wald.cc:
Calculates a Wald confidence interval with continuity correction
Description
wald.cc gives a two-sided Wald confidence interval with
continuity correction for the difference of two dependent proportions.
The continuity correction factor is $\frac{1}{n}$. Data are assumed to
be of a fourfold table, which contains the numbers of concordance
and the numbers of discordance of two dependent methods.
Usage
wald.cc(b, c, n, alpha)
Arguments
b
first number of discordant pairs in a fourfold table as described above
c
second number of discordant pairs in a fourfold table as described above
n
number of observed objects
alpha
type I error; between zero and one
Value
A list with class '"htest"' containing the following components:
conf.int
a confidence interval for the difference in proportions
estimate
estimated difference in proportions
References
Fleiss, Joseph L. et al. (2003). Statistical Methods for Rates and Proportions. Wiley.