IDEAS home Printed from https://ideas.repec.org/a/ags/areint/355972.html

Time series forecasting of price of the agricultural products using data science

Author

Listed:
  • Kmytiuk, Tetiana
  • Majore, Ginta
  • Bilyk, Tetiana

Abstract

Purpose. The purpose of our article is to research and forecast prices for agricultural products using the example of potato prices based on the most effective models using data science techniques. Methodology / approach. Various forecasting models are explored, starting from baseline models like decomposition and exponential smoothing models to more advanced techniques such as ARIMA, SARIMA, as well as deep learning models including neural network. The data is split into training and testing sets, and models are validated using cross-validation techniques and optimised through hyperparameter tuning. Model performance is evaluated using metrics such as MAE, MSE, RMSE, and MAPE. The selected model is then used to generate future price forecasts, with uncertainty quantified through confidence intervals. Results. The study successfully applied advanced data science techniques to forecast potato prices, leveraging a range of effective models. By analysing historical price data and using various forecasting methods, the research identified the most accurate models for predicting future price trends. The results demonstrate that the selected models can provide reliable forecasts. In particular, the results showed that the SARIMA (1,0,0)(0,1,1)[12] model could achieve good forecast results when applied to real problems and, thus, can be effectively used for forecasting tasks especially considering seasonality. In addition, it should be noted that the ETS (M,A_d,A) model has a higher prediction accuracy at the time intervals closest to the original data. The obtained results support using both models simultaneously for forecasting, which can compensate for the shortcomings of each of them. The models can be used separately, to more accurately predict the values for the required period, or a combination of them is also possible. Originality / scientific novelty. The study’s originality lies in development of methods for effectively accounting for seasonality in agricultural price data, such as using seasonal decomposition techniques or more advanced techniques that combine statistical and data science approaches. The novelty implies the implementation of real-time data processing and forecasting system allows for the timely prediction of price changes, enabling stakeholders to make more informed decisions. Practical value / implications. Forecasting potato prices holds significant practical value for various stakeholders. For farmers, accurate forecasts enable informed decisions on the optimal times to plant, harvest, and sell their crops, thereby optimising their profits. In the supply chain, distributors and retailers can use these forecasts to manage inventory more effectively and plan contracts, reducing waste and avoiding shortages. Policymakers benefit from forecasts by anticipating market fluctuations and stabilising prices, which supports both consumers and producers. For consumers, stable pricing ensures better budgeting and helps avoid sudden price spikes, making essential foods more affordable. Overall, accurate price forecasting enhances market efficiency by reducing uncertainty and aiding investors in managing risk.

