Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support positivity or box constraints on fitted coefficients #4

Open
tomwenseleers opened this issue Apr 19, 2018 · 0 comments
Open

Comments

@tomwenseleers
Copy link

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]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant