hat.ssr: Extract the Hat Matrix from a ssr Object

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Calculate the hat matrix for a ssr object.

Usage

1
2
 
hat.ssr(ssr.obj)

Arguments

ssr.obj

a fitted ssr object.

Details

The hat matrix may be used for diagnosis. Note that the full name hat.ssr shoud be used since the function hat already exist.

Value

returned is the hat (influence, smoother) matrix.

Author(s)

Chunlei Ke chunlei\_ke@pstat.ucsb.edu and Yuedong Wang yuedong@pstat.ucsb.edu

References

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.

See Also

ssr

Examples

1
2
3
## Not run: library(MASS)
## Not run: fit1<- ssr(accel~times, data=mcycle, scale=T, rk=cubic(times))
## Not run: h <- hat.ssr(fit1)

catherinewang1/assist documentation built on June 16, 2019, 1:36 p.m.