Error in computing likelihood for initial parameter values

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.

Error in computing likelihood for initial parameter values

Postby Jumping » Sun Jan 12, 2014 1:44 pm

hi,

i wanna run a small open economy model with dynare ,but i always get this kind of errors after getting steady-state results:

Error in computing likelihood for initial parameter values
??? Error using ==> print_info at 33
The model doesn't determine the current variables uniquely

Error in ==> initial_estimation_checks at 69
print_info(info, DynareOptions.noprint)

Error in ==> dynare_estimation_1 at 169
oo_ = initial_estimation_checks(objective_function,xparam1,dataset_,M_,estim_params_,options_,bayestopt_,oo_);

Error in ==> dynare_estimation at 70
dynare_estimation_1(var_list,dname);

Error in ==> zdp5 at 206
dynare_estimation(var_list_);

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

i don't konw how to fix it ,i need your help ,any help will be greatly appreciated ,thx!
Attachments
model.mod
(1.7 KiB) Downloaded 66 times
Last edited by Jumping on Mon Jan 13, 2014 3:08 pm, edited 2 times in total.
Jumping
 
Posts: 4
Joined: Sun Jan 12, 2014 1:29 pm

Re: Error in computing likelihood for initial parameter valu

Postby jpfeifer » Sun Jan 12, 2014 5:48 pm

You have the classical case of a non-stationary model that only determines inflation, but not the price level. Please drop the price level from your model by only using inflation and using a corresponding observation equation. See my https://sites.google.com/site/pfeiferecon/Pfeifer_2013_Observation_Equations.pdf?attredirects=0 for more information
------------
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: Error in computing likelihood for initial parameter valu

Postby Jumping » Mon Jan 13, 2014 4:43 am

jpfeifer wrote:You have the classical case of a non-stationary model that only determines inflation, but not the price level. Please drop the price level from your model by only using inflation and using a corresponding observation equation. See my https://sites.google.com/site/pfeiferecon/Pfeifer_2013_Observation_Equations.pdf?attredirects=0 for more information


dear jpfeifer,

i change my mod file following your advice ,but another problem come out, when i use 'check',it says
EIGENVALUES:
Modulus Real Imaginary

0 0 0
0.42 0.228 0.3527
0.42 0.228 -0.3527
0.75 0.75 0
0.9 0.9 0
0.9 0.9 0
1 1 0
1.041 1.041 0
11.67 11.67 0
Inf Inf 0


There are 3 eigenvalue(s) larger than 1 in modulus
for 3 forward-looking variable(s)

The rank condition is verified.

Loading 71 observations from zdp5data_simu.mat

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

Error in ==> initial_estimation_checks at 69
print_info(info, DynareOptions.noprint)

Error in ==> dynare_estimation_1 at 169
oo_ = initial_estimation_checks(objective_function,xparam1,dataset_,M_,estim_params_,options_,bayestopt_,oo_);

Error in ==> dynare_estimation at 70
dynare_estimation_1(var_list,dname);

Error in ==> zdp5 at 207
dynare_estimation(var_list_);

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

in dynare user guide ,'BK conditions are met only if the number of non-predetermined variables equals the number of eigenvalues greater than one.' and what’s more,when i use ‘model_diagnostics(M_,options_,oo_)’ ,the output is that

model_diagnostic: the Jacobian of the static model is singular
there is 1 colinear relationships between the variables and the equations
Colinear variables:
Pi_obs
Colinear equations
2 3 8 9

is the colinearity cause the problem?i am confused what to do to improve something ,could u give me some advice ,please.thx again!
Jumping
 
Posts: 4
Joined: Sun Jan 12, 2014 1:29 pm

Re: Error in computing likelihood for initial parameter valu

Postby jpfeifer » Mon Jan 13, 2014 6:47 am

Please post the mod-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: Error in computing likelihood for initial parameter valu

Postby Jumping » Mon Jan 13, 2014 6:51 am

jpfeifer wrote:Please post the mod-file


i'm sorry .
thx a lot
Last edited by Jumping on Mon Jan 13, 2014 3:06 pm, edited 1 time in total.
Jumping
 
Posts: 4
Joined: Sun Jan 12, 2014 1:29 pm

Re: Error in computing likelihood for initial parameter valu

Postby jpfeifer » Mon Jan 13, 2014 7:11 am

This is not a correct observation equation. If you observe inflation, you might have something like:
Code: Select all
model(linear);
...
pi=Pi_obs;
end;
------------
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: Error in computing likelihood for initial parameter valu

Postby Jumping » Mon Jan 13, 2014 3:04 pm

jpfeifer wrote:This is not a correct observation equation. If you observe inflation, you might have something like:
Code: Select all
model(linear);
...
pi=Pi_obs;
end;



thank u very much.your advice help me a lot
Jumping
 
Posts: 4
Joined: Sun Jan 12, 2014 1:29 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 6 guests