This paper applies a recurrent neural network (RNN) method to forecast cotton and oil prices. We show how these new tools from machine learning, particularly Long-Short Term Memory (LSTM) models, complement traditional methods. Our results show that machine learning methods fit reasonably well the data but do not outperform systematically classical methods such as Autoregressive Integrated Moving Average (ARIMA) models in terms of out of sample forecasts. However, averaging the forecasts from the two type of models provide better results compared to either method. Compared to the ARIMA and the LSTM, the Root Mean Squared Error (RMSE) of the average forecast was 0.21 and 21.49 percent lower respectively for cotton. For oil, the forecast averaging does not provide improvements in terms of RMSE. We suggest using a forecast averaging method and extending our analysis to a wide range of commodity prices.
翻译:本文用一种经常性神经网络(RNN)方法预测棉花和石油价格。我们展示了这些来自机器学习的新工具,特别是长期短期内存(LSTM)模型,如何补充传统方法。我们的结果表明,机器学习方法相当适合数据,但从抽样预测来看,并不优于自动递减综合移动平均值(ARIMA)模型等系统经典方法。然而,两种模型的预测平均结果与这两种方法相比都比较好。与ARIMA和LSTM相比,平均预测的根平均值平方错误(RMSE)分别低0.21%和21.49%。关于石油,平均预测没有提供RMSE模型方面的改进。我们建议使用预测平均方法,并将我们的分析扩大到广泛的商品价格。