First derivative of the Log Partial Likelihood.
Calculates the first partial derivative of the log partial likelihood with respect to the linear predictor.
dlpl(event, b, X, Ri, Ci)
event
: non-censoring event indicator.b
: vector of regression coefficientsX
: design matrixRi
: list of length n
with vectors as list elements, with the i-th element being the riskset belonging to the i-th spell.Ci
: list of length n
with vectors as list elements, with the i-th element capturing the indexes of risksets in which spell i
is included.This function calculates the first derivative of the log partial likelihood of a Cox type multistate model.
A vector with the values of the partial first derivatives of the log partial likelihood with respect to the regression effects.
Holger Reulen
## Not run: dlpl(event, b, X, Ri, Ci)
Useful links