I can see that the moments you are trying to match are:
- Code: Select all
[quote] moments_emp(1,1)=4.77; //sigma_Y
moments_emp(2,1)=1.31; //sigma_C/sigma_Y
moments_emp(3,1)=3.81; //sigma_I/sigma_Y
moments_emp(4,1)=39.33/100; //std(NX); additional 100 to counteract FV et al.'s division by 100
moments_emp(5,1)=-0.76; //corr(NX,Y)
moments_emp(6,1)=moments_emp(4,1);
moments_emp(7,1)=moments_emp(5,1);
moments_emp(8,1)=1.78; //NX_Y at EMAS
[/quote]
And I can see that your smm_diff_function.m can take shock as an argument. That is to say you can give a sequence of shocks for the simulations to run on, and the moments are estimated off the paths with this particular sequence of shocks.
My question is, I am not trying to match any particular 'moment' per se, but I am trying to match the 'path' of historical Argentina GDP , with my simulated path of Argentina GDP, given an exogenously sequence of shocks. When I run dynare simulations on my mod file, I always give a particular sequence of shocks to reflect real world events. The sequence of shocks are completely exogenously given, not free parameters, but model parameters such as consumer habit persistence are free parameters. The objective is to 'find', through your minimization procedure, the best model parameter so that when my simulated Argentina GDP is plotted with actual data, they look close to each other. Is there any way to achieve it with your code?