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 | 
| Maintainer: | Konrad Stopsack <stopsack at post.harvard.edu> | 
| BugReports: | https://github.com/stopsack/risks/issues | 
| License: | GPL-3 | 
| URL: | https://stopsack.github.io/risks/ | 
| NeedsCompilation: | no | 
| CRAN checks: | risks results | 
| Reference manual: | risks.html , risks.pdf | 
| Vignettes: | Marginal standardization (source, R code) Models and model comparisons (source, R code) Introduction to the risks package: Get Started (source, R code) | 
| Package source: | risks_0.4.3.tar.gz | 
| Windows binaries: | r-devel: risks_0.4.3.zip, r-release: risks_0.4.3.zip, r-oldrel: risks_0.4.3.zip | 
| macOS binaries: | r-release (arm64): risks_0.4.3.tgz, r-oldrel (arm64): risks_0.4.3.tgz, r-release (x86_64): risks_0.4.3.tgz, r-oldrel (x86_64): risks_0.4.3.tgz | 
| Old sources: | risks archive | 
| Reverse imports: | gtregression, rifttable | 
Please use the canonical form https://CRAN.R-project.org/package=risks to link to this page.