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
{{ message }}
Repository navigation
Make sure strings/factors work as y for binary models #2049
Ideally, I think we'd use something like CategoricalEndogPandasData (or similar) upstream in the data model, so we can re-use this. Similar approach may apply for multiple equation models as well, as needed.
Alternatively, we could turn it on for all of the models as a fallback to allow easily for things like a linear probability OLS.
Activity
jseabold commentedon Oct 21, 2014
Ideally, I think we'd use something like CategoricalEndogPandasData (or similar) upstream in the data model, so we can re-use this. Similar approach may apply for multiple equation models as well, as needed.
Alternatively, we could turn it on for all of the models as a fallback to allow easily for things like a linear probability OLS.
josef-pkt commentedon Oct 21, 2014
I think that will not work because only MNLogit, GLM binomial and tsa.VAR can handle 2d endog, and the columns have different meanings in those.
edit binary to 0, 1 conversion might/should work for all models. I was thinking of the MNLogit case with more than two categories.
jseabold commentedon Apr 6, 2021
Same symptom as #1210. Slightly different issue.