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

Description Usage Arguments Value References

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.



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

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.