Adding support for dates in perfect_foresight_setup
The user should be able to control the dates of the dseries produced by perfect_foresight_solver
- Currently,
histval,histval_fileandinitval_filepass adseriestoperfect_foresight_setup - By default,
perfect_foresight_setupshould be consistent with the dates of thisdseries - dates must be permitted in
histvalinstead of only signed integers -
first_obs: sets the dates used for the first initial conditions. Must be consistent withhistvalorhistval_fileif they are used -
first_simulation_period: sets the dates used for the first period of the simulation. It is an alternative to specifyingfirst_obsand must be consistent iffirst_obsis also used as an option. Values for initial conditions before this date must be available. Must be consistent withhistvalorhistval_fileif they are used. -
last_simulation_period: sets the date of the last period of simulation. It is an alternative to specifyingperiodsand must be consistent ifperiodsis also used as an option. Data for terminal conditions past the last period must be available
Edited by Sébastien Villemot