print.statliu {fastliu} | R Documentation |
statliu
computes the statistics related to the Liu regression.
## S3 method for class 'statliu'
print(x, digits = 5, ...)
x |
A |
digits |
Number of decimal places in the data frame of Liu regression statistics. |
... |
Other parameters related to |
The return object is the statistics relatec to the Liu regression.
Murat Genç
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)
stats <- statliu(liu.mod)
print(stats)