Learn R Programming

RobRSVD (version 1.0)

ssmatls: The smoothing spline matrix

Description

This function returns the smoothing matrix based on cubic smoothing spline method

Usage

ssmatls(n)

Arguments

n
the number of (equally spaced) grid

Value

A smoothing matrix based on smoothing spline method

Details

This function is based on Green and Silverman (1994) smoothing spline technique

References

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

See Also as smooth.spline

Examples

Run this code
#set the number of grid
n<-100

#calculate the smoothing matrix
g<-ssmatls(n)

Run the code above in your browser using DataLab