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.">

risks: Estimate Risk Ratios and Risk Differences using Regression (original) (raw)

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.

Version: 0.4.3
Depends: R (≥ 3.5.0)
Imports: boot, bcaboot, broom, dplyr, purrr, rlang, sandwich, stats, tibble, tidyr
Suggests: addreg, covr, knitr, logbin, MASS, rmarkdown, testthat
Published: 2025-05-30
DOI: 10.32614/CRAN.package.risks
Author: Konrad Stopsack ORCID iD [aut, cre, cph], Travis Gerke ORCID iD [aut]
Maintainer: Konrad Stopsack
BugReports: https://github.com/stopsack/risks/issues
License: GPL-3
URL: https://stopsack.github.io/risks/
NeedsCompilation: no
CRAN checks: risks results

Documentation:

Downloads:

Reverse dependencies:

Linking:

Please use the canonical formhttps://CRAN.R-project.org/package=risksto link to this page.