Learn R Programming

robust (version 0.7-5)

lmRob.RFPE: Robust Final Prediction Errors

Description

Computes the robust Final Prediction Errors (FPE) for a robust regression fit using M-estimates.

Usage

lmRob.RFPE(object, scale = NULL)

Value

a single numeric value giving the robust final prediction error.

Arguments

object

an lmRob object.

scale

a numeric value specifying the scale estimate used to compute the robust FPE. Usually this should be the scale estimate from an encompassing model. If NULL, the scale estimate in object is used.

See Also

lmRob, step.lmRob, drop1.lmRob.

Examples

Run this code
data(stack.dat)
stack.rob <- lmRob(Loss ~ ., data = stack.dat)
lmRob.RFPE(stack.rob)

Run the code above in your browser using DataLab