Smoothing, Forecasting, and Prediction of Discrete Time Series