August 2019
Intermediate to advanced
560 pages
13h 41m
English
Compute the moving average in a single exponential model from the subset of data in each window. The rest of the aggregation for the ewma function with the alpha parameter value set to 0.3 is as follows:
"weekly_change_ewma": {"moving_fn":{"buckets_path":"weekly_change","script":"MovingFunctions.ewma(values, 0.3)","window":4}}
Read now
Unlock full access