Problem about estimation

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.

Problem about estimation

Postby lanfear » Sat Jul 01, 2017 8:40 pm

Hi,

I encountered a problem with estimation. I am trying to estimate SOE model of Gali (2015) Chapter 8. This is my first estimation attempt so it could be a trivial issue but I will be very glad for any suggestion. I downloaded the code from Prof. Pfeifer's GitHub page and tried to modify a bit. The code works perfectly for simulation. However, when I tried to include the estimation part I get the following message:


ESTIMATION_CHECKS: There was an error in computing the likelihood for initial parameter values.
ESTIMATION_CHECKS: If this is not a problem with the set of options (check the error message below),
ESTIMATION_CHECKS: you should try using the calibrated version of the model as starting values. To do
ESTIMATION_CHECKS: this, add an empty estimated_params_init-block with use_calibration option immediately before the estimation
ESTIMATION_CHECKS: command (and after the estimated_params-block so that it does not get overwritten):


Error using print_info (line 42)
Blanchard-Kahn conditions are not satisfied: no stable equilibrium

so I tried the mode:6

estimated_params_init(use_calibration);
end;

then the estimation process begins but acceptance ratio remains at 0.

Could somebody help me?

Thanks,
Attachments
abc.zip
(13.61 KiB) Downloaded 57 times
lanfear
 
Posts: 2
Joined: Mon Aug 29, 2016 11:44 am

Re: Problem about estimation

Postby jpfeifer » Sun Jul 02, 2017 10:34 am

You need to set the
Code: Select all
diffuse_filter

option of estimation, because the model has a unit root.
Also, do not use the two-sided HP-filter. See Remark 12 (Non-Causal Filters) in Pfeifer(2013): "A Guide to Specifying Observation Equations for the Estimation of DSGE Models" https://sites.google.com/site/pfeiferec ... ations.pdf.
------------
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: Problem about estimation

Postby lanfear » Sun Jul 02, 2017 8:31 pm

problem solved, many many thanks for the help.
lanfear
 
Posts: 2
Joined: Mon Aug 29, 2016 11:44 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 5 guests