Exact and mid-p confidence intervals for the odds ratio
Morten W. Fagerland ()
Additional contact information
Morten W. Fagerland: Oslo University Hospital
Stata Journal, 2012, vol. 12, issue 3, 505-524
Abstract:
The odds ratio is a frequently used effect measure for two independent binomial proportions. Unfortunately, the confidence intervals that are available for it in Stata and other standard software packages are generally wider than necessary, particularly for small-sample and exact estimation. The performance of the Cornfield exact interval—the only widely available exact interval for the odds ratio—may be improved by incorporating a small modification attributed to Baptista and Pike (1977, Journal of the Royal Statistical Society, Series C 26: 214–220). A further improvement is achieved when the Baptista–Pike method is combined with the mid-p approach. In this article, I present the command merci (mid-p and exact odds-ratio confidence intervals) and its immediate version mercii, which calculate the Cornfield exact, Cornfield mid-p, Baptista-Pike exact, and Baptista-Pike mid-p confidence intervals for the odds ratio. I compare these intervals with three well-known logit intervals. I strongly recommend the Baptista-Pike mid-p interval.
Keywords: merci; mercii; confidence intervals; odds ratio; mid-p; exact; quasi-exact; Cornfield; Baptista-Pike (search for similar items in EconPapers)
Date: 2012
Note: to access software from within Stata, net describe http://www.stata-journal.com/software/sj12-3/st0271/
References: View references in EconPapers View complete reference list from CitEc
Citations: View citations in EconPapers (1)
Downloads: (external link)
http://www.stata-journal.com/article.html?article=st0271 link to article purchase
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:tsj:stataj:v:12:y:2012:i:3:p:505-514
Ordering information: This journal article can be ordered from
http://www.stata-journal.com/subscription.html
Access Statistics for this article
Stata Journal is currently edited by Nicholas J. Cox and Stephen P. Jenkins
More articles in Stata Journal from StataCorp LLC
Bibliographic data for series maintained by Christopher F. Baum () and Lisa Gilmore ().