FIELDS subcommand (TCM MODEL command)

The FIELDS subcommand specifies targets and inputs for the current fields group block. Fields group blocks are created with the FIELDSGROUP subcommand

  • All fields on the FIELDS subcommand, except those specified on the DIMVALUES keyword, must be numeric.
  • Field lists that use the keyword ALL include all numeric fields in the active dataset with the following exceptions: fields specified on the TIMEVAR keyword (on the DATASETTINGS subcommand); fields created from the DATE command.
  • For multidimensional data, all series that are contained in each specified field are included by default. You can specify a subset of series by specifying particular sets of values for one or more dimension fields on the DIMVALUES keyword.
TARGETS
Specifies target fields for the current fields group block.
INPUTS
Specifies inputs that are considered for inclusion in the model for each target in the current fields group block.
  • Fields specified on the INPUTS keyword can also be specified on the TARGETS keyword.
  • The model for each target automatically contains lagged values of the target itself as an input.
FORCE
Specifies fields that are always included as inputs in the model for each target in the current fields group block. Specifications on the FORCE keyword override those on the INPUTS and EXCLUDEDINPUTS keywords in the current fields group block.
EXCLUDEDTARGETS
Specifies fields that are excluded from the specified targets in the current fields group block. The EXCLUDEDTARGETS keyword is most useful when ALL or TO is used on the TARGETS keyword.
EXCLUDEDINPUTS
Specifies fields that are excluded from the specified inputs in the current fields group block. The EXCLUDEDINPUTS keyword is most useful when ALL or TO is used on the INPUTS keyword.
DIMVALUES
Specifies optional lists of dimension field values that define a subset of series for fields specified in all keywords on the current FIELDS subcommand. The DIMVALUES keyword applies only to multidimensional data.
  • The INCLUDE or EXCLUDE keyword is required.
  • INCLUDE specifies a list of values, from the associated dimension field, to include.
  • EXCLUDE specifies a list of values, from the associated dimension field, to exclude.
  • You can specify included or excluded values for one or more dimension fields. For dimension fields that are not specified on DIMVALUES, all values of the associated field are included.
  • Fields that are specified on the DIMVALUES keyword do not support ALL and TO.
  • String values do not need to be quoted, unless the string contains apostrophes or quotation marks. If the string contains apostrophes or single quotes, then enclose the string in double quotes. If the string contains double quotes, then enclose the string in single quotes.