Learn R Programming

cmprskcoxmsm (version 0.2.1)

Use IPW to Estimate Treatment Effect under Competing Risks

Description

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); Hernan et al (2001).

Copy Link

Version

Install

install.packages('cmprskcoxmsm')

Monthly Downloads

261

Version

0.2.1

License

GPL (>= 2)

Maintainer

Yiran Zhang

Last Published

September 4th, 2021

Functions in cmprskcoxmsm (0.2.1)

plot.PS

Plotting histogram of propensity score and balancing plot for covariates in the propensity score model
cif_est

Estimated cumulative incidence function
pvalFormat

Adjust p-value format
follic

Follicular cell lymphoma study
weight_cause_cox

Inverse probability weighted proportional cause-specific hazards model
doPS

Generate the Inverse Probability Treatment Weights
plot_est_cif

ggplot method for cif_est objects