B {vars} | R Documentation |
Returns the estimated coefficients of a VAR(p) as a matrix.
B(x)
x |
An object of class ‘varest ’, generated by VAR() . |
Given an estimated VAR of the form:
hat{y}_t = hat{C}D_t + hat{A}_1 y_{t-1} + ... + hat{A}_p y_{t-p}
the function returns the matrices (hat{C} | hat{A}_1 | ... | hat{A}_p) as a matrix object.
A matrix holding the estimated coefficients of a VAR.
Bernhard Pfaff
data(Canada) var.2c <- VAR(Canada, p = 2, type = "const") B(var.2c)