Use IPW to Estimate Treatment Effect under Competing Risks
Overview
Uses inverse probability weighting methods to estimate treatment effect under marginal structure model for the cause-specific hazard of competing risk events. Estimates also the cumulative incidence function (i.e. risk) of the potential outcomes, and provides inference on risk difference and risk ratio. Reference: Kalbfleisch & Prentice (2002)doi:10.1002/9781118032985; Hernan et al (2001)doi:10.1198/016214501753168154.
Install
Health
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Yiran Zhang <yiz038@health.ucsd.edu>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = "Yiran",
family = "Zhang",
role = c("aut", "cre"),
email = "yiz038@health.ucsd.edu"),
person(given = "Ronghui",
family = "Xu",
role = "aut"))
as necessary.- NOTE11 OK, 2 NOTE2026-10-25
- ERROR11 OK, 1 NOTE, 1 ERROR2026-10-24
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 7
- Examples that run
- 100%1 run in a plain check
- Exported functions with examples
- 17%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 29%
Downloads
Dependencies
Installing cmprskcoxmsm adds 39 packages (22 with compiled code, 37 MB of source tarballs). Heaviest: ggplot2 6.0 MB, data.table 5.7 MB, survey 2.3 MB.
Code & Tests
Datasets
People & History
Maintainer since 0.1.0 (2021)
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 0.2.1Latest
- RR 4.1.0 released · 2021-05-18
- 0.2.02021-02-15 · diff ↗
- 0.1.02021-01-22
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2021-01-22
- Total releases
- 3 / 5 yrs
- License
- GPL (>= 2) OSI
- Bundled data
- 6.4 KB / 1 file
- Download size
- 297 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("cmprskcoxmsm")Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.