Asked by sepideh
on 5 Jul 2012

I am trying to fit a custom function ( generalized Normal distribution type II http://en.wikipedia.org/wiki/Generalized_normal_distribution)to my data and i am using mle function. I wonder what is the method that Matlab uses, is it a search method?

*No products are associated with this question.*

Answer by Peter Perkins
on 6 Jul 2012

Accepted answer

Ordinarily, the mle function minimizes the negative log-likelihood that you have defined (either as a PDF, or a log PDF, or as the LL) using fminsearch. If you have the Optimization Toolbox, you can tell mle to use fmincon. This is the 'OptimFun' parameter, explained in the help for the mle function.

Peter Perkins
on 31 Aug 2012

Not at all if it didn't converge, and

>> help mle mle Maximum likelihood estimation. [snip] 'options' A structure created by a call to STATSET, containing numerical options for the fitting algorithm. Not applicable to all distributions.

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn moreOpportunities for recent engineering grads.

Apply Today
## 0 Comments