expand (Model)
Compute forward expansion of model solution for anticipated shocks
Syntax
M = expand(M, K)
Input arguments
M [ model ]
Model object whose solution will be expanded.
K [ numeric ]
Number of periods ahead, t+k, up to which the solution for anticipated shocks will be expanded.
## Output Arguments
M [ model ]
Model object with the solution expanded.