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. 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.
    2. 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).
    3. repec:aph:ajpbhl:10.2105/ajph.2016.303647_1 is not listed on IDEAS
    4. 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.
    5. 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.
    6. 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.
    7. Sam Peltzman, 2000. "Prices Rise Faster than They Fall," Journal of Political Economy, University of Chicago Press, vol. 108(3), pages 466-502, June.
    8. 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).
    9. 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.
    10. Roman Mylostyvyi & Olexandr Chernenko, 2019. "Correlations between Environmental Factors and Milk Production of Holstein Cows," Data, MDPI, vol. 4(3), pages 1-8, July.
    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. Hakan İnaç, 2023. "Micro-Mobility Sharing System Accident Case Analysis by Statistical Machine Learning Algorithms," Sustainability, MDPI, vol. 15(3), pages 1-31, January.
    4. 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.

    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. 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.
    5. 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.
    6. 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.
    7. 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.
    8. 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.
    9. 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.
    10. Lindström, Hanna, 2021. "Price transmission for organic and conventional milk products in Sweden," Umeå Economic Studies 999, Umeå University, Department of Economics.
    11. 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.
    12. Bittmann, Thomas & Holzer, Patrick & Loy, Jens-Peter, 2016. "Seasonal Cost Pass-Through In The German Milk Market," 56th Annual Conference, Bonn, Germany, September 28-30, 2016 244779, German Association of Agricultural Economists (GEWISOLA).
    13. Rosa, Franco & Weaver, Robert D. & Vasciaveo, Michela, 2015. "Structural Changes and Dairy Chain Efficiency in Italy," International Journal on Food System Dynamics, International Center for Management, Communication, and Research, vol. 6(3), pages 1-21, July.
    14. Daniele Cavicchioli, 2018. "Detecting Market Power Along Food Supply Chains: Evidence and Methodological Insights from the Fluid Milk Sector in Italy," Agriculture, MDPI, vol. 8(12), pages 1-22, December.
    15. 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.
    16. Rizwan Abbas & Gehad Abdullah Amran & Irshad Hussain & Shengjun Ma, 2022. "A Soft Computing View for the Scientific Categorization of Vegetable Supply Chain Issues," Logistics, MDPI, vol. 6(3), pages 1-17, June.
    17. Antonioli, Federico & Santeramo, Fabio, 2017. "Vertical Price Transmission in Milk Supply Chain: Market Changes and Asymmetric Dynamics," 2017 Sixth AIEAA Conference, June 15-16, Piacenza, Italy 261256, Italian Association of Agricultural and Applied Economics (AIEAA).
    18. Najmeh Kamyabi & Benaissa Chidmi, 2023. "Asymmetric Price Transmission between Crude Oil and the US Gasoline Market," JRFM, MDPI, vol. 16(7), pages 1-11, July.
    19. Shi, Wenming & Wang, Ganggang & Zhao, Xu & Feng, Xuehao & Wu, Jun, 2018. "Price determination in the electrolytic aluminum industry: The role of electricity prices," Resources Policy, Elsevier, vol. 59(C), pages 274-281.
    20. Lodovico Muratori, 2016. "Price Gap along the Ugandan Coffee Value Chain," Working Papers 1/16, Sapienza University of Rome, DISS.

    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.