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

Description Usage Arguments Value References

View source: R/orscoreci.R

Description

score confidence interval for an odds ratio in a 2x2 table [p1(1-p1)/(p2(1-p2))]

Usage

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

Arguments

x1

number of successes in sample 1

n1

sample size in sample 1

x2

number of successes in sample 2

n2

sample size in sample 2

conf.level

confidence coefficient 1-α

Value

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

conf.int

a confidence interval for the difference in proportions.

References

Cornfield, J. (1956) A statistical problem arising from retrospective studies. In Neyman J. (ed.), Proceedings of the third Berkeley Symposium on Mathematical Statistics and Probability 4, pp. 135–148.

Miettinen O. S., Nurminen M. (1985) Comparative analysis of two rates. Statistics in Medicine 4, 213–226.

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


PropCIs documentation built on May 29, 2017, 3:26 p.m.

Search within the PropCIs package
Search all R packages, documentation and source code