hat.ssr {assist}R Documentation

Extract the Hat Matrix from a ssr Object

Description

Calculate the hat matrix for a ssr object.

Usage

 
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

See Also

ssr

Examples

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

[Package Contents]