wald.cc: Calculates a Wald confidence interval with continuity... In diffdepprop: Calculates Confidence Intervals for two Dependent Proportions

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) 

diffdepprop documentation built on May 29, 2017, 2:48 p.m.