Obtaining an optimized log likelihood value using 'fmincon'

7 views (last 30 days)
According to the help file for 'aicbic' an optimized log likelihood can be obtained from 'fmincon', does this refer to the value of the objective function at the solution (i.e. fval)? If so, do I use fval or log(fval) as the input to 'aicbic'?
Thank you

Answers (2)

John D'Errico
John D'Errico on 4 Sep 2015
Edited: John D'Errico on 4 Sep 2015
Just reading the help for this function, it does refer to the argument logL as being in a log form. I don't see where the confusion lies.
Description
example
aic = aicbic(logL,numParam) returns Akaike information criteria (AIC) corresponding to optimized loglikelihood function values (logL), as returned by estimate, and the model parameters, numParam.

Star Strider
Star Strider on 4 Sep 2015
This post fmincon and normal distribution log likelihood seems to bear directly on your Question.

Community Treasure Hunt

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

Start Hunting!