View source: R/PLMIXfunctions.R
random_start | R Documentation |
Appropriate simulation of starting values for tandom initialization of Gibbs Sampling. It start from the mle corresponding to no-group structure and then it randomly selects rescaled random support points (with sum 1) of G mixture components such that the marginal support coincides with the mle support for G=1 Random generation of starting values of the component-specific support parameters for Gibbs sampling
random_start(mlesupp, givenweights, alpha = rep(1, G))
mlesupp |
MLE of support parameters |
givenweights |
A numeric vector of |
alpha |
A numeric vector of |
out
A numeric G
\times
K
matrix with starting values of the component-specific support parameters
Cristina Mollica and Luca Tardella
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.