Learn R Programming

PropCIs (version 0.1-6)

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

  • lllower confidence bound
  • ulupper confidence bound

References

A. Agresti and Y. Min, 2004. Improved confidence intervals for comparing matched proportions, Statistics in Medicine

Examples

Run this code
oddsratioci.mp(b = 40, c = 20, conf.level = 0.95)

Run the code above in your browser using DataLab