Skip to content

VAR

Vector autoregression: lag-order selection, coefficients, Granger causality, impulse responses, variance decomposition and forecasts.

VAR [VARIABLES=]varlist [/LAGS=p | /MAXLAGS=k] [/CRITERION=AIC|BIC|HQ|FPE] [/TREND=CONSTANT|TREND|NONE] [/GRANGER]
[/IRF=h [ORTHOGONAL|NONORTHOGONAL]] [/FEVD=h] [/FORECAST=h] [/CRITERIA=CI(95)] [/PLOT=IRF FORECAST NONE].
Kind Procedure (reads data, produces output)
Body main /SUBCOMMAND[=] …
Changes data no
Subcommands /CRITERIA, /CRITERION, /FEVD, /FORECAST, /GRANGER, /IRF, /LAGS, /MAXLAGS, /PLOT, /TREND, /VARIABLES
Menu Analyze ▸ Forecasting
Slot: Series 2+ variable(s); levels: scale; types: numeric
VAR gdp inflation rate /MAXLAGS=8 /CRITERION=AIC /GRANGER /IRF=12 /FEVD=12.
VAR sales adspend /LAGS=2 /FORECAST=6.
  • Without /LAGS the order is chosen by the criterion (default AIC).
  • Orthogonalised impulse responses depend on the order of the variables (Cholesky).

TSMODEL


Generated from OrcStat’s command registry and reference. To suggest a change, open an issue.