MOVER.CI: Compute MOVER confidence interval for the odds ratio

Description Usage Arguments Author(s) References Examples

View source: R/ORCI.R

Description

Compute MOVER confidence interval for the odds ratio of two independent binomial proportions.

Usage

1
MOVER.CI(x1, n1, x2, n2, conf = 0.95)

Arguments

x1

number of events in group 1.

n1

number of trials in group 1.

x2

number of events in group 2.

n2

number of trials in group 2.

conf

confidence level.

Author(s)

Libo Sun

References

Donner, A. and Zou, G. (2012). Closed-form confidence intervals for functions of the normal mean and standard deviation. Statistical Methods in Medical Research, 21(4):347-359.

Examples

1
2
3
4
# x1=2, n1=14, x2=1, n2=11
# 95% confidence interval for the odds ratio 

MOVER.CI(2, 14, 1, 11)

Example output

[1]  0.1647987 15.6829582

ORCI documentation built on May 2, 2019, 10:58 a.m.