Problem with steady state value of Lubik and Schorfheide

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 with steady state value of Lubik and Schorfheide

Postby Kornchanok » Thu Apr 07, 2011 2:48 pm

Dear all,

I'm a beginner of Dynare. I got the mod file from Cocoa which is the mod-file of Lubik and Schorfheide (2007). Then I tried to estimate the Bayesian estimation using that file but i got the error massage as the following;

??? Error using ==> dynare_solve at 82
exiting ...

Error in ==> steady_ at 124
[oo_.steady_state,check] = dynare_solve([M_.fname '_static'],...

Error in ==> steady at 52
steady_;

Error in ==> LS20075 at 165
steady;

Error in ==> dynare at 132
evalin('base',fname) ;


So I try to modify several version but I still got the same error. Anyone please give some advice for me in order to complete the mod file.
I'm thankful for your time and your helps in advance.

Kornchanok

P.s. I also attract mod file and data file, too.
Attachments
LS20075.mod
(4.84 KiB) Downloaded 152 times
NZ.xls
(28 KiB) Downloaded 142 times
Kornchanok
 
Posts: 7
Joined: Mon Aug 16, 2010 7:28 am

Re: Problem with steady state value of Lubik and Schorfheide

Postby SébastienVillemot » Tue Apr 19, 2011 9:44 am

You need to calibrate your parameters with some value, in order to compute an initial steady state.

There are already some calibrations around the beginning of your file, but there are commented out: uncomment them, and adjust them if necessary.

Best,
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France

Re: Problem with steady state value of Lubik and Schorfheide

Postby Kornchanok » Fri Apr 22, 2011 5:43 am

Dear SébastienVillemot

Thank you very much for your help.
By the way I cannot get the result from the estimation. I uncomment the value of parameters in the model as you suggested me. And then when Dynare run the model, it has the error about equilibrium as the following:

Error in computing likelihood for initial parameter values
??? Error using ==> print_info at 39
Blanchard Kahn conditions are not satisfied: no stable equilibrium

Error in ==> initial_estimation_checks at 101
print_info(info, options_.noprint)

Error in ==> dynare_estimation_1 at 367
initial_estimation_checks(xparam1,gend,data,data_index,number_of_observations,no_more_missing_observations);

Error in ==> dynare_estimation at 62
dynare_estimation_1(var_list,varargin{:});

Error in ==> LS_01 at 249
dynare_estimation(var_list_);

Error in ==> dynare at 132
evalin('base',fname) ;


Could you please introduce me how to solve this problem.

Thank a lot in advance
Kornchanok

p.s. I already attach a new mod-file that i modified as your suggestion.
Attachments
LS_01.mod
(3.39 KiB) Downloaded 159 times
Kornchanok
 
Posts: 7
Joined: Mon Aug 16, 2010 7:28 am

Re: Problem with steady state value of Lubik and Schorfheide

Postby Kornchanok » Tue Apr 26, 2011 3:35 am

Dear SébastienVillemot

I can find out the solution of no stable equilibrium by putting "diffuse_filter" in the option of estimation command.

By the way, I also run the mod-file but there are the following error;

Error in ==> csminwel1 at 43
global bayestopt_

??? Output argument "gh" (and maybe others) not assigned during call to
"D:\dynare4.2.0\4.2.0\matlab\csminwel1.m>csminwel1".

Error in ==> dynare_estimation_1 at 449
[fval,xparam1,grad,hessian_csminwel,itct,fcount,retcodehat] = ...

Error in ==> dynare_estimation at 62
dynare_estimation_1(var_list,varargin{:});

Error in ==> LS_01 at 254
dynare_estimation(var_list_);

Error in ==> dynare at 132
evalin('base',fname) ;


I also search the previous post in the Dynare forum but i still cannot find the solution.

Could you please give any hint to solve this error.

Thank in advance
Kornchanok
Attachments
LS_02.mod
(3.41 KiB) Downloaded 135 times
Kornchanok
 
Posts: 7
Joined: Mon Aug 16, 2010 7:28 am


Return to Dynare help

Who is online

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