Learn R Programming

PropCIs (version 0.1-6)

orscoreci: Score confidence interval for an odds ratio in a 2x2 table

Description

Score confidence interval for an odds ratio in a 2x2 table $p1(1-p1)/(p2(1-p2))$

Usage

orscoreci(x1, n1, x2, n2, conf.level)

Arguments

x1
success counts in sample 1
n1
sample size in sample 1
x2
success counts in sample 2
n2
sample size in sample 2
conf.level
confidence coefficient

Value

  • lllower confidence limit
  • ulupper confidence limit

References

Cornfield 1956

Miettinen OS, Nurminen M. Comparative analysis of two rates. Statistics in Medicine 1985;4:213-226.

Agresti, A. 2002. Categorical Data Analysis. Wiley, 2nd Edition.