Skip to content

DOC/TST/ENH/Design: using scipy contrained optimizers in regular models #4591

Open

Description

@josef-pkt

I think this is a functionality that we inherit now from scipy through the minimize fit method.
(I might have seen an example where someone uses it.)

We don't have any examples and not verification for it.
E.g. what happens to inference with inequality constraints.

Linear and nonlinear equality constraints are theoretically fine, but I don't know if we would have correct cov_params in that case.

Needs examples to check, document, test, and warn for things that work automatically, but don't produce correct results.

Activity

  1. added this to the 0.10 milestone on May 4, 2018
  2. josef-pkt commented on May 4, 2018

    @josef-pkt
    MemberAuthor

    Basically I have no idea about how this will work out. I was thinking about current constrained optimization and how that can be extended.

    This excludes models that don't have a fit method that uses the scipy optimizers, e.g. OLS/WLS. RLM, VAR/VECM. But GLM would work.

  3. modified the milestones: 0.10, 0.14 on Nov 27, 2021
  4. josef-pkt commented on Nov 27, 2021

    @josef-pkt
    MemberAuthor

    bump to try it out for 0.14

    Even if we don't have inference we can use restricted parameter estimates for score_test (targeted for 0.14)

    related newer issues

    For score_test the relevant constraints would be equality constraints. Standard inference will be valid as long as we are not at the boundary of the parameter space, and the main extra work will be to handle the singular cov_params.
    (my main targets currently are discrete and othermod)

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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions