residuals.locfit Fitted values for a `"locfit"' object. residuals.locfit

Usage:


residuals(object, data, cv=F, studentize=F, type="dev")

Arguments:

object
"locfit" object.
data
The data frame for the original fit. Usually, shouldn't be needed.
cv
If TRUE, leave-one-out cross validated residuals are approximated.
studentize
If TRUE, residuals are studentized.
type
Type of fit or residuals to compute. The default is "fit" for fitted.locfit, and "dev" for residuals.locfit. Other choices include "pear" for Pearson residuals; "raw" for raw residuals, "ldot" for likelihood derivative; "d2" for the deviance residual squared; lddot for the likelihood second derivative. Generally, type should only be used when what="coef".

Description:

residuals.locfit is implemented as a front-end to fitted.locfit, with the type argument set.

Value:

A numeric vector of the residuals.

Key Words:

locfit
  Locfit Home   Help Index  

Built: Sat Aug 4 07:44:53 EDT 2001
Copyright © 2000, Lucent Technologies
Author: Catherine Loader