loss computes the sequence of instantaneous losses suffered
by the predictions in x to predict the observation in y.
loss(x, y, loss.type = "square")T
containing the sequence of prediction to be evaluated.T that
contains the observations to be predicted.T containing the sequence of
instantaneous losses suffered by the prediction x.