rv Residual variance from a "locfit" object. rv

Usage:


rv(fit)

Description:

As part of the locfit fitting procedure, an estimate of the residual variance is computed; the rv function extracts the variance from the "locfit" object. The estimate used is the residual sum of squares (or residual deviance, for quasi-likelihood models), divided by the residual degrees of freedom.

For likelihood (not quasi-likelihood) models, the estimate is 1.0.

Arguments:

fit
"locfit" object.

Value:

Returns the residual variance estimate from the "locfit" object.

Examples:


data(ethanol)
fit <- locfit(NOx~E,data=ethanol)
rv(fit)

See Also:

locfit, rv<-

Key Words:

locfit
  Locfit Home   Help Index  

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