Using stoch_simul in OLG model


I have been working on a OLG model with 3 generations and a stochastic shock to windfall gains (for all the agents).

I was wondering if it is correct to use the command stoch_simul under that approach. Specially given that each agent dies a period after being part of the old cohort.

As long as your model can be represented with time-invariant decision rules, the answer is yes.