what does dynare return as "Variance"?

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

what does dynare return as "Variance"?

Postby Tatiana57 » Thu May 18, 2017 3:04 pm

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?
Attachments
check.mod
(215 Bytes) Downloaded 51 times
Tatiana57
 
Posts: 1
Joined: Thu May 18, 2017 2:47 pm

Re: what does dynare return as "Variance"?

Postby jpfeifer » Thu May 18, 2017 3:14 pm

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
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 11 guests