An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/r-help/attachments/20050301/8bc0a13b/attachment.pl
constraining initial slope in smoother.spline
2 messages · Bill Shipley, Simon Wood
Hello. I want to fit a smoother spline (or an equivalent local regression method) to a series of data in which the initial value of the 1st derivative (slope) is constrained to a specific value. Is it possible to do this? If so, how?
- you should be able to modify the example in the help file for mgcv::pcls, to do this. The example uses inequality constraints to impose monotonicity on a smooth, but the routine will also accept equality constraints. Simon