hat.ssr | R Documentation |
Calculate the hat matrix for a ssr
object.
hat.ssr(ssr.obj)
ssr.obj |
a fitted ssr object. |
The hat matrix may be used for diagnosis. Note that the full name hat.ssr shoud be used since the function hat already exist.
returned is the hat (influence, smoother) matrix.
Chunlei Ke chunlei_ke@yahoo.com and Yuedong Wang yuedong@pstat.ucsb.edu
Eubank, R. L. (1984). The Hat Matrix for Smoothing Splines. Statistics and Probability Letters, 2:9-14.
Eubank, R. L. (1985). Diagnostics for Smoothing Splines. Journal of the Royal Statistical Society B. 47: 332-341.
Wahba, G. (1990). Spline Models for Observational Data. SIAM, Vol. 59.
ssr
## Not run: library(MASS)
## Not run: fit1<- ssr(accel~times, data=mcycle, scale=T, rk=cubic(times))
## Not run: h <- hat.ssr(fit1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.