Loglikelihood of the HLM model.
chlm_loglik(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 |
The loglikelihood evaluated at the parameters values (a scalar).