Interval Forecast Evaluation
Methodology and example images of how the the Interval Forecast is scored
Single Epoch Evaluation
The interval forecast is a more complex, and as a result evaluation is as well. Rather than basing on an error, the ranking is based on a score which the Miners are trying to maximize. The following describes the evaluation of hte Interval Forecast at a single epoch, that is one interval forecast made at a prediction time and scored at a single evaluation time, using the entire Coin Metrics Reference Rate time series in between. We use the 1-second Reference Rate frequency in the calculation below.
Interval Forecast Scoring
This score has a maximum (1.0) when the top and bottom of the Price Interval Forecast are exactly equal to the maximum and minimum observed Reference Rate during the evaluation window (which is the previous 1 hour as of launch). The wider the interval becomes, the lower the score gets. On the other hand, the less of the price time series which lies in the interval the lower the score gets as well. In this way, the mechanism punishes both “wasted” interval prediction that is wider than necessary, and “insufficient” intervals that don’t capture the full range of price movement.
The methodology is illustrated in plots on the next page.
The Interval Forecast is defined by the expected min and max price expected in the future window: .
The interval score is the product of two components: a width-factor and an inclusion-factor. The former penalizes intervals of excess width, and the latter penalizes intervals which do not include the observed prices.
Width Factor
To calculate the width-factor, we first determine an “effective top” and “effective bottom” of the Interval Forecast. The effective top is given by the smaller of either the upper bound of the Interval Forecast or the observed highest Reference Rate; and vice versa for the effective bottom. The idea is that we consider the top and bottom of the interval, but don’t count excess width the goes beyond the observed price movement. Mathematically, the effective top and bottom are:
Where is the real observed CM Reference Rate before evaluation time.
Then, the width-factor is calculated by the proportion of Interval Forecast captured by the effective bottom and top:
If the effective top and bottom are equal to the forecasted interval, the factor is 1.0. But if the effective top or bottom is less (ie. the forecast has "wasted space"), the factor is some value less than 1.0.
Inclusion Factor
The inclusion-factor meanwhile is determined by looking at the percentage of time points when the observed price lies within the Interval Forecast. This is a simpler to express in code than in math symbols: If p[t] represents an array of the Coin Metrics Reference Rate at each second, indexed on the timestamp t, then the inclusion-factor is given by:
f_i = sum((p >= pred_min) & (p <= pred_max)) / len(p)
Like the weight-factor, the inclusion-factor has a maximum of 1.0 and a minimum value of 0.0. It reaches 1.0 when the Interval Prediction encompasses all observed prices. It reaches a value of 0.0 if the interval does not include any prices.
Final Score
Finally, the Miner’s final interval score () for the interval prediction is given quite simply by the product:
Ranking
The Miners are ranked from best () to worst () according to this score. Note that unlike the Point Forecast, which was based on the error, the Interval Forecast Score is ranked from largest (best) to lowest (worst).
Share per Rank
Just like the Point Forecast, each miner receives a "share" or weight of that epoch's reward depending on their rank. The share is 1.0 for the best miner and is exponentially decreasing for worse ranks. In the simplest case, without ties, each miners point forecast share is calculated as: . This explained in more detail in the section on calculating final share.
Last updated
Was this helpful?