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

ENH: design_info for endog #5385

Open
josef-pkt opened this issue Nov 15, 2018 · 1 comment
Open

ENH: design_info for endog #5385

josef-pkt opened this issue Nov 15, 2018 · 1 comment

Comments

@josef-pkt
Copy link
Member

patsy also provides a design_info for endog, that we currently don't attach and don't use.

This can be useful to look at possible endog transformation, or endog names in case of 2-D endog.

y, X = build_design_matrices([y.design_info. X.design_info], newdata)
https://groups.google.com/d/msg/pystatsmodels/sDED93s5Pk4/Ktf9QpPMAQAJ

related issues
#1449 endog transformation in predict
#2733 endog in Logit and GLM-Binomial treated as categorical by patsy, and a few more similar to this #878, #2181

@josef-pkt
Copy link
Member Author

see also #7021 (comment)

I'd like patsy to leave endog alone. the model.__init__ should get the original endog except for dropping observations that have missing values in data for exog.

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

No branches or pull requests

1 participant