Page 1 of 1

separat file for the model block

PostPosted: Fri Sep 18, 2015 9:46 am
by maxlampe
Hi,

this is more a technical question:

Is it possible to use a separat (mod) file to safe the model block and than load this mod file from a master file?
this would be really helpfull in organising things.

The model most of the time stays more or less the same or in case you do changes I would like to test all computations with the
adapted model.
But I want to test multiple estimation methods and Parameter Settings prefereably in separate Folders such that
i can better compare results afterwards and reuse the results.

Thank you in advance.

Re: separat file for the model block

PostPosted: Mon Sep 21, 2015 6:52 am
by jpfeifer
Yes, that is possible. You can include any textfile using the include statement. For example:

Code: Select all
@# include "mymodel.mod"

would include the file named mymodel.mod. If the file is located in a different folder, you can use something along the lines of
Code: Select all
@# include "../a_different_folder/mymodel.mod"