This function returns the smoothing matrix based on cubic smoothing spline method
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 (email@example.com) Chao Pan (firstname.lastname@example.org)
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
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.