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:
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
- breastcancer - Breast Cancer Data
binomialbiostatisticsepidemiologyregression-models
Last updated from:54b5f463fd. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 199 | ||
| source / vignettes | OK | 285 | ||
| linux-release | OK | 229 | ||
| macos-release | OK | 151 | ||
| macos-oldrel | OK | 144 | ||
| windows-devel | OK | 154 | ||
| windows-release | OK | 134 | ||
| windows-oldrel | OK | 165 | ||
| wasm-release | OK | 121 |
Exports:conv.testriskdiffriskratiorr_rd_mantel_haenszel
Dependencies:backportsbcabootbootbroomclicpp11dplyrgenericsgluelatticelifecyclemagrittrpillarpkgconfigpurrrR6rlangsandwichstringistringrtibbletidyrtidyselectutf8vctrswithrzoo
Last update: 2025-03-20
Started: 2021-02-19
Last update: 2024-04-16
Started: 2021-02-19
Last update: 2023-06-13
Started: 2021-02-19
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Breast Cancer Data | breastcancer |
| Confidence Intervals for Model Parameters | confint.risks |
| Check Risks Class | is.risks |
| Print model | print.risks |
| Print model summary | print.summary.risks |
| Fit risk ratio and risk difference models | riskdiff riskratio |
| risks: Estimate risk ratios and risk differences using regression | risks-package risks |
| Risk Ratios and Risk Differences from Mantel-Haenszel Estimators | rr_rd_mantel_haenszel |
| Summary for logistic model with case duplication and cluster-robust covariance | summary.duplicate |
| Summary for models using marginal standardization | summary.margstd_boot |
| Summary for models using marginal standardization with delta method SEs | summary.margstd_delta |
| Generate model summary | summary.risks |
| Summary for Poisson model with robust covariance | summary.robpoisson |
| Tidy model summaries for risks models | tidy.risks |