IRIS Toolbox Reference Manual

VAR

Create new empty reduced-form VAR object

Syntax for plain VAR and VARX

V = VAR(YNames)
V = VAR(YNames,'exogenous=',XNames)

Syntax for panel VAR and VARX

V = VAR(YNames,'groups=',GroupNames)
V = VAR(YNames,'exogenous=',XNames,'groups=',GroupNames)

Output arguments

Options

Description

This function creates a new empty VAR object. It is usually followed by an estimate command to estimate the VAR parameters on the data.

Example

To estimate a VAR, you first need to create an empty VAR object specifying the variable names, and then run the VAR/estimate function on it, e.g.

v = VAR({'x','y','z'});
[v,d] = estimate(v,d,range);

where the input database d ought to contain time series d.x, d.y, d.z.