The implementation of forecasting models