TD_​PORTMAN

They are executed against the residuals left over after a modeling fit operation and are aimed at determining whether the residuals can be classified as being “white noise” – meaning: zero mean, no evidence of serial correlation amongst the residual/error terms, and the residuals exhibit homoscedastic variance.. All these portmanteau tests treat the residuals as an input series and then use that series as an input to calculate the auto-correlation coefficients or partial auto-correlation coefficients associated with that series. Finally, these coefficients are then used in a subsequent formula to calculate the test statistic value.. The Null Hypothesis associated with all these tests is that the ARIMA model is adequate and that there is no evidence of serial correlation amongst the residuals.

Options

DEGREES_FREEDOM
Degrees of freedom (aka, p+q) to be subtracted from chosen MAXLAG: meaning: DFTEST = MAXLAG – DEGREES_FREEDOM
MAXLAG
An integer indicating how many explanatory variables (N) are referenced within the PAYLOAD() declaration embedded within the original series specification. These N explanatory variable are the variables that are to be fed into the auxiliary regression.
PACF_METHOD
Only valid when the TEST(MQ), Monti’s Q test, is chosen.Chooses underlying algorithm that will be employed to calculate the partial auto-correlation coefficients.LEVINSON_DURBIN - Uses the set of recursive formulas devised by Levinson-Durbin to solve for PACF coefficientsOLS - Solves incremental series of regression equations to determine the PACF coefficients
SIGNIFICANCE_LEVEL
The desired significance level for the test.
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.
TEST
Chooses the desired Portmanteau diagnostic; BP : Box-Pierce Q test; LB : Ljung-Box Q test; LM : Li-McLeod Q test; MQ : Monti’s Q test; ML : McLeod-Li Q test

Input Ports

Icon
Connection to a Teradata Database Instance
Icon
This function requires that a series of residuals - left over after running the original regression – be passed into the function. These residuals may either reside within an independent table, or may exist in the form of tertiary results resident within an analytical result table (ART). If the residual series exists as a tertiary result set within an analytical result table, then the caller merely needs to pass in the TABLE_NAME to identify the ART containing the residuals - the DBS software will perform the extraction of the residuals as part of the execution of this function.

Output Ports

Icon
output of TD_PORTMAN

Nodes

Extensions

Links