Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


vars (version 0.1.7)

B: Coefficient matrix of an estimated VAR(p)

Description

Returns the estimated coefficients of a VAR(p) as a matrix.

Usage

B(x)

Arguments

x
An object of class varest, generated by VAR().

Value

  • A matrix holding the estimated coefficients of a VAR.

Details

Given an estimated VAR of the form: \boldy^t=C^Dt+A^1\boldyt1++A^p\boldytp the function returns the matrices $(\hat{C} | \hat{A}_1 | \ldots | \hat{A}_p)$ as a matrix object.

See Also

A, VAR

Examples

Run this code
data(Canada)
var.2c <- VAR(Canada, p = 2, type = "const")
B(var.2c)

Run the code above in your browser using DataLab