Have a Question?
Phone: +1 (888) 4279486
+1 (312) 2573777
Contact Us
PB
Calculates the percentage of cases where forecast error is greater than the benchmark model.
Syntax
PB(X, F, M, Mode)
X
is the eventual outcome time series sample data (a onedimensional array of cells e.g. row or column).
F
is the forecast time series data (a onedimensional array of cells e.g. row or column).
M
is the seasonal period (for nonseasonal time series, set M=1 (default) or leave it blank).
Mode
is a switch to select the basis of the calculated PB (0=regular error (default), 1=MAE, 2=MSE)
Mode  Description 

0  Relative Absolute Error (default) 
1  Mean Absolute Error (MAE) 
2  Mean Squared Error (MSE) 
Remarks
 The time series is homogeneous or equally spaced.
 The time series X and F must be of identical size
 The time series X or F may include observations with missing values (e.g. #N/A or blank).
 Observations with missing values in Y or F are excluded from the MASE calculation.
 The regular Percentage Better (PB) is calculated by following formula:
Where:
 is the forecast error of the naïve benchmark model calculated insample.
 is the forecast error of the actual forecast.

is an operator that yields the values of zero or one, in accordance with the expression:
 In short, PB demonstrates the average number of times that forecasting method overcomes the naïve forecasting method
 The Percentage Better measure counts the number of cases when the forecasting model is superior to the naïve benchmark, but it does not evaluate the degree in which they are different
 PB does not indicate the amount of possible improvement. Thus, it is possible to have one method that performs slightly better than the benchmark method for 99 series but much worse on 1 series, giving that method a PB score of 99 even though the benchmark method is preferable.
 The close variant of PB is based on measures other than absolute forecast error. NumXL PB function supports two measures: MAE and MSE. The Percentage Better of MAE is calculated by the following formula:
 The PB function is available starting with version 1.65 HAMMOCK.
Examples
Example 1:


Formula  Description (Result)  

=PB(3:21,3:21,1,0)  MASE (88.89%)  
=PB(3:21,3:21,1,1)  MASE (94.44%)  
=PB(3:21,3:21,1,2)  MASE (94.44%) 
Files Examples
References
 R.J. Hyndman, A.B. Koehler, "Another look at measures of forecast accuracy", International Journal of Forecasting, 22 (2006), pp. 679688
 James Douglas Hamilton; Time Series Analysis; Princeton University Press; 1st edition(Jan 11, 1994), ISBN: 691042896
 Tsay, Ruey S.; Analysis of Financial Time Series; John Wiley & SONS; 2nd edition(Aug 30, 2005), ISBN: 0471690740
 D. S.G. Pollock; Handbook of Time Series Analysis, Signal Processing, and Dynamics; Academic Press; Har/Cdr edition(Nov 17, 1999), ISBN: 125609906