computes the density of an individual's continuous measurement vector for all latent classes, eventually taking covariates into account. This is an internal function not meant to be called by the user.
a list of the multinormal density parameters: means
a list of integers indicating which covariates (taken from
For each class
k, the function computes the multinormal density with means
param$mu[[k]] and variances-covariances matrix
param$sigma[[k]] for the individual's measurement
vector. Treatment of covariates is not yet implemented, and any
provided covariate value will be ignored.
The function returns a vector
dens of length
dens[k] is the density of the measurements if the individual belongs to class
1 2 3 4 5 6 7 8