Gradient vector of LCV and LAML wrt rho (log smoothing parameters). Version for multiplicative decomposition : relative mortality ratio model
grad_rho_mult(
X_GL,
GL_temp,
haz_GL,
deriv_rho_beta,
weights,
tm,
nb_smooth,
p,
n_legendre,
S_list,
temp_LAML,
Vp,
S_beta,
beta,
inverse_new_S,
X,
event,
expected,
Ve,
mat_temp,
method
)
List of objects with the following items:
gradient vector of LCV or LAML
List of first derivatives of Vp wrt rho
List of first derivatives of the Hessian of the unpenalized log-likelihood wrt rho
list of matrices (length(X.GL)=n.legendre
) for Gauss-Legendre quadrature
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
firt derivative 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 all the rescaled penalty matrices multiplied by their associated smoothing parameters
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
vector of right-censoring indicators
vector of expected hazard rates
frequentist covariance matrix
temporary matrix used when method="LCV" to save computation time
criterion used to select the smoothing parameters. Should be "LAML" or "LCV"; default is "LAML"