TD_​ARIMAESTIMATE

ARIMAESTIMATE function performs parameter estimation for both seasonal and non-seasonal AR (auto-regressive), MA (moving-average), combined ARMA, as ARIMA models. It supports the seasonally extended Box and Jenkins ARIMA model formula. Both 'continuous' and 'non-continuous' AR and MA models are supported - where 'continuous' means that the associated 'lags' are continuous, and non-continuous means the associated lags are non-continuous.

Options

ALGORITHM
Specifies the approach used by TD_ARIMAESTIMATE to estimate the coefficients. ALGORITHM (OLE) means the sum of least squares approach should be applied. Then, FIXED, INIT will be disabled. ALGORITHM (MLE) means the maximum likelihood approach should be pursued. ALGORITHM (CSS_MLE) means to use conditional sum-of-squares to find a start value and then do maximum likelihood. ALGORITHM (CSS) means conditional sum-of-squares approach should be applied.
COEFF_STATS
Flag indicating whether or not to return coefficient statistical columns TSTAT_VALUE and TSTAT_PROB. A value of COEFF_STATS(1) means return the columns. A value of COEFF_STATS(0) means do not return the columns. Default is COEFF_STATS(0).
CONSTANT
Flag indicating whether or not the TD_ARIMAESTIMATE function should calculate an intercept. A value of '1' indicates CONSTANT/intercept should be calculated. A value of '0' indicated no CONSTANT/intercept should be calculated.
FIT_METRICS
Flag indicating whether or not to generate the secondary result set that contains the model metadata statistics. A value of FIT_METRICS(1) means generate the secondary result set. A value of FIT_METRICS(0) means do not generate the secondary result set. Default is FIT_METRICS(0). The generated result set can be retrieved by issuing a TD_EXTRACT_RESULTS against the analytical result table containing the results.
FIT_PERCENTAGE
Percentage of passed in sample points that will be used for the model fitting / parameter estimation exercise. The default is 100, meaning 100%.
FIXED (numbers seperated by new line)
p+q+P+Q length list if CONSTANT(0). p+q+P+Q+1 length list if CONSTANT(1).Position sensitive list that specifies the fixed values to be associated with the 'p' non-seasonal AR regression coefficients, followed by 'q' non-seasonal MA coefficients, and 'P' seasonal SAR regression coefficients and 'Q' seasonal SMA coefficients. If intercept needed, one more value at the end to specify if intercept coefficient needs to be fixed value or not. Associating a particular coefficient to a value of NULL, means that the TD_ARIMAESTIMATE function is to determine/calculate the coefficient. Otherwise, the coefficient will be fixed on the given values. Default is FIXED(NULL, NULL… NULL).Only for MLE / CSS_MLE method.
INIT (numbers seperated by new line)
p+q+P+Q length list if CONSTANT(0). p+q+P+Q+1 length list if CONSTANT(1).Position sensitive list that specifies the initial values to be associated with the 'p' non-seasonal AR regression coefficients, followed by 'q' non-seasonal MA coefficients, and 'P' seasonal SAR regression coefficients and 'Q' seasonal SMA coefficients. If intercept needed, one more value at the end to specify if intercept coefficient initial value. Associating a particular coefficient to a value of 0 should be used to indicate that the TD_ARIMAESTIMATE function is to use 0 as the initial value when calculate the coefficient. If some of the coefficients specified particular value as the initial values, the rest should be filled by 0 as well.If any specified init value at the same time provided in FIXED, provided init value will be ignored (overwrite) by FIXED.Only for MLE / CSS_MLE method.
InputFormat
Specifies the input mode supported by the function.
LAGS.AR (integers seperated by new line)
p-length list. Position sensitive list that specifies the lags to be associated with the 'p' non-seasonal AR regression terms. Default is LAGS( AR(1,2,3,...p)).
LAGS.MA (integers seperated by new line)
q-length list. Position sensitive list that specifies the lags associated with the 'q' non-seasonal MA terms. Default is LAGS(MA(1,2,3,...q)).
LAGS.SAR (integers seperated by new line)
P-length list. Position sensitive list that specifies the lags associated with the 'P' seasonal AR regression terms. Default is LAGS(SAR(1xS, 2xS, ...., PxS))
LAGS.SMA (integers seperated by new line)
Q-length list. Position sensitive list that specifies the lags associated with the 'Q' seasonal MA terms. Default is LAGS(SMA(1xS, 2xS, ..., PxS)).
MAX_ITERATIONS
This is an optional parameter. Places a cap on the maximum number of iterations that can be employed to estimate the ARMA parameters. Only relevant for MLE processing. If not present, then default is 100 iterations.
NONSEASONAL.MODEL_ORDER (integers seperated by new line)
The non-seasonal 'p, d and q' values. A list containing three integer values, which are each greater than or equal to 0:First value is 'p', the non-seasonal auto-regressive order, AR(p)Second value is 'd', the non-seasonal differencing order Third value is 'q', the non-seasonal moving average order, MA(q)
OutputFormat
Specifies the INDEX_STYLE of the output format.
RESIDUALS
Flag indicating whether or not to generate the tertiary result set that contains the model residuals. A value of RESIDUALS(1) means generate the tertiary result set. A value of RESIDUALS(0) means do not generate the tertiary result set. Default is RESIDUALS(0). The generated result set can be retrieved by issuing a TD_EXTRACT_RESULTS against the analytical result table containing the results.
SEASONAL.MODEL_ORDER (integers seperated by new line)
The seasonal 'P, D and Q' values. A list containing three integer values, which are each greater than or equal to 0:First value is 'P', the seasonal auto-regressive orderSecond value is 'D', the seasonal differencing orderThird value is 'Q', the seasonal moving average order
SEASONAL.PERIOD
SEASONAL parameter. The number of periods per season, 'S'.
Output Schema
Output Schema, if Volatile is true then use user login as the schema.
Output Table
Output Table
VAL Location
VAL Location
Volatile
Specifies whether the table should be a VOLATILE table. If true, then the table is automatically deleted, otherwise it is users responsibility to remove or clean it up for space.

Input Ports

Icon
Connection to a Teradata Database Instance
Icon
Passed in a logical univariate series, this function estimates the coefficients corresponding to the ARMA model
Icon
Passed in a logical univariate series, this function estimates the coefficients corresponding to the ARMA model

Output Ports

Icon
output of TD_ARIMAESTIMATE

Nodes

Extensions

Links