Learn R Programming

ConnectednessApproach (version 1.0.4)

VAR: Vector autoregression

Description

Estimation of a VAR using equation-by-equation OLS regressions.

Usage

VAR(x, configuration = list(nlag = 1))

Value

Estimate VAR model

Arguments

x

zoo data matrix

configuration

model configuration

nlag

Lag length

Author

David Gabauer

References

Sims, C. A. (1980). Macroeconomics and reality. Econometrica, 1-48.

Examples

Run this code
data("dy2012")
fit = VAR(dy2012, configuration=list(nlag=1))

Run the code above in your browser using DataLab