Suggested Citation

  • Kmytiuk, Tetiana & Majore, Ginta & Bilyk, Tetiana, . "Time series forecasting of price of the agricultural products using data science," Agricultural and Resource Economics: International Scientific E-Journal, Agricultural and Resource Economics: International Scientific E-Journal, vol. 10(3).
  • Handle: RePEc:ags:areint:355972
    DOI: 10.22004/ag.econ.355972
    as

    Download full text from publisher

    File URL: https://ageconsearch.umn.edu/record/355972/files/1_Kmytiuk_article.pdf
    Download Restriction: no

    File URL: https://libkey.io/10.22004/ag.econ.355972?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Peter R. Winters, 1960. "Forecasting Sales by Exponentially Weighted Moving Averages," Management Science, INFORMS, vol. 6(3), pages 324-342, April.
    2. Bergmeir, Christoph & Benítez, José M., 2012. "Neural Networks in R Using the Stuttgart Neural Network Simulator: RSNNS," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 46(i07).
    3. Feihu Sun & Xianyong Meng & Yan Zhang & Yan Wang & Hongtao Jiang & Pingzeng Liu, 2023. "Agricultural Product Price Forecasting Methods: A Review," Agriculture, MDPI, vol. 13(9), pages 1-20, August.
    4. Zhang, Guoqiang & Eddy Patuwo, B. & Y. Hu, Michael, 1998. "Forecasting with artificial neural networks:: The state of the art," International Journal of Forecasting, Elsevier, vol. 14(1), pages 35-62, March.
    5. Hyndman, Rob J. & Khandakar, Yeasmin, 2008. "Automatic Time Series Forecasting: The forecast Package for R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 27(i03).
    6. Gardner, Everette Jr., 2006. "Exponential smoothing: The state of the art--Part II," International Journal of Forecasting, Elsevier, vol. 22(4), pages 637-666.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Yurchenko, Ihor & Khodakivska, Olga & Martyniuk, Maksym, . "Forecasting agricultural land prices in Ukraine using LSTM deep neural networks," Agricultural and Resource Economics: International Scientific E-Journal, Agricultural and Resource Economics: International Scientific E-Journal, vol. 11(1).

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Barrow, Devon & Kourentzes, Nikolaos, 2018. "The impact of special days in call arrivals forecasting: A neural network approach to modelling special days," European Journal of Operational Research, Elsevier, vol. 264(3), pages 967-977.
    2. Villegas, Marco A. & Pedregal, Diego J., 2019. "Automatic selection of unobserved components models for supply chain forecasting," International Journal of Forecasting, Elsevier, vol. 35(1), pages 157-169.
    3. Petropoulos, Fotios & Apiletti, Daniele & Assimakopoulos, Vassilios & Babai, Mohamed Zied & Barrow, Devon K. & Ben Taieb, Souhaib & Bergmeir, Christoph & Bessa, Ricardo J. & Bijak, Jakub & Boylan, Joh, 2022. "Forecasting: theory and practice," International Journal of Forecasting, Elsevier, vol. 38(3), pages 705-871.
      • Fotios Petropoulos & Daniele Apiletti & Vassilios Assimakopoulos & Mohamed Zied Babai & Devon K. Barrow & Souhaib Ben Taieb & Christoph Bergmeir & Ricardo J. Bessa & Jakub Bijak & John E. Boylan & Jet, 2020. "Forecasting: theory and practice," Papers 2012.03854, arXiv.org, revised Jan 2022.
    4. Trapero, Juan R. & Kourentzes, Nikolaos & Martin, A., 2015. "Short-term solar irradiation forecasting based on Dynamic Harmonic Regression," Energy, Elsevier, vol. 84(C), pages 289-295.
    5. Evangelos Spiliotis & Spyros Makridakis & Artemios-Anargyros Semenoglou & Vassilios Assimakopoulos, 2022. "Comparison of statistical and machine learning methods for daily SKU demand forecasting," Operational Research, Springer, vol. 22(3), pages 3037-3061, July.
    6. George Athanasopoulos & Ashton de Silva, 2010. "Multivariate exponential smoothing for forecasting tourist arrivals to Australia and New Zealand," Monash Econometrics and Business Statistics Working Papers 11/09, Monash University, Department of Econometrics and Business Statistics.
    7. Makridakis, Spyros & Spiliotis, Evangelos & Assimakopoulos, Vassilios, 2020. "The M4 Competition: 100,000 time series and 61 forecasting methods," International Journal of Forecasting, Elsevier, vol. 36(1), pages 54-74.
    8. Ye, Lili & Xie, Naiming & Boylan, John E. & Shang, Zhongju, 2024. "Forecasting seasonal demand for retail: A Fourier time-varying grey model," International Journal of Forecasting, Elsevier, vol. 40(4), pages 1467-1485.
    9. Felipe Leite Coelho da Silva & Josiane da Silva Cordeiro & Kleyton da Costa & Nemias Saboya & Paulo Canas Rodrigues & Javier Linkolk López-Gonzales, 2025. "Time series forecasting via integrating a filtering method: an application to electricity consumption," Computational Statistics, Springer, vol. 40(9), pages 5023-5042, December.
    10. Svetunkov, Ivan & Chen, Huijing & Boylan, John E., 2023. "A new taxonomy for vector exponential smoothing and its application to seasonal time series," European Journal of Operational Research, Elsevier, vol. 304(3), pages 964-980.
    11. Hewamalage, Hansika & Bergmeir, Christoph & Bandara, Kasun, 2021. "Recurrent Neural Networks for Time Series Forecasting: Current status and future directions," International Journal of Forecasting, Elsevier, vol. 37(1), pages 388-427.
    12. Yelland, Phillip M., 2010. "Bayesian forecasting of parts demand," International Journal of Forecasting, Elsevier, vol. 26(2), pages 374-396, April.
    13. Dinis, Duarte & Barbosa-Póvoa, Ana & Teixeira, Ângelo Palos, 2022. "Enhancing capacity planning through forecasting: An integrated tool for maintenance of complex product systems," International Journal of Forecasting, Elsevier, vol. 38(1), pages 178-192.
    14. Gaetano Perone, 2022. "Comparison of ARIMA, ETS, NNAR, TBATS and hybrid models to forecast the second wave of COVID-19 hospitalizations in Italy," The European Journal of Health Economics, Springer;Deutsche Gesellschaft für Gesundheitsökonomie (DGGÖ), vol. 23(6), pages 917-940, August.
    15. Kourentzes, Nikolaos & Athanasopoulos, George, 2019. "Cross-temporal coherent forecasts for Australian tourism," Annals of Tourism Research, Elsevier, vol. 75(C), pages 393-409.
    16. Rajapaksha, Dilini & Bergmeir, Christoph & Hyndman, Rob J., 2023. "LoMEF: A framework to produce local explanations for global model time series forecasts," International Journal of Forecasting, Elsevier, vol. 39(3), pages 1424-1447.
    17. de Silva, Ashton J, 2010. "Forecasting Australian Macroeconomic variables, evaluating innovations state space approaches," MPRA Paper 27411, University Library of Munich, Germany.
    18. Merten, Michael & Rücker, Fabian & Schoeneberger, Ilka & Sauer, Dirk Uwe, 2020. "Automatic frequency restoration reserve market prediction: Methodology and comparison of various approaches," Applied Energy, Elsevier, vol. 268(C).
    19. Rostami-Tabar, Bahman & Babai, Mohamed Zied & Ducq, Yves & Syntetos, Aris, 2015. "Non-stationary demand forecasting by cross-sectional aggregation," International Journal of Production Economics, Elsevier, vol. 170(PA), pages 297-309.
    20. Meira, Erick & Cyrino Oliveira, Fernando Luiz & de Menezes, Lilian M., 2022. "Forecasting natural gas consumption using Bagging and modified regularization techniques," Energy Economics, Elsevier, vol. 106(C).

    More about this item

    Keywords

    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:ags:areint:355972. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: AgEcon Search (email available below). General contact details of provider: http://are-journal.com/are .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.