cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

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