bimodal data curve fitting

I have a data which is bimodal. Is there a way to get two means and std. so that i can fit two normal distribution curve. I need to reproduce a plot done in a article.
Is there a way if i can get the mean and std. i can fit individual normal distribution curve. what is the matlab command for that. Can u explain using a example?.
My final objective is to divide the data into two subset

回答 (1 件)

Abhishek Murthy
Abhishek Murthy 2011 年 8 月 14 日

0 投票

If you know the number of modes in the data - k, apriori, then why not use it to cluster the data into k clusters using Kmeans function.
Once you have the clusters, finding the mean and std-dev of each cluster should lead you two gaussian distributions.

カテゴリ

ヘルプ センター および File ExchangeFit Postprocessing についてさらに検索

タグ

質問済み:

2011 年 8 月 9 日

Community Treasure Hunt

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

Start Hunting!

Translated by