bad gradient

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.

bad gradient

Postby wdml » Tue Nov 20, 2007 10:02 pm

Hi,

I have a two-country structural model to estimate. My estimation works fine for a similar scale open economy model, but when I expand it by adding corresponding foreign counterparts, the estimation always says "bad gradient" no matter what (different starting values, alternative observable data series). I was wondering:

1. Does this look like a problem of my model?
2. When there are too many variables in the model, is that going to cause a problem for Dynare to compute gradient?

Any clue would help. Thanks much.
wdml
 
Posts: 5
Joined: Tue Apr 17, 2007 3:56 pm

Postby reubenpjacob » Thu Nov 22, 2007 9:22 am

the model may just be a bad fit on the data. the posterior may be very 'hilly' or very 'flat' depending the curvature of the likelihood and the prior.

i have been estimating a similar 2 country model for sometime now.
i learned the following lessons during my exercises.

1. Use tight curved priors at first and then loosen them as we make some progress. the priors are our saviours!

2. start from a simple model before you add extensions ONE by ONE. in theory or calibration , one can afford to be 'general to specific' but estimation with volatile series is a different ball-game.

3. change ONE feature at a time. Be it a friction or an observable. otherwise we will have a hard time figuring out what factor changed results.

4. To 'get a better fit' add lags and costs of adjustment of capital, investment, habit etc. then one may get lower persistence of the shocks.

cheers
reuben
reubenpjacob
 
Posts: 133
Joined: Fri Oct 06, 2006 3:23 pm
Location: Reserve Bank of New Zealand

Postby reubenpjacob » Mon Nov 26, 2007 9:06 am

also, it may be useful to estimate separately for both countries ( closed economy) versions. and then use the modes obtained as starting values for the open economy versions.
reubenpjacob
 
Posts: 133
Joined: Fri Oct 06, 2006 3:23 pm
Location: Reserve Bank of New Zealand


Return to Dynare help

Who is online

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