%% Default ARMA Model
% This example shows how to use the shorthand arima(p,D,q) syntax to specify the default ARMA(p, q) model,
% {y_t} = 6 + 0.2{y_{t - 1}} - 0.3{y_{t - 2}} + 3{x_t} + {\varepsilon _t} + 0.1{\varepsilon _{t - 1}}
% By default, all parameters in the created model object have unknown values, and the innovation distribution is Gaussian with constant variance.
% Specify the default ARMA(1,1) model:

Mdl = arima(1,0,1)

% The output shows that the created model object, Mdl, has NaN values for all model parameters: the constant term, the AR and MA coefficients, and the variance. You can modify the created model object using dot notation, or input it (along with data) to estimate.
% Copyright 2015 The MathWorks, Inc.