SAVE subcommand (TCM MODEL command)
The SAVE
subcommand saves new variables that represent predicted values,
residuals, and confidence intervals. By default, no new variables are saved.
- Specify one or more keywords, along with optional rootnames to be used as the prefix for new variable names.
- The rootname, if specified, must conform to the rules for valid variable names.
- If the
DATA
keyword of theOUTFILE
subcommand is specified, then the new variables are written to that location. If theDATA
keyword is not specified and the new variables cannot be written to the active dataset, then they are written to an autogenerated dataset. New variables can be written to the active dataset only if the observations are defined by a date specification, or record order, and the data are not aggregated.
- TARGETS
-
- ALL
- Specifies that new variables are created for all targets in the model system.
- FILTERED
- Specifies that new variables are created just for the targets that are specified
by the
TARGETFILTER
andSERIESFILTER
subcommands. This option is the default.
- PREDICTED(rootname)
- Saves model fit and forecast values. The default rootname is Predicted.
- CL(LCLROOT=rootname UCLROOT=rootname)
- Saves upper and lower confidence limits.
LCLROOT
specifies the root name for the lower confidence limit andUCLROOT
specifies the root name for the upper confidence limit. The default root name for the lower confidence limit is LCL and the default root name for the upper confidence limit is UCL. - NRESIDUAL(rootname)
- Saves noise residuals. The default rootname is NResidual.
- FORECASTFLAG(name)
- Creates a variable that indicates whether a record contains forecast data. You can specify the variable name. The default is ForecastIndicator.