Obtaining an optimized log likelihood value using 'fmincon'

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)

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.

Categories

Find more on Econometrics Toolbox in Help Center and File Exchange

Asked:

on 4 Sep 2015

Answered:

on 4 Sep 2015

Community Treasure Hunt

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

Start Hunting!