Blanchard Kahn conditions

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.

Blanchard Kahn conditions

Postby wanghao19820707 » Wed Jan 18, 2012 11:13 am

Dear all:
I try the code in 4.2.4 and the error message is as following and by the way the steady state values are calculated by other software so the outcome of steady is same as intial value because Dynare's calculation is very sensitive to the intial value and the outcome is different every time I run the code(when I do not set the intial values same as outcomes):
Also,I try many different combinations of values of prior parameters setting as recommended in previous related topics but seems still does not work.
Does this mean that there is some fundmental error with my model setting ?

Thank you all for potential suggestions !


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 122
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 ==> rbc at 203
dynare_estimation(var_list_);

Error in ==> dynare at 120
evalin('base',fname) ;
Attachments
dydidcdq.m
(10.33 KiB) Downloaded 112 times
rbc.mod
(2.06 KiB) Downloaded 230 times
wanghao19820707
 
Posts: 19
Joined: Tue Jan 03, 2012 4:07 am

Re: Blanchard Kahn conditions

Postby jpfeifer » Wed Jan 18, 2012 1:00 pm

Your model contains a unit root. Set
Code: Select all
lik_init=2

in the estimation command.
------------
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: Blanchard Kahn conditions

Postby wanghao19820707 » Wed Jan 18, 2012 2:54 pm

jpfeifer wrote:Your model contains a unit root. Set
Code: Select all
lik_init=2

in the estimation command.



Dear Professor:
Thank you very much.
But there is new problem now:
SOLVE: Iteration 9(and 10,12 18 and so on)
Spurious convergence.
2.5504
5.1003
1.2188
0.2797
0
0
-0.1014
-130.9893
0
0
0
0
0
0
0


SOLVE: maxit has been reached

SOLVE: maxit has been reached

SOLVE: maxit has been reached

...

and in the small window"turning of the scale parameter" shows that acceptance rates is always 0.0000000

what does this mean (problem with steady state or estimation)? Thanks in advance!
wanghao19820707
 
Posts: 19
Joined: Tue Jan 03, 2012 4:07 am

Re: Blanchard Kahn conditions

Postby jpfeifer » Wed Jan 18, 2012 3:15 pm

It means that Dynare was able to compute the steady state for the initial parameters but cannot compute it for the new parameters in the MCMC draws during estimation. You might need to provide an analytical steady state in the initval block or a separate steady state file.
------------
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: Blanchard Kahn conditions

Postby wanghao19820707 » Wed Jan 18, 2012 3:20 pm

jpfeifer wrote:It means that Dynare was able to compute the steady state for the initial parameters but cannot compute it for the new parameters in the MCMC draws during estimation. You might need to provide an analytical steady state in the initval block or a separate steady state file.



Dear Professor:
Thank you very much for your kindly help.I will try what you suggest.
wanghao19820707
 
Posts: 19
Joined: Tue Jan 03, 2012 4:07 am

Re: Blanchard Kahn conditions

Postby wanghao19820707 » Thu Feb 09, 2012 1:05 pm

Dear Professor:
I try to write a matlab program to calculate the steady state in a separated file (since there is no analytical solutions) but now there is new error message.Whay should I do ?


??? Error using ==> feval
Attempt to execute SCRIPT rbc_steadystate as a function:
C:\dynare\4.2.4\matlab\code\rbc_steadystate.m

Error in ==> steady_ at 50
[ys,check] = feval([M_.fname '_steadystate'],...

Error in ==> steady at 54
steady_;

Error in ==> rbc at 170
steady;

Error in ==> dynare at 120
evalin('base',fname) ;
Attachments
dydidcdq.m
(363 Bytes) Downloaded 80 times
rbc_steadystate.m
(828 Bytes) Downloaded 110 times
rbc.mod
(2 KiB) Downloaded 93 times
wanghao19820707
 
Posts: 19
Joined: Tue Jan 03, 2012 4:07 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 11 guests