View source: R/multivariate_normal_hmm_functions.R
mvnorm_hmm_pn2pw | R Documentation |
mu does not need to be transformed, as there are no constraints. We only need to transform diagonal elements of sigma, since there are no constraints on the covariances. Include only the lower triangular and diagional elements of the sigma matrix, since covariance matrices must be symmetric.
mvnorm_hmm_pn2pw(m, mu, sigma, gamma, delta = NULL, stationary = TRUE)
m |
Number of states |
mu |
List of vectors of length m, means for each state dependent multivariate normal distribution |
sigma |
List of matrices of size m x m, covariance matrices for each state dependent multivariate normal distribution |
gamma |
Transition probabiilty matrix, size m x m |
delta |
Optional, vector of length m containing initial distribution |
stationary |
Boolean, whether the HMM is stationary or not |
Vector of working parameters
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.