Robust R-Squared

DESCRIPTION:

Returns the robust R-squared for a robust linear regression.

USAGE:

rsquared.lmRobMM(x) 

REQUIRED ARGUMENTS:

x
an object of class "lmRobMM".

VALUE:

the robust R-squared.

DETAILS:

If the corresponding coefficient estimates are the initial S-estimates, the R-squared is computed using the initial S-estimates; otherwise, it is computed using the final M-estimates.

SEE ALSO:

.

EXAMPLES:

stack.df <- data.frame(Loss=stack.loss,stack.x) 
stack.robust <- lmRobMM(Loss~Air.Flow+Water.Temp+Acid.Conc.,data=stack.df) 
rsquared.lmRobMM(stack.robust)