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