%% Display Model Object
% Create a VAR(2) model object for three response variables. Use the shorthand syntax.

numseries = 3;
p = 2;
Mdl = varm(numseries,p);

%
% Display the VAR(2) model.

Mdl

% Mdl is a varm model object. Its properties (left) and corresponding values (right) are listed at the command line.
% The coefficients included in the model are the model constant vector Constant and the autoregressive polynomial coefficient matrices AR at lags 1 and 2. Their corresponding property values are appropriately sized arrays of NaNs, which indicates that the values are unknown but estimable. Similarly, the innovations covariance matrix Covariance is a NaN matrix, so it is also unknown but estimable.
% By default, the linear time-trend vector Trend is composed of zeros, and the regression coefficient matrix Beta has a column dimension of zero. If you supply exogenous data when you estimate Mdl by using estimate, MATLAB® infers the column dimension of Beta from the specified data, sets Beta to a matrix of NaNs, and estimates it. Otherwise, MATLAB® ignores the regression component of the model.
%
% Copyright 2019 The MathWorks, Inc.