Variance-Covariance Matrix
This is an auxiliary function.
covHandling(theta, n, cov_name, quad_type)
theta
: unique parameters of the variance-covariance matrix of the random effects as returned by lqmm
in theta_z
.n
: dimension of the vector of random effects.cov_name
: see argument covariance
in lqmm
.quad_type
: type of quadrature "c("normal","robust")".Marco Geraci
VarCorr.lqmm
Useful links