
Compute Weibull Regression Hessian (General Censoring)
Source:R/RcppExports.R
get_weibull_regression_general_hessian_cpp.RdHessian matrix for the Weibull AFT log-likelihood extended
to left-, right-, and interval-censored responses. See
get_weibull_regression_general_score_cpp() for the input
convention.
Arguments
- X
A numeric matrix of predictors.
- y
Exact survival times,
NAfor censored subjects.- y_L
Censored-interval lower bounds,
NAfor exact subjects;0for left-censored.- y_R
Censored-interval upper bounds,
NAfor exact subjects;Inffor right-censored.- params
A numeric vector of parameters [beta, log_sigma].