Antonio_Paredes at aphis.usda.gov
2007-Aug-23 17:28 UTC
[R] Exact Confidence Intervals for the Ration of Two Binomial
Hello everyone, I will like to know if there is an R package to compute exact confidence intervals for the ratio of two binomial proportions. Tony. [[alternative HTML version deleted]]
Charles C. Berry
2007-Aug-23 19:33 UTC
[R] Exact Confidence Intervals for the Ration of Two Binomial
On Thu, 23 Aug 2007, Antonio_Paredes at aphis.usda.gov wrote:> Hello everyone, > > I will like to know if there is an R package to compute exact confidence > intervals for the ratio of two binomial proportions.Probably not. This is a tricky business as the references below make clear. To wit, small sample intervals cannot be based on conditioning on an ancillary statistic (Santer and Snell, 1980) and those small sample intervals that can be constructed are only 'exact' in a particular sense (Mantel, 1988). @misc{mantel1988elr, title={{Exact Limits on the Ratio or Difference of Two Independent Binomial Proportions?}}, author={Mantel, N.}, journal={Biometrics}, volume={44}, number={2}, pages={623--623}, year={1988}, publisher={JSTOR} } @article{santner1980ssc, title={{Small-Sample Confidence Intervals for p\_1-p\_2 and p\_1/p\_2 in 2*2 Contingency Tables}}, author={Santner, T.J. and Snell, M.K.}, journal={Journal of the American Statistical Association}, volume={75}, number={370}, pages={386--394}, year={1980}, publisher={JSTOR} }> > Tony. > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >Charles C. Berry (858) 534-2098 Dept of Family/Preventive Medicine E mailto:cberry at tajo.ucsd.edu UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901
Michael Dewey
2007-Aug-24 16:52 UTC
[R] Exact Confidence Intervals for the Ration of Two Binomial
At 18:28 23/08/2007, Antonio_Paredes at aphis.usda.gov wrote:>Hello everyone, > >I will like to know if there is an R package to compute exact confidence >intervals for the ratio of two binomial proportions.If you go to https://www.stat.math.ethz.ch/pipermail/r-help//2006-November/thread.html and search that part of the archive for "relative risk" you will find a number of suggestions. Unfortunately the responses are not all threaded so you need to search the whole thing.>Tony. > [[alternative HTML version deleted]]Michael Dewey http://www.aghmed.fsnet.co.uk