powered by
Prints coefficients paths for Liu regression models over a grid of values for the regularization (biasing) parameter lambda.
# S3 method for liureg print(x, digits = max(3, getOption("digits") - 3), ...)
The returned object is a data.frame showing the coefficients path.
An object of class liureg.
liureg
Number of decimal places in the coefficients data.frame.
Not used in this implementation.
Murat Genç
liureg(), summary(), pressliu(), residuals()
liureg()
summary()
pressliu()
residuals()
Hitters <- na.omit(Hitters) X <- model.matrix(Salary ~ ., Hitters)[, -1] y <- Hitters$Salary lam <- seq(0, 1, 0.01) liu.mod <- liureg(X, y, lam) print(liu.mod)
Run the code above in your browser using DataLab