ratesci
1.1.0Confidence Intervals and Tests for Comparisons of Binomial Proportions or Poisson Rates
Overview
Computes confidence intervals for binomial or Poisson rates and their differences or ratios. Including the rate (or risk) difference ('RD') or rate ratio (or relative risk, 'RR') for binomial proportions or Poisson rates, and odds ratio ('OR', binomial only). Also confidence intervals for RD, RR or OR for paired binomial data, and estimation of a proportion from clustered binomial data. Includes skewness-corrected asymptotic score ('SCAS') methods, which have been developed in Laud (2017) doi:10.1002/pst.1813 from Miettinen and Nurminen (1985) doi:10.1002/sim.4780040211 and Gart and Nam (1988) doi:10.2307/2531848, and in Laud (2026, under review) for paired proportions. In each case, the same score produces hypothesis tests that are improved versions of the non-inferiority test for binomial RD and RR by Farrington and Manning (1990) doi:10.1002/sim.4780091208, or a generalisation of the McNemar test for paired data. The package also includes MOVER methods (Method Of Variance Estimates Recovery) for all contrasts, derived from the Newcombe method but with options to use equal-tailed intervals in place of the Wilson score method, and generalised for Bayesian applications incorporating prior information. So-called 'exact' methods for strictly conservative coverage are approximated using continuity adjustments, and the amount of adjustment can be selected to avoid over-conservative coverage. Also includes methods for stratified calculations (e.g. meta-analysis), either with fixed effect assumption (matching the CMH test) or incorporating stratum heterogeneity.
Install
Health
- OK2026-08-0513 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-08-0112 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 80%
- Return-value docs
- 100%
- References docs
- 82%
Downloads
Repository
Stars over time
Releases over time
Issues over time
Commits over time
Repository practices
7 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/petelaud/ratesci on 2026-08-23.
Show all practices
Dependencies
Code & Tests
Datasets
People & History
7 releases. Pick two to compare their code metrics. R releases are shown for context.
- 1.1.0Latest
- RR 4.6.0 released · 2026-04-24
- 1.0.02025-06-20 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 0.5.02025-01-10 · diff ↗
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 0.4-02021-12-05 · diff ↗
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- 0.3-02018-02-15 · diff ↗
- 0.2-02017-04-21 · diff ↗
- RR 3.4.0 released · 2017-04-21
Show 2 earlier events
- 0.1-02016-11-13
- RR 3.3.0 released · 2016-05-03
Package metadata
- First published
- 2016-11-13
- Total releases
- 7 / 10 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 3.6.0
- Bundled data
- 1.3 KB / 3 files
- Download size
- 1.6 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("ratesci")This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-08-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.