Last chance! 50% off unlimited learning
Sale ends in
This function provides a consistent method to return the estimated scale from a linear, generalized linear, nonlinear, or other model.
sigmaHat(object)
A nonnegative number
A regression object of type lm, glm or nls
Sanford Weisberg, sandy@umn.edu
For an lm or nls object, the returned quantity is the square root of the
estimate of
m1 <- lm(prestige ~ income + education, data=Duncan)
sigmaHat(m1)
Run the code above in your browser using DataLab