second moments of observed variables

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.

second moments of observed variables

Postby bled.hhhh109 » Mon Sep 05, 2016 10:33 am

Hi all

I am trying to run a bayesian estimate with about 7-8 variables. among them are the usual Y, C , I.

I first computed the modes. I just realized that the correlation of consumption with output is negative. I had htought that the correlation would be the same as i nthe data as
I expect to get the same consumptions series as in data with the estimated parameters.

Can anyone give a clue why I get different second moments even for the observed variables ?

Ps. There is no warnings that something is wrong and the mode graphs are ok.

best
Bled
bled.hhhh109
 
Posts: 5
Joined: Wed Nov 05, 2014 3:24 pm

Re: second moments of observed variables

Postby jpfeifer » Tue Sep 06, 2016 10:40 pm

Unless a miracly happens, you model will not be able to match the data perfectly. The data in a linearized model is characterized by the means and the (cross-)covariances at all leads and lags. You are doing a likelihood-based estimation. The likelihood function is a sufficient statistic for all these covariances. What the estimation does is not matching moments, but minimizing the forecast error. In that, the contemporaneous covariances are only one set of moments that is implicitly targeted. But there are also other ones, e.g. the covariances at lag 100. If you want to target only a particular set of moments, use moments matching instead of full information techniques.
------------
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: second moments of observed variables

Postby bled.hhhh109 » Wed Sep 07, 2016 11:23 pm

Thanks Professor Pfeifer for your reply.

I was about to ask how I would do the Simul Moment Matching but then
I searched the forum and read one of your comments that refers to the replication codes for Risk Matters (2014) in AER already published.
it will take some time for me to get used to the matlab code coming with it.

Other than that it seems I have to rely on luck or intuition to get as many model-moments close to the data-moments as possible via the likelihood-max estimation.

Thanks a lot for taking your time.
bled.hhhh109
 
Posts: 5
Joined: Wed Nov 05, 2014 3:24 pm


Return to Dynare help

Who is online

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