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
[ numeric ] - Select the anticipation mode, and assign a weight to the shock in the case of underdetermined simulation plans; if omitted, Sigma = 1
.
P
[ plan ] - Simulation plan with new information on endogenised shocks included.