Crandore Hub

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.

Versions across snapshots

VersionRepositoryFileSize
0.4.3 rolling source/ R- risks_0.4.3.tar.gz 4.2 MiB
0.4.3 rolling linux/jammy R-4.5 risks_0.4.3.tar.gz 1.3 MiB
0.4.3 rolling linux/noble R-4.5 risks_0.4.3.tar.gz 1.3 MiB
0.4.3 latest source/ R- risks_0.4.3.tar.gz 4.2 MiB
0.4.3 latest linux/jammy R-4.5 risks_0.4.3.tar.gz 1.3 MiB
0.4.3 latest linux/noble R-4.5 risks_0.4.3.tar.gz 1.3 MiB
0.4.3 2026-04-23 source/ R- risks_0.4.3.tar.gz 4.2 MiB
0.4.3 2026-04-09 windows/windows R-4.5 risks_0.4.3.zip 1.3 MiB
0.4.2 2025-04-20 source/ R- risks_0.4.2.tar.gz 1.2 MiB

Dependencies (latest)

Imports

Suggests