Weighted Moving Average
This applies to: Managed Dashboards, Managed Reports
The Weighted Moving Average (WMA) function computes the average of a set of input values over a specified number of time periods. In this function, a greater weight is given to more recent data. The function can be used to smooth a data series, which helps to reduce noise and make it easier to spot data trends.
The mathematical formula being calculated is as follows:
Where Y is the value, n is the number of periods, and K is the sum of n-based multipliers (for example, for n=3, K=3+2+1 =6).
Syntax
WGHTMOVAVG(d0,s0,Alignment)
Input
The Weighted Moving Average function requires the following input:
d0 - Input data values - The set of data values for which the Weighted Moving Average is calculated.
Parameters
The Weighted Moving Average function requires the following parameters:
s0 Period - The number of time periods to use in the calculation. The default value is 10.
Alignment (Optional) - Hierarchy placeholder to be used as the alignment axis.
Output
The Weighted Moving Average function generates the following output:
Weighted Moving Average - The Weighted Moving Average result set.
For more information, see:
Comments
0 comments
Please sign in to leave a comment.