orscoreci {PropCIs} | R Documentation |
score confidence interval for an odds ratio in a 2x2 table [p1(1-p1)/(p2(1-p2))]
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 |
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 |
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.
[Package PropCIs version 0.3-0 Index]