gmdistribution.fit returning negative NlogL value

1 回表示 (過去 30 日間)
Michael
Michael 2012 年 1 月 16 日
回答済み: Tobin 2013 年 12 月 3 日
Under what conditions would this occur? It seems to be nonsensical, from a mathematical perspective... what might it be doing from a Matlab perspective?
I'm fitting a million 4-d samples on a distribution with two "humps" that have a finite kurtosis so aren't quite gaussians but pretty close. with two or three component mixtures the results are pretty good and NlogL is positive. The third component just picks up some leftovers due to not quite gaussianity of my data. With 4 or more components, the results still look pretty good--two good components, the rest pick up leftovers. However, the NlogL (and BIC and AIC) are now negative... What am I to make of this?
In real data I won't know how many "humps" are in my data so I can't just set the number of components to two ahead of time.
thanks, Mike

回答 (1 件)

Tobin
Tobin 2013 年 12 月 3 日
I have got the same problem, but I haven't found any answer yet.

Community Treasure Hunt

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

Start Hunting!

Translated by