wald.cc: Calculates a Wald confidence interval with continuity...

Description Usage Arguments Value Author(s) References Examples

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

1
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

Author(s)

Daniela Wenzel, Antonia Zapf

References

Fleiss, Joseph L. et al. (2003). Statistical Methods for Rates and Proportions. Wiley.

Examples

1
2
# b=10, c=20, n=50, type I error is 0.05
conf.int=wald.cc(10,20,50,0.05)


Search within the diffdepprop package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.