Periods in stoch_simul

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.

Periods in stoch_simul

Postby fisico69500 » Tue Apr 14, 2015 1:52 pm

Dear All,

I would like to compare the standard deviations of my DSGE model with the ones in the data. Those data are given at quarterly frequency and are HP filtered with a coefficient lambda = 1600.

In the stoch_simul command, I introduce the option "hp-filter=1600". Should I have to set "periods = 320" (320 is the number of quarters of the data) ? Or is it not required to set the option "periods" in stoch_simul ? I've tried both and the results are very similar.

Thanks in advance for your reply.

All the best
fisico69500
 
Posts: 12
Joined: Mon Jul 02, 2012 10:34 am

Re: Periods in stoch_simul

Postby jpfeifer » Tue Apr 14, 2015 1:58 pm

With the periods statement, you get simulated moments, without it, you get theoretical moments (unless order=3, in which case it is simulated as well)
------------
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

Re: Periods in stoch_simul

Postby fisico69500 » Tue Apr 14, 2015 2:04 pm

Thank you for this quick reply. Since I want to compare the moments of my model to the ones of the data, do you mean that including the periods statement is more relevant ?

Thanks again.
fisico69500
 
Posts: 12
Joined: Mon Jul 02, 2012 10:34 am

Re: Periods in stoch_simul

Postby jpfeifer » Tue Apr 14, 2015 2:07 pm

As you noted yourself, there should not be much difference. I personally prefer theoretical moments (unless you use order>1).
------------
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

Re: Periods in stoch_simul

Postby fisico69500 » Tue Apr 14, 2015 2:28 pm

Thank you very much. Very clear, as usual.

Best
fisico69500
 
Posts: 12
Joined: Mon Jul 02, 2012 10:34 am


Return to Dynare help

Who is online

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