MATLAB Answers

gmdistribution.fit returning negative NlogL value

4 views (last 30 days)
Michael
Michael on 16 Jan 2012
Answered: Tobin on 3 Dec 2013
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

Answers (1)

Tobin
Tobin on 3 Dec 2013
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!