Hello,
I am trying to use DSGE models to create artificial data in order to build a hybrid model DSGE-VAR. Indeed, i need to construct observations with a size Ta = k*Tr. Tr represents a real observations size and k a weight that is given the prior information in our analysis. Nevertheless, when computing my programs, i encounter the following problem. If k is not an integer such as (1;2;3;...), my program can not run because Ta should be also an integer. So, my question is:
Can we use usual functions like "sqrt" or "floor" within macro-expression, to resolve my problem?
For example:
@# define k=1/2
@# define m=39
@# define n=floor(k*m)
To see my exact problem, you find attached the following files: Go to line 388 in model file.
Your help really appreciated.
Thanks a lot.