the datafile option in perfect_foresight solver requires a text file without variable names, variables being order in order of VAR statement. The file name must end with _endo.dat.
make loading data for guess value more flexible
honor INITVAL_FILE command or deprecate it
make possible to use guess values with simul_backward-model
2 of 3 checklist items completed
· Edited
Designs
Child items 0
Show closed items
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Linked items 0
Link issues together to show that they're related.
Learn more.
MichelJuillardmarked the checklist item make loading data for guess value more flexible as completed
marked the checklist item make loading data for guess value more flexible as completed
MichelJuillardmarked the checklist item make loading data for guess value more flexible as incomplete
marked the checklist item make loading data for guess value more flexible as incomplete
MichelJuillardchanged title from datafile option in perfect_foresight_setup: inco;plete documentation and not flexible enough to datafile option in perfect_foresight_setup: incomplete documentation and not flexible enough
changed title from datafile option in perfect_foresight_setup: inco;plete documentation and not flexible enough to datafile option in perfect_foresight_setup: incomplete documentation and not flexible enough
@MichelJuillard My proposal would rather be to drop the datafile option of perfect_foresight_setup (and simul), which uses a very weird and rigid format, and is poorly documented. I doubt anyone uses it.
The interface and documentation for initval_file are much better, so I would rather standardize on that.
Also, are you sure initval_file is not honoured? Looking at the preprocessor and at perfect_foresight_setup.m (line 67), I think it should work. Do you have an example?
I’ve implemented the change of semantics for the datafile option. The testsuite now also checks (on a simple example) that initval_file works as expected.
Sébastien Villemotmarked the checklist item make loading data for guess value more flexible as completed
marked the checklist item make loading data for guess value more flexible as completed
Sébastien Villemotmarked the checklist item honor INITVAL_FILE command or deprecate it as completed
marked the checklist item honor INITVAL_FILE command or deprecate it as completed