Learn R Programming

PropCIs (version 0.3-0)

oddsratioci.mp: Adapted binomial score confidence interval for the subject-specific odds ratio with matched pairs

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

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

Run this code
# NOT RUN {
oddsratioci.mp(b = 40, c = 20, conf.level = 0.95)
# }

Run the code above in your browser using DataLab