correlation between shocks

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.

correlation between shocks

Postby pun_star » Thu Apr 26, 2007 5:34 pm

hi
how does one let shocks be correlated with each other in dynare?i would like to estimate the correlation between 2 shocks?

regards
estefan
pun_star
 
Posts: 11
Joined: Wed Apr 18, 2007 7:00 am

Re: correlation between shocks

Postby StephaneAdjemian » Mon Apr 30, 2007 11:43 am

Hi,

You have two possibilities :

(i) By declaring that you want two estimate a correlation in the estimated_params block (see the documentation at: http://www.dynare.org/manual/re29.html *).

or

(ii) By imposing a common factor representation of the shocks in the model block. For instance if you want to correlate e1 and e2, you have to declare these variables as endogenous variables and declare u1, u2 and u as exogenous variables. Then you just have two write (in the model block) :

e1 = u + u1 ;

e2 = gam*u + u2 ;

where gam is a parameter. The covariance between e1 and e2 is defined by the variance of the common factor (u) and parameter gam.


Best,
Stéphane.

NB: * new url

pun_star wrote:hi
how does one let shocks be correlated with each other in dynare?i would like to estimate the correlation between 2 shocks?

regards
estefan
[/url]
StephaneAdjemian
 
Posts: 429
Joined: Wed Jan 05, 2005 4:24 pm
Location: Paris, France.


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 6 guests