ExponentialMovAvg Syntax Elements - Teradata Vantage

Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
8.10
1.1
Published
October 2019
Language
English (United States)
Last Update
2019-12-31
dita:mapPath
ima1540829771750.ditamap
dita:ditavalPath
jsj1481748799576.ditaval
dita:id
B700-4003
lifecycle
previous
Product Category
Teradata Vantageā„¢
TargetColumns
[Optional] Specify the input column names for which to compute the exponential moving average.
Default behavior: The function copies every input column to the output table but does not compute any exponential moving averages.
Alpha
[Optional] Specify the damping factor, a value in the range [0, 1], which represents a percentage in the range [0, 100]. For example, if alpha is 0.2, the damping factor is 20%. A higher alpha discounts older observations faster.
Default: 0.1
StartRows
[Optional] Specify the number of rows to skip before calculating the exponential moving average. The function uses the arithmetic average of these rows as the initial value of the exponential moving average. The value n must be an integer.
Default: 2
IncludeFirst
[Optional] Specify whether to include the starting rows in the output table.
Default: 'false'. If you specify 'true', the output columns for the starting rows contain NULL, because their exponential moving average is undefined.