Statistical Forecast Functions

Overview

Reference

forecast()

  forecast() double

Forecast value for the entity, metric, and tags in the current window.

forecast(string n)

  forecast(string n) double

Named forecast value for the entity, metric, and tags in the current window, for example forecast('ltm') .

forecast_stdev

  forecast_stdev() double

Forecast standard deviation.

forecast_deviation

  forecast_deviation(double n) double

Difference between a number n (such as the last value) and the forecast value (returned by forecast() function), divided by the forecast standard deviation.

The formula is:

  (n - forecast())/forecast_stdev()