CumulHazard | R Documentation |
Cumulative hazard (integral of hazard) only
CumulHazard(X_GL, weights, tm, n_legendre, n, beta, is_pwcst, pwcst_weights)
X_GL |
list of matrices ( |
weights |
vector of weights for Gauss-Legendre integration on [-1;1] |
tm |
vector of midpoints times for Gauss-Legendre integration; tm = 0.5*(t1 - t0) |
n_legendre |
number of nodes for Gauss-Legendre quadrature |
n |
number of individuals in the dataset |
beta |
vector of estimated regression parameters |
is_pwcst |
True if there is a piecewise constant baseline specified. False otherwise |
pwcst_weights |
if is_pwcst is TRUE, matrix of weights giving the time contribution of each individual on each sub-interval. Otherwise NULL |
cumulative hazard (integral of hazard)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.