jpfeifer wrote:All initial values have to be 0 as the model is expressed in deviations from steady state. In that regard, equations
- Code: Select all
//Markup
my_p=y-n-w;
my_p=y-k-r_k;
are wrong. my_p is not a parameter but the deviation of the markup from its steady state (or actually it is a parameter, but the equations need \hat my_p and not my_p). Hence, it is a variable as written in the paper.
P.S.: Consider yourself lucky, usually I don' respond to questions at the last minute.
thank you very much, fixed it and it runs partly, however now I get the error message
Error using ones
NaN and Inf not allowed.
Error in dyntable (line 58)
hh = [hh char(32*ones(1,hlb)) deblank(headers(i,:)) ...
Error in disp_moments (line 97)
dyntable(title,headers,labels,autocorr,size(labels,2)+2,8,4);
Error in stoch_simul (line 154)
disp_moments(oo_.endo_simul,var_list);
Error in gali_new (line 224)
info = stoch_simul(var_list_);
Error in dynare (line 120)
evalin('base',fname) ;
>>
the headline AUTOCORRELATION OF SIMULATED VARIABLES
and I do not get anu IRFs graphs out.
Understand that I am asking all too late, and would be very grateful if you had some input.