Function that uses backward recursion to compute posterior probabilities (internal funtion).
prob_post_cov_cont(Y, yv, Mu, Si, Piv, PI, Phi, L, pv, der = FALSE,
dlPhi = NULL, dlPiv = NULL, dlPI = NULL, dlL = NULL, dlL2 = NULL, dlpv = NULL)
array of continuous outcomes
corresponding vector of frequencies
matrix of conditional means for the response variables
var-cov matrix common to all states
initial probability matrix
transition probability matrices
matrix of the conditional probabilities of the observed response configurations
matrix of the forward probabilities
vector of marginal probabilities
to compute derivatives
matrix of derivatives of the log-conditional probabilities of the observed response configurations
matrix of derivatives of the logarithm of the intial probabilities
matrix of derivatives of the logarithm of the transition probabilities
matrix of derivatives of the log-forward probabilities
matrix of second derivatives of the log-forward probabilities
matrix of derivatives of the log-marginal probabilities
array containing the posterior distribution of the latent states for each response configuration and each pair of consecutive time occasions
array containing the posterior distribution of the latent states for each response configuration and time occasion
matrix of derivatives of the logarithm of U
matrix of derivatives of the logarithm of V