Time series forecasting using the ARIMA model