Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AIC value for negbin regression does not matches with R #70

Open
sourish-cmi opened this issue Dec 28, 2022 · 0 comments
Open

AIC value for negbin regression does not matches with R #70

sourish-cmi opened this issue Dec 28, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@sourish-cmi
Copy link
Collaborator

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
The following code reproduce the issue:

library(aod)
library(Zelig)
data(sanction)
fit = negbin(num ~ 0 + target + coop + ncost, ~1, sanction)
AIC(fit)

This gives 344.896 compared to CRRao's 344.87955007518536.

Expected behavior
CRRao's AIC value should match with that of R

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants