expectation operator
Posted: Fri Sep 10, 2010 10:09 am
Hi, I am new in Dynare, and trying to run a model with a code I put down like this:
expectation(-1)(pi2).
That would be the current period inflation expectation using last period information set.
But is shows the Error:
??? Error using ==> disp_dr>subst_auxvar at 232
Invalid auxiliary type: AUX_EXPECT_LAG_1_151
Error in ==> disp_dr at 101
str1 = subst_auxvar(k1(klag(k,1)),klag(k,2)-M_.maximum_lag-2);
Error in ==> stoch_simul at 68
disp_dr(oo_.dr,options_.order,var_list);
Error in ==> US_EU at 544
info = stoch_simul(var_list_);
Error in ==> dynare at 132
evalin('base',fname) ;
I have no idea what is wrong here. Can anyone help me out? Thank you.
expectation(-1)(pi2).
That would be the current period inflation expectation using last period information set.
But is shows the Error:
??? Error using ==> disp_dr>subst_auxvar at 232
Invalid auxiliary type: AUX_EXPECT_LAG_1_151
Error in ==> disp_dr at 101
str1 = subst_auxvar(k1(klag(k,1)),klag(k,2)-M_.maximum_lag-2);
Error in ==> stoch_simul at 68
disp_dr(oo_.dr,options_.order,var_list);
Error in ==> US_EU at 544
info = stoch_simul(var_list_);
Error in ==> dynare at 132
evalin('base',fname) ;
I have no idea what is wrong here. Can anyone help me out? Thank you.