You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I hope you're doing well. First, thanks for such a great package! In my usage of the package, I noticed that the estimation of AIC for the loglm model does not use the same formula as stats::AIC(). I believe it is using the formula deviance - 2*df, which is outlined on pg. 356 of your book Discrete Data Analysis with R. Would it be possible to explicitly state this formula in the documentation--similar to what is done in the zero.test() documentation? This would be useful as there is disagreement between the AIC reported by LRstats() and modFit() as it appears that LRstats is using stats::AIC() whereas modFit() uses the aforementioned formula.
This would be very helpful for users to understand the disagreement between the two functions!
Activity
friendly commentedon May 12, 2026
Thanks for this note. As you are aware, the scaling of AIC is somewhat arbitrary. I'll look at this and try to make it clearer