ratesci: 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) <doi:10.1002/pst.1813> from Miettinen & Nurminen (1985) <doi:10.1002/sim.4780040211> and Gart & Nam (1988) <doi:10.2307/2531848>. The same score produces hypothesis tests analogous to the test for binomial RD and RR by Farrington & Manning (1990) <doi:10.1002/sim.4780091208>. The package 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 (matching the CMH test) or incorporating stratum heterogeneity.

Package details

AuthorPete Laud [aut, cre]
MaintainerPete Laud <p.j.laud@sheffield.ac.uk>
LicenseGPL-3
Version0.4-0
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("ratesci")

Try the ratesci package in your browser

Any scripts or data that you put into this service are public.

ratesci documentation built on Dec. 11, 2021, 9:36 a.m.