Mahal {BetterReg} | R Documentation |
Compute Mahalanobis Distance for Multiple Regression
Description
Compute Mahalanobis Distance for Multiple Regression
Usage
Mahal(model = NULL, pred = NULL, values = 5)
Arguments
model |
name of model |
pred |
number of predictors |
values |
number of Mahal values to print (highest values). Default is 10 |
Value
Mahalanobis Distance to detect MV outliers
Examples
mymodel<-lm(y~x1+x2+x3+x4, testreg)
Mahal(model=mymodel, pred=5, values = 10)
[Package BetterReg version 0.2.0 Index]