check_parameters_validity_univariate | R Documentation |
Function check_parameters_validity_univariate
asserts at each step of the EM algorithm that
it doesn't fall in a degenerate case (either the package performing the EM computation has failed, and returns an
error message, or the algorithm is trapped in the boundary space, leading to inconsistent division by zero).
Function check_parameters_validity_multivariate
has the same functionality, but
is adjusted to multivariate parametrisation, and includes additionally a checking whether
the covariance matrix is positive definite or not
check_parameters_validity_univariate(theta, k = length(theta$p))
check_parameters_validity_multivariate(theta, k = length(theta$p))
theta |
the set of parameters defining GMMs, with three inputs, namely p, mu and sigma |
k |
the number of components, by default the number of proportions indicated in vector p |
logsumexp()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.