xuyongdeng
2011-Aug-19 15:08 UTC
[R] How to generate piecewise cubic spline with many knots?
Hi all, I have a series of intra-day data. The variables exhibit a typical daily pattern over the day. I need to diurnallly adjust the data. It takes the follow form 1, regress y on a piecewise cubic spline of x with knots (a1,a2,a3,a4...). x is the time of a day. 2, divide original series by the spline forecast. I know there are some functions to do the spline, like bs, splint, I do not know which one is exactly I need. Does anyway give me some suggestion? Thanks. -- View this message in context: http://r.789695.n4.nabble.com/How-to-generate-piecewise-cubic-spline-with-many-knots-tp3755419p3755419.html Sent from the R help mailing list archive at Nabble.com.
xuyongdeng
2011-Aug-22 11:58 UTC
[R] How to generate piecewise cubic spline with many knots?
Any commons is great appreciated. -- View this message in context: http://r.789695.n4.nabble.com/How-to-generate-piecewise-cubic-spline-with-many-knots-tp3755419p3759893.html Sent from the R help mailing list archive at Nabble.com.