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

Mdl0 = egarch('Constant',0.01,'GARCH',0.8,'ARCH',0.14,...
    'Leverage',-0.1);
rng 'default';
[V,Y] = simulate(Mdl0,100);

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

Mdl = egarch(1,1);
[EstMdl,EstParamCov] = estimate(Mdl,Y,'Display','off');

%
% Print the estimation results.

print(EstMdl,EstParamCov)

% Copyright 2015 The MathWorks, Inc.