Hello everyone.
I’m studying the transition dynamics (in a perfect-foresight setup) of a 56-gen OLG model. The transition periods are 150. However, I find it difficult to set up the shocks (deterministic) for the mortality rates. During the transition, the mortality rates change for each of the 56 generations for 150 periods, so I have a matrix instead of a classic vector. Is there a way to insert them smartly in the shocks block? It would be difficult to insert 56 exogenous variables and for each of them put 150 values. Moreover, I also have two additional shocks to include given that I have 2 types of mortality rates (the unconditional and the conditional ones).
P.s. for example, is it possible to use the “for” loop in the shocks block? I tried but it doesn’t work to me.
Thank you in advance.
Alex Crescentini.