comci.pest: Estimates Common Cumulative Incidence (comCI) Function
Description
This is an internal function and is not usually called by user.
This function estimates the common cumulative incidence (comCI), i.e. the probability that a patient is alive and in the first disease remission after initiating his or her therapy.
Usage
comci.pest(t, LastContact, Exitus, maxx)
Arguments
t
a vector containing the time from therapy initiation to achievement of the first disease remission (in days)
LastContact
a vector containing the follow-up time (time from therapy initiation to death or to the date of last contact with a patient)
Exitus
a vector containing the censoring indicators (1..patient died, 0..patient is censored)
maxx
maximum follow-up time in days
Value
a list containing the following elements:
x
days from 0 to maximum follow-up time maxx
y
comCI function estimates at each day
References
Pavlik T., Janousova E., Pospisil Z., et al. (2011). Estimation of current cumulative incidence of leukaemia-free patients and current leukaemia-free survival in chronic myeloid leukaemia in the era of modern pharmacotherapy. BMC Med Res Methodol11:140.