returns the cdf (cumulative distribution function) of a mixture model of gaussian or log gaussians
CDFMixtures(Kernels,Means,SDs,Weights,IsLogDistribution)
List with
(1:N,1), cdf of Sum of SingleGaussians at Kernels
(1:N,1:L) ,cdf of mixtures at Kernels
at these locations N(Means,Sdevs)*Weights is used for cdf calcuation, NOTE: Kernels are usually (but not necessarily) sorted and unique
vector(1:L), Means of Gaussians, L == Number of Gaussians
estimated Gaussian Kernels = standard deviations
optional, relative number of points in Gaussians (prior probabilities): sum(Weights) ==1, default weight is 1/L
Optional, if IsLogDistribution(i)==1, then mixture is lognormal default == 0*(1:L)
Rabea Griese
Chi2testMixtures