ols_hadi: Hadi's influence measure

View source: R/ols-influence-measures.R

ols_hadiR Documentation

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)

Arguments

model

An object of class lm.

Value

Hadi's measure of the model.

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

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


olsrr documentation built on May 29, 2024, 12:35 p.m.