wald.cc {diffdepprop} | R Documentation |
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.
wald.cc(b, c, n, alpha)
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 |
A list with class '"htest"' containing the following components:
conf.int |
a confidence interval for the difference in proportions |
estimate |
estimated difference in proportions |
Daniela Wenzel, Antonia Zapf
Fleiss, Joseph L. et al. (2003). Statistical Methods for Rates and Proportions. Wiley.
# b=10, c=20, n=50, type I error is 0.05 conf.int=wald.cc(10,20,50,0.05)