The TCALIS Procedure |
REFMODEL Statement |
The REFMODEL statement is not a modeling language itself. It is a tool for referencing and modifying models. It is classified into one of the modeling languages because its role is similar to other modeling languages.
In the REFMODEL statement, you put the model_number of the model you are making reference to. The reference model must be well-defined in the same PROC TCALIS run. In the options, you can rename all the parameters in the reference model by adding prefix or suffix so that the current model has a new set of parameters.
The following options are available in the REFMODEL statement:
appends to the parameter names in the reference model with _mdl and then an integer suffix denoting the model number of the current model. For example, if qq is a parameter in the reference model for a current model with model number 3, then this option creates qq_mdl3 as a new parameter name.
inserts to all parameter names in the reference model with the prefix provided. For example, if qq is a parameter in the reference model for a current model, then PARM_PREFIX=pre_ creates pre_qq as a new parameter name.
appends to all parameter names in the reference model with the suffix provided. For example, if qq is a parameter in the reference model for a current model, then PARM_SUFFIX=_suf creates qq_suf as a new parameter name.
Instead of renaming all parameters, you can also rename parameters individually by using the RENAMEPARM statement within the scope of the REFMODEL statement.
You can also add the main and subsidiary model specification statements to modify a particular part from the reference model. For example, you might like to add or delete some equations or paths, or to change a fixed parameter to a free parameter or vice versa in the new model. All can be done in the respecification in the main and subsidiary model specification statements within the scope of the MODEL statement to which the REFMODEL statement belongs. Naturally, the modeling language used in respecification must be the same as that of the reference model. See the individual statements for modeling languages for the syntax of respecification. Note that when you respecify models by using the main and subsidiary model specification statements together with the RENAMEPARM statement or the REFMODEL options for changing parameter names, the parameter name changes occur after respecifications.
Note: This procedure is experimental.
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.