rv | R Documentation |
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.
rv(fit)
fit |
|
Returns the residual variance estimate from the "locfit"
object.
locfit, rv<-
data(ethanol)
fit <- locfit(NOx~E,data=ethanol)
rv(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.