SimpleMovAvg 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 simple moving average.
Default behavior: The function copies all numeric input columns to the output table.
IncludeFirst
[Optional] Specify whether to output window_size rows. Because the simple moving average for the first window_size rows is undefined, the function returns NULL values for those columns.
Default: 'false'
WindowSize
[Optional]
Specify the number of previous values to include in the computation of the simple moving average.
Default: 10