Page 1 of 1

number of variables to be tested

PostPosted: Tue Jul 10, 2012 4:48 pm
by frankcw
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

Re: number of variables to be tested

PostPosted: Tue Jul 10, 2012 6:57 pm
by jpfeifer
I don't really get the question. You can define as parameter i and set it to whatever (real or natural) number you like.

Re: number of variables to be tested

PostPosted: Mon Jul 16, 2012 1:19 am
by frankcw
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
jpfeifer wrote:I don't really get the question. You can define as parameter i and set it to whatever (real or natural) number you like.

Re: number of variables to be tested

PostPosted: Mon Jul 16, 2012 9:55 am
by jpfeifer
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.

Re: number of variables to be tested

PostPosted: Tue Jul 17, 2012 12:14 am
by frankcw
jpfeifer wrote: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