Hessian matrix of LCV and LAML wrt rho (log smoothing parameters). Version for multiplicative decomposition : relative mortality ratio model
Hess_rho_mult(
X_GL,
X_GL_Q,
GL_temp,
haz_GL,
deriv2_rho_beta,
deriv_rho_beta,
weights,
tm,
nb_smooth,
p,
n_legendre,
deriv_rho_inv_Hess_beta,
deriv_rho_Hess_unpen_beta,
S_list,
minus_eigen_inv_Hess_beta,
temp_LAML,
temp_LAML2,
Vp,
S_beta,
beta,
inverse_new_S,
X,
X_Q,
event,
expected,
Ve,
deriv_rho_Ve,
mat_temp,
deriv_mat_temp,
eigen_mat_temp,
method
)
Hessian matrix of LCV or LAML wrt rho
list of matrices (length(X.GL)=n.legendre
) for Gauss-Legendre quadrature
list of transformed matrices from X_GL in order to calculate only the diagonal of the fourth derivative of the likelihood
list of vectors used to make intermediate calculations and save computation time
list of all the matrix-vector multiplications X.GL[[i]]%*%beta for Gauss Legendre integration in order to save computation time
second derivatives of beta wrt rho (implicit differentiation)
firt derivatives of beta wrt rho (implicit differentiation)
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 smoothing parameters
number of regression parameters
number of nodes for Gauss-Legendre quadrature
list of first derivatives of Vp wrt rho
list of first derivatives of Hessian of unpenalized log likelihood wrt rho
List of all the rescaled penalty matrices multiplied by their associated smoothing parameters
vector of eigenvalues of Vp
temporary matrix used when method="LAML" to save computation time
temporary matrix used when method="LAML" to save computation time
Bayesian covariance matrix
List such that S_beta[[i]]=S_list[[i]]%*%beta
vector of estimated regression parameters
inverse of the penalty matrix
design matrix for the model
transformed design matrix in order to calculate only the diagonal of the fourth derivative of the likelihood
vector of right-censoring indicators
vector of expected hazard rates
frequentist covariance matrix
list of derivatives of Ve wrt rho
temporary matrix used when method="LCV" to save computation time
list of derivatives of mat_temp wrt rho
vector of eigenvalues of mat_temp
criterion used to select the smoothing parameters. Should be "LAML" or "LCV"; default is "LAML"