Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


olsrr (version 0.5.0)

ols_plot_hadi: Hadi plot

Description

Hadi's measure of influence based on the fact that influential observations can be present in either the response variable or in the predictors or both. The plot is used to detect influential observations based on Hadi's measure.

Usage

ols_plot_hadi(model)

Arguments

model

An object of class lm.

Deprecated Function

ols_hadi_plot() has been deprecated. Instead use ols_plot_hadi().

References

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

See Also

[ols_plot_resid_pot()]

Examples

Run this code
# NOT RUN {
model <- lm(mpg ~ disp + hp + wt, data = mtcars)
ols_plot_hadi(model)

# }

Run the code above in your browser using DataLab