Arguments
Data
vector (1:N) of data points
Means
vector[1:L] of Means of Gaussians (of GMM),L == Number of Gaussians
SDs
vector of standard deviations, estimated Gaussian Kernels, has to be the same length as Means
Weights
vector of relative number of points in Gaussians (prior probabilities), has to be the same length as Means
IsLogDistribution
Optional, ==1 if distribution(i) is a LogNormal, default vector of zeros of length L
PlotIt
Optional, Default: FALSE; TRUE do a Plot
CorrectBorders
Optional, ==TRUE data at right borders of GMM distribution will be assigned to last gaussian, left border vice versa.
(default ==FALSE) normal Bayes Theorem