Dear all
I am going to replicate the code from paper :“Risk matter: A comment”
Because I am quite fresh to this dynare, thus I have redesigned the code, but the problem come out as:
Input dimension error!
Error using mexErrCheck (line 41)
Error encountered in: A_times_B_kronecker_C.
Error in simult_FGRU (line 165)
mexErrCheck(‘A_times_B_kronecker_C’, err);
Error in Model_uncertainty6 (line 475)
[y_, y1st]=
simult_FGRU(ergodicmean_no_shocks,oo_.dr,shock_mat(1:end-1,:,ii),options_.order,zeros(size(oo_.dr.ys)),zeros(M_.exo_nbr,1));
Error in dynare (line 223)
evalin(‘base’,fname) ;
I try to fix this but It does not work. please let me know any way to over come this
Thank you so muchempirical_moment.m (1.2 KB)
generate_FGRU_shocks.m (2.2 KB)
get_quarterly_moments.m (5.8 KB)
hpfilter.m (466 Bytes)
Model_Uncertainty6.mod (12.9 KB)
simult_FGRU.m (9.2 KB)