Package: risks 0.4.2

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], Travis Gerke [aut]

risks_0.4.2.tar.gz
risks_0.4.2.zip(r-4.5)risks_0.4.2.zip(r-4.4)risks_0.4.2.zip(r-4.3)
risks_0.4.2.tgz(r-4.4-any)risks_0.4.2.tgz(r-4.3-any)
risks_0.4.2.tar.gz(r-4.5-noble)risks_0.4.2.tar.gz(r-4.4-noble)
risks_0.4.2.tgz(r-4.4-emscripten)risks_0.4.2.tgz(r-4.3-emscripten)
risks.pdf |risks.html
risks/json (API)

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

Peer review:

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

Datasets:

On CRAN:

binomialbiostatisticsepidemiologyregression-models

5.26 score 5 stars 12 scripts 215 downloads 4 exports 28 dependencies

Last updated 7 months agofrom:9d15147e20. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 12 2024
R-4.5-winOKNov 12 2024
R-4.5-linuxOKNov 12 2024
R-4.4-winOKNov 12 2024
R-4.4-macOKNov 12 2024
R-4.3-winOKNov 12 2024
R-4.3-macOKNov 12 2024

Exports:conv.testriskdiffriskratiorr_rd_mantel_haenszel

Dependencies:backportsbcabootbootbroomclicpp11dplyrfansigenericsgluelatticelifecyclemagrittrpillarpkgconfigpurrrR6rlangsandwichstringistringrtibbletidyrtidyselectutf8vctrswithrzoo

Introduction to the risks package: Get Started

Rendered fromrisks.Rmdusingknitr::rmarkdownon Nov 12 2024.

Last update: 2023-02-22
Started: 2021-02-19

Marginal standardization

Rendered frommargstd.Rmdusingknitr::rmarkdownon Nov 12 2024.

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

Models and model comparisons

Rendered frommodels.Rmdusingknitr::rmarkdownon Nov 12 2024.

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