checking for prediction errors