RETRIEVING COEFFICIENTS OF THE POLICY FUNCTIONS

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.

RETRIEVING COEFFICIENTS OF THE POLICY FUNCTIONS

Postby nsouzas » Fri Jun 29, 2007 1:19 am

HOW DO I RETRIEVE THE COEFFICIENTS OF THE POLICY FUNCTIONS INSIDE MY MOD FILE FOR LATER USE?

THANKS
nsouzas
 
Posts: 16
Joined: Fri Jun 29, 2007 1:16 am

Re: RETRIEVING COEFFICIENTS OF THE POLICY FUNCTIONS

Postby tarikz » Sun Jul 08, 2007 6:39 pm

The coefficients of the policy and transition functions are stored in:
oo_.dr.ghx
oo_.dr.ghu


nsouzas wrote:HOW DO I RETRIEVE THE COEFFICIENTS OF THE POLICY FUNCTIONS INSIDE MY MOD FILE FOR LATER USE?

THANKS
tarikz
 
Posts: 3
Joined: Fri Feb 24, 2006 7:39 pm

Postby shwayder » Wed May 21, 2008 12:02 am

In case anyone stumbles across this as I did (googling for a way to find the policy and transition matrix) the method listed above no longer works.

dr and dh are not stored in oo_, they are their own matrices now.

So dr_.ghx gives you the transition matrix coefficients on the varibales.
dr_.ghu gives you the coefficients on the shocks.

Cheers,
AS
shwayder
 
Posts: 7
Joined: Wed May 14, 2008 2:28 am
Location: Northwestern University

Postby StephaneAdjemian » Wed May 21, 2008 7:16 am

No.

With dynare version 4 policy rules are stored in oo_.dr.ghx and oo_.dr.ghu, but with dynare version 3 policy rules are stored in dr_.ghx and dr.ghu.

Best,
Stéphane.
StephaneAdjemian
 
Posts: 429
Joined: Wed Jan 05, 2005 4:24 pm
Location: Paris, France.

Re: RETRIEVING COEFFICIENTS OF THE POLICY FUNCTIONS

Postby agupta28 » Sun Feb 22, 2009 8:45 pm

dr_.ghx gives the AR(1) coefficients of the policy rule. what if the model has AR(2) coefficients. where are they saved??

thanks,

abhishek
abhishek
agupta28
 
Posts: 29
Joined: Tue Mar 04, 2008 2:17 am


Return to Dynare help

Who is online

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