WeightedMovAvg Syntax Elements - Teradata Vantage

Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
9.02
9.01
2.0
1.3
Published
February 2022
Language
English (United States)
Last Update
2022-02-10
dita:mapPath
rnn1580259159235.ditamap
dita:ditavalPath
ybt1582220416951.ditaval
dita:id
B700-4003
lifecycle
previous
Product Category
Teradata Vantageā„¢
TargetColumns
[Optional] Specify the names of the input columns for which to compute the weighted moving average. The function copies these columns to the output table.
Default behavior: The function copies these columns to the output table but does not compute their weighted moving averages.
WindowSize
[Optional] Specify the number of old values to consider for computing the new weighted moving average.
Default: '10'
IncludeFirst
[Optional] Specify whether to output the first window_size rows. Because the weighted moving average for the first window_size rows is undefined, the function returns NULL values for those columns.
Default: 'false'