%% Display Estimation Results
% Print the results from estimating an ARMA model using simulated data.
% Simulate data from an ARMA(1,1) model using known parameter values.

MdlSim = arima('Constant',0.01,'AR',0.8,'MA',0.14,...
    'Variance',0.1);
rng 'default';
Y = simulate(MdlSim,100);

%
% Fit an ARMA(1,1) model to the simulated data, turning off the print display.

Mdl = arima(1,0,1);
EstMdl = estimate(Mdl,Y,'Display','off'); 

%
% Print the estimation results.

summarize(EstMdl)

% Copyright 2017 The MathWorks, Inc.
%