coef.Breg: Extract VAR(1) and SUR coefficient and residual covariance...

Description Usage Arguments Value See Also

Description

This function extracts the coefficient matrix β and residual covariance matrix Σ of VAR(1) and SUR model from an glmnet object.

Usage

1
coef_Breg(model,lambda,X,Y,type="var")

Arguments

model

An glmnet model.

lambda

Regularization parameter used in the estimation of β.

X,Y

Breg input.

type

Model type: "var"(default), "sur".

Value

beta

Coefficient matrix/vector.

recov

Residual covariance matrix.

See Also

coef.glmnet, Breg


Jianeng/FinReg documentation built on May 14, 2019, 8:41 a.m.