Provides initial values for the parameters of a mixture of Gaussians based on a sample.
Initial values for the parameters of a mixture of Gaussians are provided by applying the following steps : 1) clustering the sample into as many clusters as there are mixture components 2) the initial means and standard deviations of each component are taken as the cluster centers and median absolute deviation respectively computed on each component
gaussmixt.init(m, x, iter.max = 20, nstart = 10)
number of mixture components
data sample from which the initial parameters are computed
maximum number of iteration for kmeans clustering,
default is 20, see
number of random cluster centers chosen (default is 10), see
a matrix of dimension 3 x
m which stores the 3 parameters (pi,
mu, sigma) of each of the
McLachlan, G. and Peel, D. (2000), Finite Mixture Models, Wiley series in probability and statistics
1 2 3
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.