cif_est_usual {semicmprskcoxmsm} | R Documentation |
Estimating Three Cumulative Incidence Functions Using the Usual Markov Model
Description
cif_est_usual
estimates the cumulative incidence function (CIF, i.e.risk) based on the MSM illness-death usual Markov model.
Usage
cif_est_usual(data,X1,X2,event1,event2,w,Trt,
t1_star = t1_star)
Arguments
data |
The dataset, includes non-terminal events, terminal events as well as event indicator. |
X1 |
Time to non-terminal event, could be censored by terminal event or lost to follow up. |
X2 |
Time to terminal event, could be censored by lost to follow up. |
event1 |
Event indicator for non-terminal event. |
event2 |
Event indicator for terminal event. |
w |
IP weights. |
Trt |
Treatment variable. |
t1_star |
Fixed non-terminal event time for estimating CIF function for terminal event following the non-terminal event. |
Details
After estimating the parameters in the illness-death model using IPW, we could estimate the corresponding CIF:
and
where is the estimated overall survial function for joint
,
. We obtain three hazards by fitting the MSM illness-death model
,
, and
is a Breslow-type estimator of the baseline cumulative hazard.
Value
Returns a table containing the estimated CIF for the event of interest for control and treated group.
References
Meira-Machado, Luis and Sestelo, Marta (2019). “Estimation in the progressive illness-death model: A nonexhaustive review,” Biometrical Journal 61(2), 245–263.