Prediction thread, with analysis