Skip to content

ENH: model transformation and constant, and penalization #1715

Open

Description

@josef-pkt

I'm again just running into convergence failures that are only on TravisCI.
This time with Poisson.fit_constrained.

I never manage to solve the convergence failure for one testcase for NegativeBinomial.fit_regularized on TravisCI.

If we do a transformation of the data to make it behave nicer, then we run into two related problems.

Penalized/Regularized estimators are not invariant to linear transformation. Penalization is on one parameter space, and with any transformation we need to also transform the penalization.

If we use a transformation that affects all columns, we don't know which is the constant.

Activity

  1. josef-pkt commented on Jun 20, 2014

    @josef-pkt
    MemberAuthor

    see also #1131 which is similar or almost duplicate

  2. josef-pkt commented on Mar 19, 2015

    @josef-pkt
    MemberAuthor

    another use case is to perform a transformation so that the penalization has the implemented structure. In this case we don't want to adjust the penalization for the transformation.

    Example:
    If penalization only implements biasing towards zero, then the structure of the penalization depends on the effect encoding. I don't know if the transformation to impose linear restriction in fit_constraint has exog columns that can directly be interpreted in terms of the constraints, I guess not.

    bspline basis functions (orthogonal hump shapes) cannot be used for knot selection without recalculating merged or split knot intervals. The representation as max(..) (?) would be better suited for this.
    issue is penalization by biasing diff of parameters or by biasing parameters to zero.

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