Description Usage Arguments Details Value Author(s) References See Also Examples
This function returns the smoothing matrix based on cubic smoothing spline method
1 | ssmatls(n)
|
n |
the number of (equally spaced) grid |
This function is based on Green and Silverman (1994) smoothing spline technique
A smoothing matrix based on smoothing spline method
Lingsong Zhang (lingsong@purdue.edu) Chao Pan (panc@purdue.edu)
Green, P. J., & Silverman, B. W. (1994). Nonparametric regression and generalized linear models: a roughness penalty approach (pp. 12-27). London: Chapman & Hall.
See Also as smooth.spline
1 2 3 4 5 | #set the number of grid
n<-100
#calculate the smoothing matrix
g<-ssmatls(n)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.