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
related issue: if we have formula in creating the model, then we need also formula support for transform in predict and related methods like get_distribution.
question on mailing list
It looks like there are no unit tests and examples for from_formula for ZIP or ZINB.
Usage should be
ZeroInflatedPoisson.from_formula("count ~ bin + animal", my_dataframe)
with keyword options for
exog_infl=None, offset=None, inflation='logit', exposure=None
In my main notebook I used only numpy directly
https://gist.github.com/josef-pkt/c932904296270d75366a24ee92a4eb2f
ZeroInflated models are also not in formula.api
The text was updated successfully, but these errors were encountered: