Learn R Programming

olsrr (version 0.5.3)

ols_hadi: Hadi's influence measure

Description

Measure of influence based on the fact that influential observations in either the response variable or in the predictors or both.

Usage

ols_hadi(model)

Value

Hadi's measure of the model.

Arguments

model

An object of class lm.

References

Chatterjee, Samprit and Hadi, Ali. Regression Analysis by Example. 5th ed. N.p.: John Wiley & Sons, 2012. Print.

See Also

Other influence measures: ols_leverage, ols_pred_rsq, ols_press

Examples

Run this code
model <- lm(mpg ~ disp + hp + wt, data = mtcars)
ols_hadi(model)

Run the code above in your browser using DataLab