Confidence Intervals for Comparisons of Binomial or Poisson Rates

Computes confidence intervals for the rate (or risk) difference ('RD') or rate ratio (or relative risk, 'RR') for binomial proportions or Poisson rates, or for odds ratio ('OR', binomial only). Also confidence intervals for a single binomial or Poisson rate, and intervals for matched pairs. Includes skewness-corrected asymptotic score ('SCAS') methods, which have been developed in Laud (2017) from Miettinen & Nurminen (1985) and Gart & Nam (1988) . Also includes MOVER methods (Method Of Variance Estimates Recovery) for all contrasts, derived from the Newcombe method but using equal-tailed Jeffreys intervals, and generalised for Bayesian applications incorporating prior information. So-called 'exact' methods for strictly conservative coverage are approximated using continuity corrections. Also includes methods for stratified calculations (e.g. meta-analysis), either assuming fixed effects or incorporating stratum heterogeneity.


ratesci 0.3-0

New features

  • Added bias correction in scoreci() for OR SCAS method (derived from Gart 1985).
  • Added score methods (Tango & Tang) as default for paired binomial RD and RR in pairbinci().
  • Added transformed mid-p method for paired OR for comparison with transformed SCAS.
  • Added scaspci() for non-iterative SCAS methods for single binomial or Poisson rate.
  • Added rateci() for selected methods for single binomial or Poisson rate.

Bug fixes

  • Fixed bug in pairbinci() for contrast="OR".
  • Fixed bug in moverci() for contrast="p" and type="wilson".
  • Corrected error in cc for stratified SCAS method for OR.
  • Clarified documentation regarding continuity corrections.
  • Set Stheta to 0 if |Stheta|<cc in scoreci()
  • Fixed stratified calulations for contrast = "p" in scoreci().

ratesci 0.2-0

New features

  • Added pairbinci() for all comparisons of paired binomial rates.
  • Added option to suppress warnings in scoreci.
  • Added Galbraith plot (for assessing stratum heterogeneity) to scoreci().
  • Added qualitative interaction test to scoreci().
  • Added stratum estimates & CIs to scoreci() output when stratified = TRUE.

Bug fixes

  • Fixed bug for contrast = "p" in moverci().
  • Fixed bug in tdasci() wrapper function.
  • Fixed bug for stratified OR.
  • Altered adjustment options for boundary cases in moverci().
  • Changed point estimate used in moverci() to posterior median for type = "jeff", to ensure consistent calculations with informative priors.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.3-0 by Pete Laud, 3 years ago

Browse source code at

Authors: Pete Laud [aut, cre]

Documentation:   PDF Manual  

Task views: Meta-Analysis

GPL-3 license

Suggests testthat

See at CRAN