Extract 'Sigma' - Standard Deviation of Errors for Robust Models
Extract the estimated standard deviation of the errors, the “residual standard deviation” (misnomed also “residual standard error”) from a fitted model.
## S3 method for class 'lmrob' sigma(object, ...)
object |
a fitted model. |
... |
additional, optional arguments. (None are used in our methods) |
the residual standard error as a scalar
m.cl <- lm (Y ~ ., data=coleman) if(getRversion() >= "3.3.0") sigma(m.cl) else summary(m.cl)$sigma sigma( m1 <- lmrob(Y ~ ., data=coleman) ) sigma( m2 <- lmrob(Y ~ ., data=coleman, setting = "KS2014") )
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.