P = endogenise(P,List,Dates)
P = endogenise(P,Dates,List)
P = endogenise(P,List,Dates,Sigma)
P = endogenise(P,Dates,List,Sigma)
P
[ plan ] - Simulation plan.
List
[ cellstr | char ] - List of shocks that will be endogenised, or list of variables that will be re-endogenise.
Dates
[ numeric ] - Dates at which the shocks or variables will be endogenised.
Sigma
[ 1
| 1i
| numeric ] - Anticipation mode (real or imaginary) for endogenized shocks, and their numerical weight (used in underdetermined simulation plans); if omitted, Sigma = 1
.
P
[ plan ] - Simulation plan with new information on endogenised shocks included.