VAR
Vector autoregression: lag-order selection, coefficients, Granger causality, impulse responses, variance decomposition and forecasts.
Syntax
Section titled “Syntax”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].Synopsis
Section titled “Synopsis”| 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 |
Examples
Section titled “Examples”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).
Related
Section titled “Related”Generated from OrcStat’s command registry and reference. To suggest a change, open an issue.