oddsratioci.mp: Adapted binomial score confidence interval for the...

Description Usage Arguments Value References Examples

View source: R/oddsratioci.mp.R

Description

Adapted binomial score confidence interval for the subject-specific odds ratio with matched pairs. This uses the Wilson score CI for a binomial parameter with the off-diagonal counts.

Usage

1
oddsratioci.mp(b, c, conf.level)

Arguments

b

off-diagonal count

c

off-diagonal count

conf.level

confidence coefficient

Value

A list with class '"htest"' containing the following components:

conf.int

a confidence interval for the difference in proportions.

References

A. Agresti and Y. Min, (2005) Simple improved confidence intervals for comparing matched proportions. Statistics in Medicine 24 (5), 729–740.

Examples

1
oddsratioci.mp(b = 40, c = 20, conf.level = 0.95)

Example output

data:  

95 percent confidence interval:
 0.2941510 0.8499038

PropCIs documentation built on May 2, 2019, 5:49 a.m.