Time Series Model Package

TSMSTAT Methods

TSMSTAT.Collect Method

  • rc=obj.Collect (TSMObj);

Collects model statistics of fit from a TSM object, TSMObj, and stores them in a CAS table.

Input Arguments

You must specify the following input argument:

TSMObj

specifies the TSM object to use as the source of model fit statistics.

TSMSTAT.nrows Method

  • nrows=obj.nrows ();

Returns the number of rows that have been collected and stored in the CAS table.

Arguments

There are no arguments associated with this method.

TSMSTAT.SetOption Method

  • rc=obj.SetOption ('Name', Value <,'Name',Value,…>);

Specifies the options for the TSMSTAT object.

Input Arguments

You must specify at least one of the following 'Names' and its associated Value:

'MODELNAME'

takes a string Value that specifies the name of the model to be stored into the CAS table along with the parameter estimates of the model. By default, the model name is the name of the TSM object instance that is collected by the TSMSTAT.Collect method.

'FORCEMODELNAME'

takes a boolean Value that specifies whether the model name should be stored into the CAS table even when the model failed to run. You can specify one of the following values:

DISABLE|NO|N|FALSE|F|OFF

Do not store the model name into the CAS table if the model failed to run.

ENABLE|YES|Y|TRUE|T|ON

Always store the model into the CAS table.

The default is DISABLE.

Last updated: January 27, 2023