Inferring/expressing the polynomial equation of a fitted smoothing spline?

我的未来我决定 提交于 2020-01-25 06:52:17

问题


If I smooth a data vector with a smoothing cubic spline my understanding is that each ‘segment’ between knots should be representable as a cubic polynomial.

Is it possible to infer the equation of each segment from the spline coefficients after e.g fitting by the smooth.spline function in R?

This is straightforward for an interpolating spine as the array of polynomial coefficients is generated explicitly. However, I’ve not been able to find an answer as to whether this is possible with a smoothing spline or regression spline?

The reason for wanting this is to in turn obtain an analytical expression for the derivative of a segment of a spline.

来源:https://stackoverflow.com/questions/59414275/inferring-expressing-the-polynomial-equation-of-a-fitted-smoothing-spline

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!