ACF

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.

ACF

Postby alpha78 » Tue Aug 07, 2012 2:59 pm

Hello there,

I am using the option "moments_varendo" to compute the posterior distribution of the autocorrelation functions of endogenous variables. However, if I am not wrong in interpreting the results in the metropolis folder, the matrix Correlation_array contains the autocorrelation functions up to the fifth order. I tried to add the option ar as in stoch_simul in the estimation command but I got an error message. How could I get higher order autocorrelations?
many thanks.
alpha78
 
Posts: 2
Joined: Tue Aug 07, 2012 2:25 pm

Re: ACF

Postby jpfeifer » Wed Aug 08, 2012 2:51 pm

Put e.g.
Code: Select all
options_.ar=10;

directly before the estimation command.
------------
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: ACF

Postby alpha78 » Wed Jan 30, 2013 4:43 pm

Hello there,

I am using the Dynare version 4.3.1.
I would like to ask again a suggestion regarding the posterior distribution of the ACF of endogenous variables. Even though I am using this option before the estimation command(option_.ar=20), in the metropolis folder, the matrix Correlation_array contains the autocorrelation functions only up to the fifth order. I also had a look at the results in oo_.PosteriorTheoreticalMoments.dsge.correlation.mean.Y.Y but this is a scalar. Should this be at least a 5*1 vector by default?

option_.ar=10;
estimation(datafile=data_lt, mode_compute=0, mh_replic = 200000, mh_jscale=0.30, mode_file=name_mode, moments_varendo) Y C I PIE R;

Many thanks.
alpha78
 
Posts: 2
Joined: Tue Aug 07, 2012 2:25 pm

Re: ACF

Postby jpfeifer » Thu Jan 31, 2013 8:12 am

That's because you forgot the s in options_
------------
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 5 guests