Wald interval for a difference of proportions with matched pairs

Share:

Description

Wald interval for a difference of proportions with matched pairs.

Usage

1
diffpropci.Wald.mp(b, c, n, conf.level)

Arguments

b

off-diag count

c

off-diag count

n

sample size

conf.level

confidence coefficient

Details

The interval is truncated, when it overshoots the boundary

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 c-b/n

References

D. G. Altman (1999) Practical statistics for medical research. London, Chapman & Hall

Examples

1
diffpropci.Wald.mp(b = 3, c = 9, n = 32, conf.level = 0.95)