spearson {mixlm} | R Documentation |
Standardized Pearson residuals
Description
Standardized Pearson residuals.
Usage
spearson(object)
Arguments
object |
fitted model. |
Details
Takes ordinary Pearson residuals and standardizes them.
Value
Returns the residuals.
Author(s)
Kristian Hovde Liland
Examples
data <- data.frame(y = rnorm(8),
x = factor(c('a','a','a','a','b','b','b','b')),
z = factor(c('a','a','b','b','a','a','b','b')))
mod <- lm(y ~ x + z, data=data)
spearson(mod)
[Package mixlm version 1.3.0 Index]