Page 1 of 1

what does dynare return as "Variance"?

PostPosted: Thu May 18, 2017 3:04 pm
by Tatiana57
I have written the simplest code with TFP shock, where rhoA=0.97 is persistence.
The theoretical variance should be
theoretical variance=1/(1-rhoA^2)=16.9205
But dynare returns:

"
MOMENTS OF SIMULATED VARIABLES

VARIABLE MEAN STD. DEV. VARIANCE SKEWNESS KURTOSIS
A -0.240878 4.598555 21.146709 0.434870 0.629554
"
so, what is "21.146709", and why mean is negative?

Re: what does dynare return as "Variance"?

PostPosted: Thu May 18, 2017 3:14 pm
by jpfeifer
In your case it returns moments from a simulation as periods>0.
You used simulated moments with
Code: Select all
periods=1000;

This is not sufficient for asymptotics. Use e.g.
Code: Select all
periods=100000

and you will be much closer to the theoretical values