-
Notifications
You must be signed in to change notification settings - Fork 48
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
Intercept-only models return NaN
with avg_*()
#1230
Comments
just for a test, I tried the same with a simpler model:
and the pattern was the same! |
NaN
NaN
NaN
with avg_*()
Thanks for the report @vbrazao I tried to look at this a bit and can't quite figure out what is going on with intercept-only model. I'll come back to it when I find some time. Sorry for the problems! |
Thanks a lot for the report. Should be fixed on Github now. I plan to release to CRAN in the next few weeks. |
Not sure if this is a bug or by design, but I seem to be encountering the same issue @ASKurz reported here: #1021 when using a multinomial model.
However,
Results:
My plan was to use the
hypothesis
argument to compare the predicted proportions to expected proportions (from domain knowledge), but I got stuck here. Not sure if my approach is simply wrong ormarginaleffects
should be able to produce this...The text was updated successfully, but these errors were encountered: