Skip to content

ENH: can I do .fit_regularized with multivariate endogenous and exogenous variables (multivariate regression)? #7255

Open

Description

@moonj94

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.

Activity

  1. josef-pkt commented on Mar 9, 2023

    @josef-pkt
    Member

    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.

  2. 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions