Arguments
Data
vector of data points
Means
vector of Means of Gaussians
SDs
vector of standard deviations, estimated Gaussian Kernels
Weights
vector of relative number of points in Gaussians (prior probabilities)
IsLogDistribution
Optional, if IsLogDistribution(i)==1, then mixture is lognormal, default vector of zeros of length 1:L
PlotIt
Optional, Default: FALSE, do a Plot of the compared cdfs and the KS-test distribution (Diff)
UpperLimit
Optional. test only for Data
VarName
If PlotIt=TRUE, the name of the inspected variable, default 'Data'