Package: risks 0.4.3

Konrad Stopsack

risks: Estimate Risk Ratios and Risk Differences using Regression

Risk ratios and risk differences are estimated using regression models that allow for binary, categorical, and continuous exposures and confounders. Implemented are marginal standardization after fitting logistic models (g-computation) with delta-method and bootstrap standard errors, Miettinen's case-duplication approach (Schouten et al. 1993, <doi:10.1002/sim.4780121808>), log-binomial (Poisson) models with empirical variance (Zou 2004, <doi:10.1093/aje/kwh090>), binomial models with starting values from Poisson models (Spiegelman and Hertzmark 2005, <doi:10.1093/aje/kwi188>), and others.

Authors:Konrad Stopsack [aut, cre, cph], Travis Gerke [aut]

risks_0.4.3.tar.gz
risks_0.4.3.zip(r-4.7-any)risks_0.4.3.zip(r-4.6-any)risks_0.4.3.zip(r-4.5-any)
risks_0.4.3.tgz(r-4.6-any)risks_0.4.3.tgz(r-4.5-any)
risks_0.4.3.tar.gz(r-4.7-any)risks_0.4.3.tar.gz(r-4.6-any)
risks_0.4.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
risks/json (API)

# Install 'risks' in R:
install.packages('risks', repos = c('https://stopsack.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/stopsack/risks/issues

Pkgdown/docs site:https://stopsack.github.io

Datasets:

On CRAN:

Conda:

binomialbiostatisticsepidemiologyregression-models

6.00 score 8 stars 2 packages 14 scripts 501 downloads 4 exports 27 dependencies

Last updated from:54b5f463fd. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK199
source / vignettesOK285
linux-releaseOK229
macos-releaseOK151
macos-oldrelOK144
windows-develOK154
windows-releaseOK134
windows-oldrelOK165
wasm-releaseOK121

Exports:conv.testriskdiffriskratiorr_rd_mantel_haenszel

Dependencies:backportsbcabootbootbroomclicpp11dplyrgenericsgluelatticelifecyclemagrittrpillarpkgconfigpurrrR6rlangsandwichstringistringrtibbletidyrtidyselectutf8vctrswithrzoo

Introduction to the risks package: Get Started
Installation | An example cohort study | Adjusted risk ratios | Adjusted risk differences | Accessing model coefficients | More post-estimation commands

Last update: 2025-03-20
Started: 2021-02-19

Models and model comparisons
Implemented model types | Model choice | Model comparisons

Last update: 2024-04-16
Started: 2021-02-19

Marginal standardization
The basics | Choice of exposure variable | Bootstrap confidence intervals | Bootstrap repeats

Last update: 2023-06-13
Started: 2021-02-19