Learn R Programming

liureg (version 1.1.2)

plot.liu: Plot of the Liu Coefficients

Description

Plot of the Liu coefficient for scalar or vector values of biasing parameter \(d\).

Usage

# S3 method for liu
plot(x, abline = TRUE, …)

Arguments

x

An object of class "liu".

abline

Vertical line to minimum value of MSE at certain value of biasing parameter \(d\) used as argument in liu function.

Not presently used in this implementation.

Value

Nothing returned

Details

Graphical way of judging optimal value of biasing parameter \(d\). The biasing parameter may be selected for acceptable (or minimum) value of MSE.

References

Imdad, M. U. (2017). Addressing Linear Regression Models with Correlated Regressors: Some Package Development in R (Doctoral Thesis, Department of Statistics, Bahauddin Zakariya University, Multan, Pakistan).

Imdadullah, M., Aslam, M., and Altaf, S. (2017). liureg: A comprehensive R Package for the Liu Estimation of Linear Regression Model with Collinear Regressors. The R Journal, 9 (2), 232--247.

Liu, K. (1993). A new Class of Biased Estimate in Linear Regression. Journal of Statistical Planning and Inference, 141, 189--196. http://doi.org/10.1080/03610929308831027.

See Also

Liu model fitting liu, Liu residuals residuals.liu, Liu PRESS press.liu, Testing of Liu Coefficients summary.liu, Plot of bias variance trade-off plot.biasliu

Examples

Run this code
# NOT RUN {
mod<-liu(y~., data = as.data.frame(Hald), d = seq(-5, 5, 0.4))
plot(mod)
plot(mod, abline = TRUE)
# }

Run the code above in your browser using DataLab