Description Usage Arguments Author(s) References Examples
Compute median unbiased estimator (MUE) based confidence interval for the odds ratio of two independent binomial proportions.
1 | MUE.CI(x1, n1, x2, n2, conf = 0.95)
|
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. |
Libo Sun
Parzen, M., Lipsitz, S., Ibrahim, J., and Klar, N. (2002). An estimate of the odds ratio that always exists. Journal of Computational and Graphical Statistics, 11(2):430-436.
1 2 3 4 | # x1=2, n1=14, x2=1, n2=11
# 95% confidence interval for the odds ratio
MUE.CI(2, 14, 1, 11)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.