Computations of statistics with moments_varendo
Posted: Mon Dec 16, 2013 10:41 am
Dear Dynare developers,
I would like to have some information on the option moments_varendo and on how the statistics are computed:
1) If I set 250,000 MH replications with mh_drop = 0.2, does it mean that statistics are computed using the 200,000 random draws generated from MH algorithm? For each draw then artificial time series (of the same length of the data) are generated, so that statistics and confidence intervals can be computed?
2) in oo._PosteriorTheoreticalMoments.dsge.correlation.mean both auto-correlation and cross-correlation are stored. Let me define two variables: y (GDP) and c (consumption). It is clear to me that oo._PosteriorTheoreticalMoments.dsge.correlation.mean.y.y stores the auto-correlations. I am expecting to see the cross-correlation between y and c in oo._PosteriorTheoreticalMoments.dsge.correlation.mean.y.c (1,1), which should be the same as in oo._PosteriorTheoreticalMoments.dsge.correlation.mean.c.y(1,1). But this is not the case (the two numbers are different). Where is the cross-correlation between c and y stored in …y.c or in …c.y?
3) When I compare the mean of the auto-correlations (as well as the other statistics) with the one produced by the stoch_simul command, they are different. Why is this the case?
Your help is greatly appreciated.
Thanks in advance,
Lara
I would like to have some information on the option moments_varendo and on how the statistics are computed:
1) If I set 250,000 MH replications with mh_drop = 0.2, does it mean that statistics are computed using the 200,000 random draws generated from MH algorithm? For each draw then artificial time series (of the same length of the data) are generated, so that statistics and confidence intervals can be computed?
2) in oo._PosteriorTheoreticalMoments.dsge.correlation.mean both auto-correlation and cross-correlation are stored. Let me define two variables: y (GDP) and c (consumption). It is clear to me that oo._PosteriorTheoreticalMoments.dsge.correlation.mean.y.y stores the auto-correlations. I am expecting to see the cross-correlation between y and c in oo._PosteriorTheoreticalMoments.dsge.correlation.mean.y.c (1,1), which should be the same as in oo._PosteriorTheoreticalMoments.dsge.correlation.mean.c.y(1,1). But this is not the case (the two numbers are different). Where is the cross-correlation between c and y stored in …y.c or in …c.y?
3) When I compare the mean of the auto-correlations (as well as the other statistics) with the one produced by the stoch_simul command, they are different. Why is this the case?
Your help is greatly appreciated.
Thanks in advance,
Lara