Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 201867

Q: mgcv::gam() with constraints on the coefficents

$
0
0

I'm fitting a logit GAM model and need to impose an inequality constraints on beta's in the smooth terms. I've tried mgcv::pcls() but it seems I can't specify the independent inequalities for the different spline coefficients. What's the recommended way to achieve this?


Viewing all articles
Browse latest Browse all 201867

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>