Deterministic and Stochastic Linear and Nonlinear Mean Prediction of Time Series