|
Hello,
I've noticed that SPLUS seems to have a function for evaluating derivative matrices of splines. I've found the R function that evaluates matrices from 'smooth.spline'; maybe someone has written something to do the same with smooth.basis? regards, s ______________________________________________ [hidden email] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. |
|
dear s,
If you are willing to use B-splines placing p knots, say, (rather than smoothing splines placing n knots), you could have a look to the functions splineDesign() or spline.des() (argument derivs) in the package "splines". vito On Fri, 24 Feb 2012 12:28:58 -0800 (PST), Vassily Shvets wrote > Hello, > I've noticed that SPLUS seems to have a function for evaluating derivative > matrices of splines. I've found the R function that evaluates matrices from > 'smooth.spline'; maybe someone has written something to do the same with smooth.basis? > regards, > s > > ______________________________________________ > [hidden email] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Open WebMail Project (http://openwebmail.org) ______________________________________________ [hidden email] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. |
|
Hello again,
Thank you, vito for these functions: I've been able to look at the smoothing spline matrix and its derivatives that I constucted with functions "create.bspline.basis" and "smooth.basis" Understanding from Hastie and Tishbirani that the S(lambda)-- the penalty matrix 25 февраля 2012, 15:11 от "vito.muggeo" <[hidden email]>: > dear s, > > If you are willing to use B-splines placing p knots, say, (rather than smoothing splines > placing n knots), you could have a look to the functions splineDesign() or spline.des() > (argument derivs) in the package "splines". > > vito > > On Fri, 24 Feb 2012 12:28:58 -0800 (PST), Vassily Shvets wrote > > Hello, > > I've noticed that SPLUS seems to have a function for evaluating derivative > > matrices of splines. I've found the R function that evaluates matrices from > > 'smooth.spline'; maybe someone has written something to do the same with smooth.basis? > > regards, > > s > > > > ______________________________________________ > > [hidden email] mailing list > > https://stat.ethz.ch/mailman/listinfo/r-help > > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > > and provide commented, minimal, self-contained, reproducible code. > > -- > Open WebMail Project (http://openwebmail.org) > > [hidden email] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. |
| Powered by Nabble | Edit this page |
