{
  "_id": "6a46fe026527f6f71f9f91a1",
  "Type": "Package",
  "Package": "ratesci",
  "Title": "Confidence Intervals and Tests for Comparisons of Binomial\nProportions or Poisson Rates",
  "Version": "1.1.0",
  "Authors@R": "person(\"Pete\", \"Laud\", , \"pete@sheffstat.co.uk\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-3766-7090\"))",
  "Description": "Computes confidence intervals for binomial or Poisson\nrates and their differences or ratios. Including the rate (or\nrisk) difference ('RD') or rate ratio (or relative risk, 'RR')\nfor binomial proportions or Poisson rates, and odds ratio\n('OR', binomial only). Also confidence intervals for RD, RR or\nOR for paired binomial data, and estimation of a proportion\nfrom clustered binomial data.  Includes skewness-corrected\nasymptotic score ('SCAS') methods, which have been developed in\nLaud (2017) <doi:10.1002/pst.1813> from Miettinen and Nurminen\n(1985) <doi:10.1002/sim.4780040211> and Gart and Nam (1988)\n<doi:10.2307/2531848>, and in Laud (2026, under review) for\npaired proportions. In each case, the same score produces\nhypothesis tests that are improved versions of the\nnon-inferiority test for binomial RD and RR by Farrington and\nManning (1990) <doi:10.1002/sim.4780091208>, or a\ngeneralisation of the McNemar test for paired data. The package\nalso includes MOVER methods (Method Of Variance Estimates\nRecovery) for all contrasts, derived from the Newcombe method\nbut with options to use equal-tailed intervals in place of the\nWilson score method, and generalised for Bayesian applications\nincorporating prior information. So-called 'exact' methods for\nstrictly conservative coverage are approximated using\ncontinuity adjustments, and the amount of adjustment can be\nselected to avoid over-conservative coverage.  Also includes\nmethods for stratified calculations (e.g. meta-analysis),\neither with fixed effect assumption (matching the CMH test) or\nincorporating stratum heterogeneity.",
  "License": "GPL (>= 3)",
  "URL": "https://github.com/petelaud/ratesci,\nhttps://petelaud.github.io/ratesci/",
  "BugReports": "https://github.com/petelaud/ratesci/issues",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-03 00:06:19 UTC",
    "User": "root"
  },
  "Author": "Pete Laud [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-3766-7090>)",
  "Maintainer": "Pete Laud <pete@sheffstat.co.uk>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-07-02 21:30:02 UTC",
  "RemoteUrl": "https://github.com/cran/ratesci",
  "RemoteRef": "HEAD",
  "RemoteSha": "10f3f4e24d4156964866e557197e67dabba11277",
  "_user": "cran",
  "_type": "src",
  "_file": "ratesci_1.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/c8d51e982721257b0ae45528146900307fc3d882c3097a44c113a01f5de7e086",
  "_filesize": 1851854,
  "_sha256": "c8d51e982721257b0ae45528146900307fc3d882c3097a44c113a01f5de7e086",
  "_expires": "2026-10-11T00:10:42.000Z",
  "_created": "2026-07-03T00:06:19.000Z",
  "_published": "2026-07-03T00:10:42.580Z",
  "_jobs": [
    {
      "job": 84903165167,
      "time": 176,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8054665825"
    },
    {
      "job": 84903165159,
      "time": 230,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8054678034"
    },
    {
      "job": 84902865649,
      "time": 150,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8054625465"
    },
    {
      "job": 84903165163,
      "time": 103,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8054649523"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/28629389644",
  "_status": "success",
  "_upstream": "https://github.com/cran/ratesci",
  "_commit": {
    "id": "10f3f4e24d4156964866e557197e67dabba11277",
    "author": "Pete Laud <pete@sheffstat.co.uk>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.1.0\n",
    "time": 1783027802
  },
  "_maintainer": {
    "name": "Pete Laud",
    "email": "pete@sheffstat.co.uk",
    "login": "petelaud",
    "description": "",
    "uuid": 23017925,
    "orcid": "0000-0002-3766-7090"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6.0",
      "role": "Depends"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "lifecycle",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2026-27",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.1.0",
      "date": "2026-07-02"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "petelaud",
      "count": 1,
      "uuid": 23017925
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 615,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 430,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ratesci"
  },
  "_devurl": "https://github.com/petelaud/ratesci",
  "_pkgdown": "https://petelaud.github.io/ratesci/",
  "_searchresults": 58,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/ratesci.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/petelaud/ratesci",
  "_realowner": "petelaud",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1-0",
      "date": "2016-11-13"
    },
    {
      "version": "0.2-0",
      "date": "2017-04-21"
    },
    {
      "version": "0.3-0",
      "date": "2018-02-15"
    },
    {
      "version": "0.4-0",
      "date": "2021-12-05"
    },
    {
      "version": "0.5.0",
      "date": "2025-01-10"
    },
    {
      "version": "1.0.0",
      "date": "2025-06-20"
    },
    {
      "version": "1.1.0",
      "date": "2026-07-02"
    }
  ],
  "_exports": [
    "clusterpci",
    "jeffreysci",
    "moverbci",
    "moverci",
    "moverpairci",
    "orci",
    "orpairci",
    "pairbinci",
    "rateci",
    "rdci",
    "rdpairci",
    "rrci",
    "rrpairci",
    "scasci",
    "scaspci",
    "scoreci",
    "scorepairci",
    "tdasci"
  ],
  "_datasets": [
    {
      "name": "cisapride",
      "title": "Meta-analysis of the effect of cisapride for treatment of non-ulcer dyspepsia",
      "object": "cisapride",
      "class": [
        "data.frame"
      ],
      "fields": [
        "study",
        "event.cisa",
        "n.cisa",
        "event.plac",
        "n.plac"
      ],
      "rows": 13,
      "table": true,
      "tojson": true
    },
    {
      "name": "compress",
      "title": "Systematic review of the effect of graduated compression stockings for prevention of DVT",
      "object": "compress",
      "class": [
        "data.frame"
      ],
      "fields": [
        "study",
        "event.gcs",
        "n.gcs",
        "event.control",
        "n.control"
      ],
      "rows": 9,
      "table": true,
      "tojson": true
    },
    {
      "name": "crash",
      "title": "Corticosteroids in acute traumatic brain injury: updated systematic review of randomised controlled trials",
      "object": "crash",
      "class": [
        "data.frame"
      ],
      "fields": [
        "study",
        "event.steroid",
        "n.steroid",
        "event.control",
        "n.control"
      ],
      "rows": 17,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "cisapride",
      "title": "Meta-analysis of the effect of cisapride for treatment of non-ulcer dyspepsia",
      "topics": [
        "cisapride"
      ]
    },
    {
      "page": "clusterpci",
      "title": "Score confidence intervals for a single binomial rate from clustered data.",
      "topics": [
        "clusterpci"
      ]
    },
    {
      "page": "compress",
      "title": "Systematic review of the effect of graduated compression stockings for prevention of DVT",
      "topics": [
        "compress"
      ]
    },
    {
      "page": "crash",
      "title": "Corticosteroids in acute traumatic brain injury: updated systematic review of randomised controlled trials",
      "topics": [
        "crash"
      ]
    },
    {
      "page": "jeffreysci",
      "title": "Jeffreys and other approximate Bayesian confidence intervals for a single binomial or Poisson rate.",
      "topics": [
        "jeffreysci"
      ]
    },
    {
      "page": "moverbci",
      "title": "Approximate Bayesian (\"MOVER-B\") confidence intervals for comparisons of independent binomial or Poisson rates.",
      "topics": [
        "moverbci"
      ]
    },
    {
      "page": "moverci",
      "title": "Method of Variance Estimates Recovery (\"MOVER\") confidence intervals for comparisons of independent binomial or Poisson rates.",
      "topics": [
        "moverci"
      ]
    },
    {
      "page": "moverpairci",
      "title": "MOVER confidence intervals for comparisons of paired binomial rates.",
      "topics": [
        "moverpairci"
      ]
    },
    {
      "page": "orci",
      "title": "Confidence intervals for odds ratio with independent binomial proportions.",
      "topics": [
        "orci"
      ]
    },
    {
      "page": "orpairci",
      "title": "Confidence intervals for conditional odds ratio (OR) with paired binomial rates.",
      "topics": [
        "orpairci"
      ]
    },
    {
      "page": "pairbinci",
      "title": "Confidence intervals and tests for comparisons of paired binomial rates.",
      "topics": [
        "pairbinci"
      ]
    },
    {
      "page": "rateci",
      "title": "Selected confidence intervals for the single binomial or Poisson rate.",
      "topics": [
        "rateci"
      ]
    },
    {
      "page": "rdci",
      "title": "Confidence intervals for rate difference (RD) with independent binomial or Poisson rates.",
      "topics": [
        "rdci"
      ]
    },
    {
      "page": "rdpairci",
      "title": "Confidence intervals for rate difference (RD) with paired binomial rates.",
      "topics": [
        "rdpairci"
      ]
    },
    {
      "page": "rrci",
      "title": "Confidence intervals for rate ratio (RR) with independent binomial or Poisson rates.",
      "topics": [
        "rrci"
      ]
    },
    {
      "page": "rrpairci",
      "title": "Confidence intervals for rate ratio (RR) with paired binomial rates.",
      "topics": [
        "rrpairci"
      ]
    },
    {
      "page": "scasci",
      "title": "Skewness-corrected asymptotic score (\"SCAS\") confidence intervals for comparisons of independent binomial or Poisson rates.",
      "topics": [
        "scasci"
      ]
    },
    {
      "page": "scaspci",
      "title": "Skewness-corrected asymptotic score (\"SCAS\") confidence intervals for single binomial or Poisson rate using closed-form calculations.",
      "topics": [
        "scaspci"
      ]
    },
    {
      "page": "scoreci",
      "title": "Score confidence intervals and tests for a single binomial or Poisson rate, or for comparisons of independent rates, with or without stratification.",
      "topics": [
        "scoreci"
      ]
    },
    {
      "page": "scorepairci",
      "title": "Score confidence intervals and tests for comparisons of paired binomial rates.",
      "topics": [
        "scorepairci"
      ]
    },
    {
      "page": "tdasci",
      "title": "t-distribution asymptotic score (\"TDAS\") confidence intervals for random effects stratified comparisons of independent binomial or Poisson rates.",
      "topics": [
        "tdasci"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cran/ratesci/raw/HEAD/man/figures/logo.png",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "single_rate.Rmd",
      "filename": "single_rate.html",
      "title": "1: Single rate",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Estimation of a single binomial or Poisson rate",
        "Stratified datasets",
        "Clustered datasets",
        "Technical details",
        "References"
      ],
      "created": "2025-06-20 21:40:02",
      "modified": "2026-07-02 21:30:02",
      "commits": 2
    },
    {
      "source": "basic_contrasts.Rmd",
      "filename": "basic_contrasts.html",
      "title": "2: Basic contrasts (single stratum)",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Confidence intervals for comparisons of independent binomial or Poisson rates",
        "SCAS and other asymptotic score methods",
        "MOVER methods",
        "Other methods",
        "Technical details",
        "References"
      ],
      "created": "2025-06-20 21:40:02",
      "modified": "2026-07-02 21:30:02",
      "commits": 2
    },
    {
      "source": "stratified.Rmd",
      "filename": "stratified.html",
      "title": "3: Stratified contrasts",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Confidence intervals for stratified comparisons of independent binomial or Poisson rates",
        "Random effects",
        "References"
      ],
      "created": "2025-06-20 21:40:02",
      "modified": "2026-07-02 21:30:02",
      "commits": 2
    },
    {
      "source": "paired_contrasts.Rmd",
      "filename": "paired_contrasts.html",
      "title": "4: Paired contrasts",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Confidence intervals and tests for paired comparisons of binomial proportions",
        "SCAS and other asymptotic score methods for RD and RR",
        "MOVER methods",
        "Conditional odds ratio",
        "Other methods",
        "References"
      ],
      "created": "2025-06-20 21:40:02",
      "modified": "2026-07-02 21:30:02",
      "commits": 2
    },
    {
      "source": "tests.Rmd",
      "filename": "tests.html",
      "title": "5: Hypothesis tests",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Test for association and equivalence test produced by scoreci() and scorepairci()",
        "Unstratified superiority test (2x2 test for association)",
        "Unstratified non-inferiority test",
        "Stratified test",
        "Weights for an optimal test",
        "Tests for paired binomial proportions",
        "Test for a single proportion",
        "References"
      ],
      "created": "2025-06-20 21:40:02",
      "modified": "2026-07-02 21:30:02",
      "commits": 2
    }
  ],
  "_score": 3.9395192526186182,
  "_indexed": false,
  "_nocasepkg": "ratesci",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://petelaud.r-universe.dev/ratesci",
  "_previous": "1.0.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-07-03T00:08:17.000Z",
      "distro": "resolute",
      "commit": "10f3f4e24d4156964866e557197e67dabba11277",
      "fileid": "https://r2.ropensci.org/b18057df3729cdbb143698db4229309378b988f3651a5303d1c2573626501db7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28629389644"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-07-03T00:08:17.000Z",
      "distro": "resolute",
      "commit": "10f3f4e24d4156964866e557197e67dabba11277",
      "fileid": "https://r2.ropensci.org/e2140de6f9041c3bd1f3cc9cbf2edd0874602f4cc13a6d4618e746502205caf5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28629389644"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0",
      "date": "2026-07-03T00:08:16.000Z",
      "commit": "10f3f4e24d4156964866e557197e67dabba11277",
      "fileid": "https://r2.ropensci.org/6792ba36cd48eacc5f2d62056bcd17a549f21508eef9e569260fce2ff2b8fc02",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28629389644"
    }
  ]
}