Learn R Programming

lmridge (version 1.2.2)

vcov.lmridge: Variance-Covariance Matrix for Fitted Ridge Model

Description

The vcov function computes the variance-covariance matrix for the estimates of linear ridge regression model.

Usage

# S3 method for lmridge
vcov(object, ...)

Value

A list of matrix of estimated covariances in the linear ridge regression model for scalar or vector biasing parameter KK is produced. Each list element has row and column names corresponding to the parameter names given by the coef(mod). List items are named correspond to values of biasing parameter \(K\).

Arguments

object

For VCOV method, an object of class "lmridge", i.e., a fitted model.

...

Not presently used in this implementation.

Author

Muhammad Imdad Ullah, Muhammad Aslam

Details

The vcov function computes variance-covariance matrix for scalar or vector value of biasing parameter \(K\) provided as argument to lmridge function.

References

Brown, G.W. and Beattie, B.R. (1975). Improving Estimates of Economic Parameters by use of Ridge Regression with Production Function Applications. American Journal of Agricultural Economics, 57(1), 21-32. tools:::Rd_expr_doi("10.2307/1238836").

See Also

The ridge model fitting lmridge, ridge VIF values vif

Examples

Run this code
data(Hald)
mod<- lmridge(y~., data=as.data.frame(Hald), scaling="sc", K=seq(0,1,.2) )

vcov.lmridge(mod)
vcov(mod)

Run the code above in your browser using DataLab