Learn R Programming

liureg (version 1.1.2)

residuals.liu: Liu Regression Residuals

Description

The residuals function computes the Liu residuals for scalar or vector value of biasing parameter \(d\).

Usage

# S3 method for liu
residuals(object, …)

Arguments

object

An object of class "liu".

Not presently used in this implementation.

Value

Returns a vector or a matrix of the Liu residuals for scalar or vector value biasing parameter \(d\) provided as argument to liu function.

Details

The generic functions residuals can be used to compute residuals of object of class "liu" from function liu.

References

Akdeniz, F. and Kaciranlar, S. (1995). On the Almost Unbiased Generalized Liu Estimators and Unbiased Estimation of the Bias and MSE. Communications in Statistics-Theory and Methods, 24, 1789--1897. http://doi.org/10.1080/03610929508831585.

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

The Liu model fitting liu, Liu prediction predict, Liu PRESS values press

Examples

Run this code
# NOT RUN {
mod<-liu(y~., data = as.data.frame(Hald), d = seq(-2, 2, 0.1))

residuals(mod)
# }

Run the code above in your browser using DataLab