Learn R Programming

PropCIs (version 0.3-0)

diffpropci.Wald.mp: Wald interval for a difference of proportions with matched pairs

Description

Wald interval for a difference of proportions with matched pairs.

Usage

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

Arguments

b

off-diag count

c

off-diag count

n

sample size

conf.level

confidence coefficient

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

Details

The interval is truncated, when it overshoots the boundary

References

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

Examples

Run this code
# NOT RUN {
diffpropci.Wald.mp(b = 3, c = 9, n = 32, conf.level = 0.95)
# }

Run the code above in your browser using DataLab