Cumulative hazard (integral of hazard) and its first and second derivatives wrt regression parameters beta
DerivCumulHazard(
X_GL,
weights,
tm,
n_legendre,
n,
p,
beta,
expected,
type,
is_pwcst,
pwcst_weights
)
List of objects with the following items:
cumulative hazard (integral of hazard)
first derivative of cumulative hazard wrt beta
second derivative of cumulative hazard wrt beta
list of matrices (length(X.GL)=n.legendre
) for Gauss-Legendre quadrature
vector of weights for Gauss-Legendre integration on [-1;1]
vector of midpoints times for Gauss-Legendre integration; tm = 0.5*(t1 - t0)
number of nodes for Gauss-Legendre quadrature
number of individuals in the dataset
number of regression parameters
vector of estimated regression parameters
vector of expected hazard rates
"net", "overall" or "mult"
True if there is a piecewise constant baseline specified. False otherwise
if is.pwcst is TRUE, matrix of weights giving the time contribution of each individual on each sub-interval. Otherwise NULL