Hessian of the HLM loglikelihood.
chlm_hess(beta, gamma, y, delta, X, Z)
beta | Mean parameter vector of length |
---|---|
gamma | Variance parameter vector of length |
y | Vector of observations of length |
delta | Optional logical vector of length |
X | Mean covariate matrix of size |
Z | Variance covariate matrix of size |
Matrix of size (p+q) x (p+q)
containg the Hessian of the loglikelihood at the parameter values.