Skip to content

Support positivity or box constraints on fitted coefficients #4

Description

@tomwenseleers

I would like to use hqreg but apply positivity constraints on the fitted coefficients (box constraints would also be nice, but for my application positivity constraints would be enough). In glmnet this is possible by setting lower.limits to 0 (and there's also an extra argument upper.limits for box constraints).

I was just wondering if this feature might be planned in some future update of the package?
[I understand it is possible to add positivity constraints in Newton's method, see
https://scicomp.stackexchange.com/questions/23499/best-way-to-add-a-positivity-constraint-to-newtons-method]

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions