cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
JMP is taking Discovery online, April 16 and 18. Register today and join us for interactive sessions featuring popular presentation topics, networking, and discussions with the experts.
Choose Language Hide Translation Bar
vince_faller
Super User (Alumni)

getting AIC/likelihood from model coefficients

Maybe a bit off topic, but:

I'm getting a model from R GLMNet (a general regression elastic net package, because the customer won't upgrade from JMP 10) and I need to calculate the AIC.  This package doesn't seem to give me likelihood.  So ... is it possible to calculate the max likelihood from the coefficients? The model is made using the max likelihood so I'm hoping that there is some way to pull this information if I have the chosen model.  It probably isn't, but I'm grasping at straws right now.  

Vince Faller - Predictum
10 REPLIES 10
hafidwr
Level I

Re: getting AIC/likelihood from model coefficients

Excuse me, do you have reference on "Deviance(null) - Deviance(fit) = 2(L(model)-L(null))"? 

 

With  2(L(model)-L(null) do you mean it's "2 log likelihood" or "2 log (L0/L1)"?  Shouldn't it be "-2 log likelihood", or the equation of Deviance(null) - Deviance(fit) ignore the negative (-) sign?

 

Sorry for the rapid question.