Time Series Model Package

EXMSPEC Object

The EXMSPEC object generates an external model (EXM) specification for use with the TSM object, or with the automatic time series modeling (ATSM) package for automatic forecasting services.

Table 9 summarizes the methods that are associated with the EXMSPEC object.

Table 9: Methods of the EXMSPEC Object

Method Description
Close Close EXM model specification
GetLabel Retrieve label of specified EXM model
Open Open EXM model specification
SetOption Set options for EXM model specification
SetTransform Set transform for EXM model specification


Figure 5 illustrates the data flow through the EXMSPEC object.

Figure 5: EXMSPEC Object Data Flow

EXMSPEC Object Data Flow


The basic execution pattern for using an EXMSPEC object follows this sequence of operations:

  1. Declare: The object declaration statement creates a new EXMSPEC object.

  2. Open: The EXMSPEC.Open method readies the default EXMSPEC object for new configuration.

  3. Configure: The various EXMSPEC.Set methods configure the EXMSPEC object.

  4. Close: The EXMSPEC.Close method finalizes the EXMSPEC object.

  5. Apply: The EXMSPEC object is applied to a TSM object using the TSM.Initialize method or is used with the ATSM package. For more information about using the EXMSPEC object, see the section TSM Object or Chapter 2, Automatic Time Series Modeling Package (SAS Visual Forecasting: Time Series Packages).

Note:

  1. You can also store the XML representation of the EXMSPEC object in an output table. For more information, see the section TSMSPEC Object.

  2. To run the EXMSPEC object in a TSM object, time series variables for the forecast series roles must be added to the TSM object via the TSM.AddExternal method. For more information, see the section TSM.AddExternal Method.

  3. To run the EXMSPEC object in an ATSM:FORENG object, time series variables for the forecast series roles must be added to the ATSM:TSDF object that is used to specify the time series data for the ATSM:FORENG object. When the EXMSPEC object is used with the ATSM package, more sophisticated persistence mechanisms are available. For more information, see Chapter 2, Automatic Time Series Modeling Package (SAS Visual Forecasting: Time Series Packages).

Last updated: July 09, 2026