TD_IQR Output - Teradata Vantage

Database Unbounded Array Framework Time Series Functions

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2024-10-04
dita:mapPath
ncd1634149624743.ditamap
dita:ditavalPath
ruu1634160136230.ditaval
dita:id
ncd1634149624743

The TD_IQR function creates a two-layered ART table. The primary result set contains the list of anomaly data points. The secondary result set contains the number of anomalies. The primary result set is accessed using a SELECT statement. The secondary is accessed using the TD_EXTRACT_RESULTS utility function.

RETURNS TABLE Schema for Primary Layer
Name Data Type Description
derived_series_identifier VARCHAR The resultant series identifier inherited from the SERIES_ID.
ROW_I Varies Row identifier of the ordered result sets.
Payload_n Varies Input series passed back with the result.
Payload_n_Anomaly Integer Each data point is checked to determine if it is an anomaly. A value of 1 means it is not an anomaly. A value of -1 means it is an anomaly.
RETURNS TABLE Schema for Secondary Layer
Name Data Type Description
Payload_n_NUM_OUTLIERS Integer The number of anomalies in input data, and those that do not belong any clusters.