Understanding AIC Values for Best Model
古いコメントを表示
Hello, I am trying to understand how to interpret my AIC outputs for three comparison models. I computed the AIC values using either the cumulative negative log likelihoods (nLL) or cumulative deviance for each model.
In my code, how I assess the two AIC values are as follows:
AIC_nLL = -2 * (cum_nLL) + 4; %4 because it is 2k and I have 2 free parameters in each model
AIC_dev = cum_dev + 4; %4 because it is 2k and I have 2 free parameters in each model
For AIC_nLL I get negative results, (i.e., -15585.2; -15821.7; -35015.2 ) and for AIC_dev I get positive results (i.e., 1.57E+04 ; 1.59E+04; 3.51E+04 ).
While the actual positve/negative values aren't relevant, the decision for which model is best differs between the two calculations, as for AIC_nLL it suggests Model 3 is best and with AIC_dev it suggests Model 1/2 are best.
I have already gone through to double check that my cum_nLL calclulations and cum_deviance calculations are correct. I'm not sure how to move forward with interpreting my results.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Programmatic Model Editing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!