%% Known Parameter Values for a Regression Model with SARIMA Errors
% This example shows how to specify values for all parameters of a regression model with SARIMA errors.
% Specify the regression model with \rm{SARIMA}(1,1,1)\times(1,1,0)_{12} errors:
% \begin{array}{c}{y_t} = {X_t}\beta  + {u_t}\\\left( {1 - 0.2L} \right)\left( {1 - L} \right)\left( {1 - 0.25{L^{12}} - 0.1{L^{24}}} \right)\left( {1 - {L^{12}}} \right){u_t} = \left( {1 + 0.15L} \right){\varepsilon _t},\end{array}
% where \varepsilon_t is Gaussian with unit variance.

Mdl = regARIMA('AR',0.2,'SAR',{0.25, 0.1},'SARLags',[12 24],...
    'D',1,'Seasonality',12,'MA',0.15,'Intercept',0,'Variance',1)

% The parameters in Mdl do not contain NaN values, and therefore there is no need to estimate Mdl. However, you can simulate or forecast responses by passing Mdl to simulate or forecast.
% Copyright 2015 The MathWorks, Inc.