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
ENH: can I do .fit_regularized with multivariate endogenous and exogenous variables (multivariate regression)? #7255
Is your feature request related to a problem? Please describe
I wish to do multivariate regression but I also want to make the regression model regularized. But it seems that when I pass in 2-d endogenous and exogenous variables, statsmodel does not like it. Is there a way to do this in a multivariate manner?
Describe the solution you'd like
A clear and concise description of what you want to happen.
I would like to do regularized multivariate regression.
Describe alternatives you have considered
A clear and concise description of any alternative solutions or features you have considered.
Splitting up the multivariate into univariate is one way I considered, but as I am dealing with EEG the channels are not really independent from each other and are potentially related. This is why i'd like to do multivariate regression that is regularized.
Additional context
Add any other context about the feature request here.
not supported
statsmodels does not have multivariate linear regression yet, so no penalized version either
penalized multivariate regression might be difficult because of the choice how penalty on coefficients or set of coefficients are specified.
I guess with penalties on individual parameters, we loose the equivalence of OLS with SUR/GLS for parameter estimates. I think we will need a full SUR/GLS version for that. By analogy to imposing restrictions on parameters.
changed the title [-]can I do .fit_regularized with multivariate endogenous and exogenous variables (multivariate regression)?[/-][+]ENH: can I do .fit_regularized with multivariate endogenous and exogenous variables (multivariate regression)?[/+]on Mar 9, 2023
Activity
josef-pkt commentedon Mar 9, 2023
not supported
statsmodels does not have multivariate linear regression yet, so no penalized version either
penalized multivariate regression might be difficult because of the choice how penalty on coefficients or set of coefficients are specified.
I guess with penalties on individual parameters, we loose the equivalence of OLS with SUR/GLS for parameter estimates. I think we will need a full SUR/GLS version for that. By analogy to imposing restrictions on parameters.
[-]can I do .fit_regularized with multivariate endogenous and exogenous variables (multivariate regression)?[/-][+]ENH: can I do .fit_regularized with multivariate endogenous and exogenous variables (multivariate regression)?[/+]