cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to move from signal modeling to system modeling at the first JMP Aerospace Analytics webinar. Register. June 18, 1 p.m. US Eastern Time.

Discussions

Solve problems, and share tips and tricks with other JMP users.
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.

Recommended Articles