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

mixed effects model with nested random effects by statsmodels.formula.api.negativebinomial #9217

Open
mabaoweireadingene opened this issue Apr 18, 2024 · 0 comments

Comments

@mabaoweireadingene
Copy link

mixed effects model with nested random effects

The nested random effects specified after inputting the parameters do not take effect.

my_formula2=‘y~a+b'’

statsmodels.formula.api.negativebinomial(my_formula2, data=data, groups=data["lei"] )

statsmodels/base/model.py:130: ValueWarning: unknown kwargs ['groups', 're_formula']
warnings.warn(msg, ValueWarning)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant