How can I separate a bimodal distribution into two normal distributions?

52 visualizzazioni (ultimi 30 giorni)
Hi, I have a data that once plotted in a histogram shows a bimodal distribution.
bimodal distrib.jpg
I would like to separate the bimodal distribution into two normal distributions with respective means and standard deviation. Is there a way to individually fit the distribution to obtain the respective parameters (mean and standard deviation)? Other ways are also welcome to suggest.
Thank you all.

Risposte (1)

Jeff Miller
Jeff Miller il 3 Mag 2019
GMModel = fitgmdist(x,2); % Your data are in x

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by