Prediction and Optimal Decision