How may I show a mixture distribution?
Show older comments
I truly appreciate if someone answers how to show a mixture distribution? My data ia attached and I know this data is not enough to claim a multimodal distribution confidently. Assuming enough data points, how I can show a multimodal dataset? I means I want to show a data set like the attached figure (the figure is not mine and I only use it to express my question). Thank you in advance!
2 Comments
roberto rocchetta
on 11 Apr 2021
Edited: roberto rocchetta
on 11 Apr 2021
Hi,
you can try to test unimodality with the Komogorov-Smirnov test.
If Xdata=A is your data:
Xnorm=(Xdata-mean(Xdata))/std(Xdata); % standard scale
r=kstest(Xnorm)
help kstest
Maria Amr
on 12 Apr 2021
Accepted Answer
More Answers (0)
Categories
Find more on Gaussian Mixture Models in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!