initial parameter

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.

initial parameter

Postby aghayan_beh » Fri Jun 10, 2016 6:06 pm

Hi.when I estimated my model, dynare warned me that Error in computing likelihood for initial parameter values, I check my parameters and priors but i do not understand what should I do next. I attached my codes and data file here.
[color=#FF0000]Error in computing likelihood for initial parameter values
Error using print_info (line 43)
Blanchard Kahn conditions are not satisfied: indeterminacy
Error in initial_estimation_checks (line 101)
print_info(info, options_.noprint)
Error in dynare_estimation_1 (line 122)
initial_estimation_checks(xparam1,gend,data,data_index,number_of_observations,no_more_missing_observations);
Error in dynare_estimation (line 62)
dynare_estimation_1(var_list,varargin{:});
Error in trade_b (line 674)
dynare_estimation(var_list_);
Error in dynare (line 120)
evalin('base',fname) ;

data_tn.m

trade_b.mod

Thank you for your help
aghayan_beh
 
Posts: 6
Joined: Fri Jun 10, 2016 5:40 pm

Re: initial parameter

Postby jpfeifer » Sun Jun 12, 2016 2:40 pm

First make your model run with stoch_simul. Already the check-command shows you that the Blanchard-Kahn conditions are not satisfied. There is most probably a timing error. For example,
Code: Select all
r_k(+1)=((1+kappa)/(kappa+tau))*(r-pi(+1));

looks strange in this context. You are defining the expected return here, not the actual return.
------------
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


Return to Dynare contributions and examples

Who is online

Users browsing this forum: No registered users and 4 guests