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

Splines with difference penalty and monotonic constraints #882

Open
lorentzenchr opened this issue Nov 13, 2024 · 0 comments
Open

Splines with difference penalty and monotonic constraints #882

lorentzenchr opened this issue Nov 13, 2024 · 0 comments

Comments

@lorentzenchr
Copy link
Contributor

lorentzenchr commented Nov 13, 2024

As a user of GLMs/GAMs, I would like to

  • splines with a difference penalty without the hassle to specify the P2 matrix myself
  • optimize a single penalty per term (think of 2 features both modelled as splines)
  • use splines with monotonicity constraints

About monotonic splines, cf. Ramsay "Monotone Spline Regressions in Action" https://doi.org/10.1214/ss/1177012761:

  • One can use I-spline basis; or
  • Use differences of B-Splines
  • One needs to restrict the coefficients to be either >=0 (increasing) or <=0 (decreasing)
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