IDEAS home Printed from https://ideas.repec.org/a/wly/agribz/v39y2023i1p214-241.html
   My bibliography  Save this article

Forecasting drinking milk price based on economic, social, and environmental factors using machine learning algorithms

Author

Listed:
  • Abdulkadir Atalan

Abstract

The study aimed to describe and test machine learning (ML)‐based algorithms to evaluate the unit price of drinking milk. The algorithms were applied to the data collected over 8 years in 2014 and 2021 related to the price of drinking milk in Turkey. The economic, social, and environmental factors that have an impact on the unit price of drinking milk were evaluated. Five ML algorithms, including random forest, gradient boosting, support vector machine (SVM), neural network, and AdaBoost algorithms, were utilized to predict the drinking milk unit price. ML also applied hyperparameter tuning with nested cross‐validation to calculate the prediction accuracy for each algorithm. The results show that the random forest algorithm based on the features of the ML algorithms has the best performance, with the accuracy of 99.30% for training and 98.10% for testing the dataset. The average accuracy of gradient boosting, SVM, neural network, and AdaBoost are obtained as 97.30%, 96.15%, 95.65%, and 96.05%, respectively. Random forest performed best as the target variable with the lowest deviation values of mean squared error (MSE) (0.004), root mean square error (RMSE) (0.060), and mean absolute error (MAE) (0.029) in the training and MSE (0.009), RMSE (0.096), and MA (0.055) in the testing dataset. This study presents an interesting perspective with practical potential to adopt ML methods in the dairy industry. The developed ML algorithms can provide dairy investors and policymakers with important decision‐support information. [EconLit Citations: C13, C53, L66, C88].

