On the prediction of p-stationary processes