Dear all,
I have a question regarding the coding for a multi-country model. Suppose I have 4 countries with the following declarations for my countries and variables
@#define countries = [ "a", "b", "c", "d" ]
@#for co in countries
var w_@{co} c_@{co};
For the model declaration, I would like to include a set of equations that has the following structure:
c_a(+1) - c_b(+1)) = c_a - c_b
c_a(+1) - c_c(+1)) = c_a - c_c
c_a(+1) - c_d(+1)) = c_a - c_d
and in addition:
w_b + w_c + w_d = c_a - c_b
w_b + w_c + w_d = c_a - c_c
w_b + w_c + w_d = c_a - c_d
I would be very happy to get a hint how a structure like this can be coded up in Dynare.
Thanks,
kanimbla