Compute the integral with respect to the jump in CIF for pairs where both outcomes are censored.
.calcIntegralCif_cpp(
cifJump,
start_val,
stop_val,
cifTimeT,
lastCIF,
type,
returnDeriv,
derivSurv,
derivSurvD
)
[matrix] cif[1] = jump times in control group (event of interest), cif[2-3] = CIF of event of interest in group T at times - tau and times + tau, cif[4] : jump in cif of control group at times (event of interest).
[numeric] Time at which to start the integral.
[numeric] Time at which to stop the integral.
[numeric] CIF of event of interest in group T evaluated at observed time of treatment patient.
[numeric, >0] last value of CIF of event type 1 in group T.
[numeric] Indicates the type of integral to compute (1 for wins, 2 for losses, 3 for neutral pairs with two events of interest - integral with t+tau and xi - and 4 for neutral pairs with two events of interest - integral with t+tau and t-tau).
[logical] should the derivative regarding the survival parameters be return.
[matrix] matrix column filled of 0 whose number of rows is the number of parameters of the survival.
[matrix] matrix column filled of 0 whose number of rows is the number of parameters of the survival used to compute the jumps.
Eva Cantagallo