print.statliu {fastliu}R Documentation

Print Method for Liu Regression Statistics

Description

statliu computes the statistics related to the Liu regression.

Usage

## S3 method for class 'statliu'
print(x, digits = 5, ...)

Arguments

x

A statliu object

digits

Number of decimal places in the data frame of Liu regression statistics.

...

Other parameters related to print.

Value

The return object is the statistics relatec to the Liu regression.

Author(s)

Murat Genç

See Also

liureg(), summary(), pressliu(), residuals()

Examples

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)

[Package fastliu version 1.0 Index]