Time Series Model Package
ESMSPEC Object
The ESMSPEC object defines an exponential smoothing model specification for use with the TSM object. The basic execution pattern for defining an ESMSPEC follows this sequence of operations:
Declare: The object declaration statement creates a new ESMSPEC object. By default, it is an ESMSPEC with METHOD=BEST.
Open: The ESMSPEC.Open method initializes the default ESMSPEC object for a new configuration.
Configure: The various ESMSPEC.Set methods configure the ESMSPEC object.
Close: The ESMSPEC.Close method finalizes the ESMSPEC object.
Apply: Add the ESMSPEC to a TSM object using the TSM.Initialize method.
Table 17.5 summarizes the methods that are associated with the ESMSPEC object.
Table 17.5: Methods of the ESMSPEC Object
Method | Description |
|---|---|
Close ESM model specification | |
Open ESM model specification | |
Set option for ESM model | |
Set parameters for ESM model | |
Set transform for ESM model |
You can also store the XML representation of the ESMSPEC object in a CAS table. For more information, see the TSMSPEC object.
Figure 17.2 illustrates the data flow through the ESMSPEC object.
Figure 17.2: ESMSPEC Object Data Flow
