LOCFIT: R and S-Plus Help | ||||
hatmatrix(formula, ...)
hatmatrix() computes the weight diagrams (also known as
equivalent or effective kernels) for a local regression smooth.
Essentially, hatmatrix() is a front-end to locfit(),
setting a flag to compute and return weight diagrams, rather than the
fit.
Value:
A matrix with n rows and p columns; each column being the
weight diagram for the corresponding locfit fit point.
If ev="data", this is the transpose of the hat matrix.
See Also:
Key Words:
smooth
| ||||
|
Built: Thu Dec 2 16:56:05 EST 2004
Copyright © 2004, Catherine Loader locfit@herine.net | ||||