Suggested Citation

  • Abdulkadir Atalan, 2023. "Forecasting drinking milk price based on economic, social, and environmental factors using machine learning algorithms," Agribusiness, John Wiley & Sons, Ltd., vol. 39(1), pages 214-241, January.
  • Handle: RePEc:wly:agribz:v:39:y:2023:i:1:p:214-241
    DOI: 10.1002/agr.21773
    as

    Download full text from publisher

    File URL: https://doi.org/10.1002/agr.21773
    Download Restriction: no

    File URL: https://libkey.io/10.1002/agr.21773?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. S McCorriston & CW Morgan & AJ Rayner, 2001. "Price transmission: the interaction between market power and returns to scale," European Review of Agricultural Economics, Oxford University Press and the European Agricultural and Applied Economics Publications Foundation, vol. 28(2), pages 143-159, June.
    2. Octavio Fernández-Amador & Josef Baumgartner & Jesús Crespo-Cuaresma, 2010. "Milking The Prices: The Role of Asymmetries in the Price Transmission Mechanism for Milk Products in Austria," Working Papers 2010-21, Faculty of Economics and Statistics, Universität Innsbruck.
    3. Sam Peltzman, 2000. "Prices Rise Faster than They Fall," Journal of Political Economy, University of Chicago Press, vol. 108(3), pages 466-502, June.
    4. Revoredo-Giha, Cesar & Nadolnyak, Denis A. & Fletcher, Stanley M., 2004. "Explaining Price Transmission Asymmetry In The Us Peanut Marketing Chain," 2004 Annual meeting, August 1-4, Denver, CO 20363, American Agricultural Economics Association (New Name 2008: Agricultural and Applied Economics Association).
    5. repec:aph:ajpbhl:10.2105/ajph.2016.303647_1 is not listed on IDEAS
    6. Dalala, Zakariya & Al-Omari, Murad & Al-Addous, Mohammad & Bdour, Mathhar & Al-Khasawneh, Yaqoub & Alkasrawi, Malek, 2022. "Increased renewable energy penetration in national electrical grids constraints and solutions," Energy, Elsevier, vol. 246(C).
    7. Ioanna Reziti, 2014. "Price transmission analysis in the Greek milk market," SPOUDAI Journal of Economics and Business, SPOUDAI Journal of Economics and Business, University of Piraeus, vol. 64(4), pages 75-86, October-D.
    8. Laura Auria & Rouslan A. Moro, 2008. "Support Vector Machines (SVM) as a Technique for Solvency Analysis," Discussion Papers of DIW Berlin 811, DIW Berlin, German Institute for Economic Research.
    9. Roman Mylostyvyi & Olexandr Chernenko, 2019. "Correlations between Environmental Factors and Milk Production of Holstein Cows," Data, MDPI, vol. 4(3), pages 1-8, July.
    10. Blondin, S.A. & Cash, S.B. & Goldberg, J.P. & Griffin, T.S. & Economos, C.D., 2017. "Nutritional, economic, and environmental costs of milk waste in a classroom school breakfast program," American Journal of Public Health, American Public Health Association, vol. 107(4), pages 590-592.
    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. Yunus Emre Ayözen, 2023. "Statistical Optimization of E-Scooter Micro-Mobility Utilization in Postal Service," Energies, MDPI, vol. 16(3), pages 1-25, January.
    2. Qingliang Zhao & Junji Chen & Xiaobin Feng & Yiduo Wang, 2024. "A Novel Bézier LSTM Model: A Case Study in Corn Analysis," Mathematics, MDPI, vol. 12(15), pages 1-21, July.
    3. Yasemin Ayaz Atalan & Abdulkadir Atalan, 2023. "Integration of the Machine Learning Algorithms and I-MR Statistical Process Control for Solar Energy," Sustainability, MDPI, vol. 15(18), pages 1-20, September.
    4. Hakan İnaç, 2023. "Micro-Mobility Sharing System Accident Case Analysis by Statistical Machine Learning Algorithms," Sustainability, MDPI, vol. 15(3), pages 1-31, January.

    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. Barbora Dudová & Věra Bečvářová, 2015. "The Character of Price Transmission Within Milk Commodity Chain in the Czech Republic," Acta Universitatis Agriculturae et Silviculturae Mendelianae Brunensis, Mendel University Press, vol. 63(3), pages 887-892.
    2. Judith Hillen, 2021. "Vertical price transmission in Swiss dairy and cheese value chains," Agricultural and Food Economics, Springer;Italian Society of Agricultural Economics (SIDEA), vol. 9(1), pages 1-21, December.
    3. Aysoy, Cevriye & Kirli, Duygu Halim & Tumen, Semih, 2015. "How does a shorter supply chain affect pricing of fresh food? Evidence from a natural experiment," Food Policy, Elsevier, vol. 57(C), pages 104-113.
    4. Luca Cattivelli & Federico Antonioli, 2023. "When cointegration is interrupted: Price transmission analysis in the Italian dairy‐feed industry," Agribusiness, John Wiley & Sons, Ltd., vol. 39(3), pages 744-761, July.
    5. Dariusz Kusz & Bożena Kusz & Paweł Hydzik, 2022. "Changes in the Price of Food and Agricultural Raw Materials in Poland in the Context of the European Union Accession," Sustainability, MDPI, vol. 14(8), pages 1-21, April.
    6. Ioanna Reziti & Yannis Panagopoulos, 2008. "Asymmetric price transmission in the greek agri-food sector: some tests," Agribusiness, John Wiley & Sons, Ltd., vol. 24(1), pages 16-30.
    7. Revoredo-Giha, Cesar & Nadolnyak, Denis A. & Fletcher, Stanley M., 2004. "Explaining Price Transmission Asymmetry In The Us Peanut Marketing Chain," 2004 Annual meeting, August 1-4, Denver, CO 20363, American Agricultural Economics Association (New Name 2008: Agricultural and Applied Economics Association).
    8. Anthony N. Rezitis, 2019. "Investigating price transmission in the Finnish dairy sector: an asymmetric NARDL approach," Empirical Economics, Springer, vol. 57(3), pages 861-900, September.
    9. Montalbano, P. & Pietrelli, R. & Salvatici, L., 2018. "Participation in the market chain and food security: The case of the Ugandan maize farmers," Food Policy, Elsevier, vol. 76(C), pages 81-98.
    10. Loy, Jens-Peter & Weiss, Christoph R. & Glauben, Thomas, 2016. "Asymmetric cost pass-through? Empirical evidence on the role of market power, search and menu costs," Journal of Economic Behavior & Organization, Elsevier, vol. 123(C), pages 184-192.
    11. Steve McCorriston, 2002. "Why should imperfect competition matter to agricultural economists?," European Review of Agricultural Economics, Oxford University Press and the European Agricultural and Applied Economics Publications Foundation, vol. 29(3), pages 349-371, July.
    12. Bakucs, Lajos Zoltan & Falkowski, Jan & Ferto, Imre, 2012. "What causes asymmetric price transmission in agro-food sector? Meta-analysis perspective," 86th Annual Conference, April 16-18, 2012, Warwick University, Coventry, UK 134765, Agricultural Economics Society.
    13. Tamara Rudinskaya & Iveta Boskova, 2021. "Asymmetric price transmission and farmers' response in the Czech dairy chain," Agricultural Economics, Czech Academy of Agricultural Sciences, vol. 67(5), pages 163-172.
    14. Jens-Peter Loy & Thore Holm & Carsten Steinhagen & Thomas Glauben, 2015. "Cost pass-through in differentiated product markets: a disaggregated study for milk and butter," European Review of Agricultural Economics, Oxford University Press and the European Agricultural and Applied Economics Publications Foundation, vol. 42(3), pages 441-471.
    15. Rezitis, Anthony N. & Tsionas, Mike, 2019. "Modeling asymmetric price transmission in the European food market," Economic Modelling, Elsevier, vol. 76(C), pages 216-230.
    16. Monia Ben-Kaabia & José M. Gil & Mehrez Ameur, 2005. "Vertical integration and non-linear price adjustments: The Spanish poultry sector," Agribusiness, John Wiley & Sons, Ltd., vol. 21(2), pages 253-271.
    17. El Benni, Nadja & Finger, Robert & Hediger, Werner, 2014. "Transmission of beef and veal prices in different marketing channels," 2014 International Congress, August 26-29, 2014, Ljubljana, Slovenia 182696, European Association of Agricultural Economists.
    18. Lindström, Hanna, 2021. "Price transmission for organic and conventional milk products in Sweden," Umeå Economic Studies 999, Umeå University, Department of Economics.
    19. Ben Kaabia, Monia & Gil, Jose Maria, 2005. "Asymetric Price Transmission in the Spanish Lamb Sector," 2005 International Congress, August 23-27, 2005, Copenhagen, Denmark 24631, European Association of Agricultural Economists.
    20. Mohammad Jahangir Alam & Andrew M. McKenzie & Ismat Ara Begum & Jeroen Buysse & Eric J. Wailes & Guido Huylenbroeck, 2016. "Asymmetry Price Transmission in the Deregulated Rice Markets in Bangladesh: Asymmetric Error Correction Model," Agribusiness, John Wiley & Sons, Ltd., vol. 32(4), pages 498-511, November.

    More about this item

    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:wly:agribz:v:39:y:2023:i:1:p:214-241. 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: Wiley Content Delivery (email available below). General contact details of provider: http://onlinelibrary.wiley.com/journal/10.1002/(ISSN)1520-6297 .

    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.