Skip to content

ratesci

1.1.0

Confidence Intervals and Tests for Comparisons of Binomial Proportions or Poisson Rates

1packages depend
4.5Kdownloads / year
55.4%test coverage
13/13checks pass

Overview

About
Maintained by Pete LaudFirst published 2016-11-137 releasesCRAN page ↗GitHub ↗

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

CRAN checks
13OK
Slowest check: 7.8 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.25
55.4%
Coverage · measured lines
100%
Documentation · exports
0
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
80%
Return-value docs
100%
References docs
82%

Downloads

4.5K
CRAN downloads in the past year
Rank #5,560 · ~12/day · ~378/mo
Daily download trend is not available in this view yet.
43330 days
1.4K90 days
4.5K1 year
Compare downloads with other packages →
Also on164 r2u24 autocran73 c2d4u

Repository

Repository
3Stars
0Forks
11Open issues
0Open PRs
7Releases
571Commits
2Contributors
571 commits · Last activity 2026-08-13 · 0% stars, 30d

Stars over time

2025-08-14 · 22026-07-07 · 3

Repository practices

Upstream repositoryBeta

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.

Continuous integration (2)
GitHub ActionsTravis CI
Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Show all practices
Lint, format, editor (1)
RStudio project
Governance and community (1)
Funding
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.6.0
Imports (0)
none
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect

Code & Tests

Datasets

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

7 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 1.1.0Latest
    2026-07-03 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.0
    2025-06-20 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.5.0
    2025-01-10 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 0.4-0
    2021-12-05 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • 0.3-0
    2018-02-15 · diff ↗
  • 0.2-0
    2017-04-21 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
Show 2 earlier events
  • 0.1-0
    2016-11-13
  • R
    R 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
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("ratesci")
Laud, P. (2026). ratesci: Confidence Intervals and Tests for Comparisons of Binomial Proportions or Poisson Rates (Version 1.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for ratesci version 1.1.0 [Data set]. HJJB, LLC. Data release v2026-08-25. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy