Hello,

I was wondering whether Dynare allow us to define variables like K^{i} where i = 1,2,3…N and N is a user supply integer number.

Thanks a lot!

Frank

Hello,

I was wondering whether Dynare allow us to define variables like K^{i} where i = 1,2,3…N and N is a user supply integer number.

Thanks a lot!

Frank

I don’t really get the question. You can define as parameter i and set it to whatever (real or natural) number you like.

Sorry about the confusion.

I mean the number of variables are endogenous,

K^{1}, K^{2}, K^{3},…K^{N}

where N is some number that I want to try. Say I want to guess there will be 10 variables as K, so I give N = 10 and then it will generate 10 variables K ( note that each variables can have lead or lag).

Does that make sense?

Thanks a lot!

Frank

If you know the number of variables before running the model, i.e. you supply N, you can use the macro-processor. See the macroprocessor.pdf in the Dynare\doc folder.

This is simply perfect!

Thanks a lot!

Frank