Posterior standard deviations and autocorrelations

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.

Posterior standard deviations and autocorrelations

Postby mbov » Sat Jul 23, 2016 10:25 am

Hi there,

(1)Would you know how to obtain model standard deviations and model autocorrelations of endogenous variables after bayesian estimation.
Ie,Does "oo_.PosteriorTheoreticalMoments.dsge.covariance.Variance.y.y" deliver the variance of y?

(2) Also, would "oo_.PosteriorTheoreticalMoments.dsge.correlation.mean.y" deliver the model implied autocorrelation of the variable y?

Thank you for your help
mbov
 
Posts: 12
Joined: Sat Jul 16, 2016 5:56 am

Re: Posterior standard deviations and autocorrelations

Postby jpfeifer » Sun Jul 24, 2016 1:41 pm

The fields of
Code: Select all
oo_.PosteriorTheoreticalMoments.dsge

denote the moments you are looking at. The next field provides the statistic for that moment considered.

1.
Code: Select all
oo_.PosteriorTheoreticalMoments.dsge.covariance.Mean.y.y
should be the mean covariance between y and y, i.e. the variance. What you wanted to look at is the variance of the covariance over the MCMC draws.
2. The autocorrelation of y, starting from lag 1, should be in
Code: Select all
oo_.PosteriorTheoreticalMoments.dsge.correlation.Mean.y.y
If you want contemporaneous correlations, you need to use the unstable version with the
Code: Select all
contemporaneous_correlation

option and then look at e.g.
Code: Select all
oo_.PosteriorTheoreticalMoments.dsge.contemporeaneous_correlation.Mean.y.c
to get the correlation between y and c
------------
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: Posterior standard deviations and autocorrelations

Postby mbov » Mon Jul 25, 2016 11:26 am

Thanks
mbov
 
Posts: 12
Joined: Sat Jul 16, 2016 5:56 am


Return to Dynare help

Who is online

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