I want to estimate (ML estimation) a model using Dynare. There are 6 variables in the model, and I have 1,000 artificial data for each variable for 200 periods. Therefore, every variable is esentially a 200 by 1,000 matrix. However, I tried many times and cannot get Dynare to work properly. I wrote the code as the following:
- Code: Select all
@#for i in 1:1000
estimation(datafile=mydata@{y1(:,i),c1(:,i),pi1(:,i),r1(:,i),g1(:,i),z1(:,i)},nograph);
@#endfor
y1, c1, pi1,r1, g1 and z1 are 6 variables. The error message says: "unknown variable: y1", but I declare all the variables before doing estimation. I would like to know how I should fix my errors. Thanks for your help.
jygg1