Fig. 4.
The third step for obtaining the first test statistic, the prediction error. With each current vector of 5 consecutive interspike intervals, all vectors of 5 consecutive interspike intervals are compared to find the most similar. Then the interspike interval following the most similar vector provides a prediction for the interspike interval following the current vector.