sigma.Rd
Extract the estimated standard deviation of the errors, the “residual standard deviation” (also misnamed the “residual standard error”), from a fitted model.
# S3 method for class 'merMod'
sigma(object, ...)
Typically a number, the estimated standard deviation of the errors (“residual standard deviation”) for Gaussian models, and - less interpretably - the square root of the residual deviance per degree of freedom in more general models.
Package lme4 provides methods for mixed-effects models of class
merMod
and lists of linear models, lmList4
.
methods(sigma)# from R 3.3.0 on, shows methods from pkgs 'stats' *and* 'lme4'
#> [1] sigma.default* sigma.glm* sigma.gls* sigma.lmList* sigma.lmList4*
#> [6] sigma.lme* sigma.merMod* sigma.mlm*
#> see '?methods' for accessing help and source code