IDEAS home Printed from https://ideas.repec.org/p/ias/cpaper/20-wp607.html
   My bibliography  Save this paper

China's Missing Pigs: Correcting China's Hog Inventory Data Using a Machine Learning Approach

Author

Abstract

Small sample size often limits forecasting tasks such as the prediction of production, yield, and consumption of agricultural products. Machine learning offers an appealing alternative to traditional forecasting methods. In particular, Support Vector Regression has superior forecasting performance in small sample applications. In this article, we introduce Support Vector Regression via an application to China's hog market. Since 2014, China's hog inventory data has experienced an abnormal decline that contradicts price and consumption trends. We use Support Vector Regression to predict the true inventory based on the price-inventory relationship before 2014. We show that, in this application with a small sample size, Support Vector Regression out-performs neural networks, random forest, and linear regression. Predicted hog inventory decreased by 3.9% from November 2013 to September 2017, instead of the 25.4% decrease in the reported data.

Suggested Citation

  • Yongtong Shao & Minghao Li & Dermot J. Hayes & Wendong Zhang & Tao Xiong & Wei Xie, 2020. "China's Missing Pigs: Correcting China's Hog Inventory Data Using a Machine Learning Approach," Center for Agricultural and Rural Development (CARD) Publications 20-wp607, Center for Agricultural and Rural Development (CARD) at Iowa State University.
  • Handle: RePEc:ias:cpaper:20-wp607
    as

    Download full text from publisher

    File URL: https://www.card.iastate.edu/products/publications/pdf/20wp607.pdf
    File Function: Full Text
    Download Restriction: no

    File URL: https://www.card.iastate.edu/products/publications/synopsis/?p=1309
    File Function: Online Synopsis
    Download Restriction: no
    ---><---

    Other versions of this item:

    References listed on IDEAS

    as
    1. Mirakyan, Atom & Meyer-Renschhausen, Martin & Koch, Andreas, 2017. "Composite forecasting approach, application for next-day electricity price forecasting," Energy Economics, Elsevier, vol. 66(C), pages 228-237.
    2. Li, Der-Chiang & Chang, Che-Jung & Chen, Chien-Chih & Chen, Wen-Chih, 2012. "Forecasting short-term electricity consumption using the adaptive grey-based approach—An Asian case," Omega, Elsevier, vol. 40(6), pages 767-773.
    3. Joshua D. Woodard, 2016. "Data Science and Management for Large Scale Empirical Applications in Agricultural and Applied Economics Research," Applied Economic Perspectives and Policy, Agricultural and Applied Economics Association, vol. 38(3), pages 373-388.
    4. Aaron Chalfin & Oren Danieli & Andrew Hillis & Zubin Jelveh & Michael Luca & Jens Ludwig & Sendhil Mullainathan, 2016. "Productivity and Selection of Human Capital with Machine Learning," American Economic Review, American Economic Association, vol. 106(5), pages 124-127, May.
    5. Ajay Agrawal & Joshua Gans & Avi Goldfarb, 2019. "The Economics of Artificial Intelligence: An Agenda," NBER Books, National Bureau of Economic Research, Inc, number agra-1.
    6. Frank Fuller & Dermot Hayes & Darnell Smith, 2000. "Reconciling Chinese Meat Production and Consumption Data," Economic Development and Cultural Change, University of Chicago Press, vol. 49(1), pages 23-44.
    7. Nazemi, Abdolreza & Heidenreich, Konstantin & Fabozzi, Frank J., 2018. "Improving corporate bond recovery rate prediction using multi-factor support vector regressions," European Journal of Operational Research, Elsevier, vol. 271(2), pages 664-675.
    8. Peysakhovich, Alexander & Naecker, Jeffrey, 2017. "Using methods from machine learning to evaluate behavioral models of choice under risk and ambiguity," Journal of Economic Behavior & Organization, Elsevier, vol. 133(C), pages 373-384.
    9. Allan N. Rae & Hengyun Ma & Jikun Huang & Scott Rozelle, 2006. "Livestock in China: Commodity-Specific Total Factor Productivity Decomposition Using New Panel Data," American Journal of Agricultural Economics, Agricultural and Applied Economics Association, vol. 88(3), pages 680-695.
    10. Hahn, Heiko & Meyer-Nieberg, Silja & Pickl, Stefan, 2009. "Electric load forecasting methods: Tools for decision making," European Journal of Operational Research, Elsevier, vol. 199(3), pages 902-907, December.
    11. Dharmasena, Senarath & Bessler, David A. & Capps, Oral, 2016. "Food environment in the United States as a complex economic system," Food Policy, Elsevier, vol. 61(C), pages 163-175.
    12. Susan Athey & Guido W. Imbens, 2019. "Machine Learning Methods That Economists Should Know About," Annual Review of Economics, Annual Reviews, vol. 11(1), pages 685-725, August.
    13. Lohmar, Bryan, 2015. "Will China Import More Corn?," Choices: The Magazine of Food, Farm, and Resource Issues, Agricultural and Applied Economics Association, vol. 30(2), pages 1-7.
    14. Ghoddusi, Hamed & Creamer, Germán G. & Rafizadeh, Nima, 2019. "Machine learning in energy economics and finance: A review," Energy Economics, Elsevier, vol. 81(C), pages 709-727.
    15. Trey Malone & Dustin Chambers, 2017. "Quantifying Federal Regulatory Burdens in the Beer Value Chain," Agribusiness, John Wiley & Sons, Ltd., vol. 33(3), pages 466-471, June.
    16. Rae, Allan N. & Ma, H. & Huang, J. & Rozelle, Scott, 2006. "AJAE Appendix: Livestock in China: Commodity-specific Total Factor Productivity Decomposition Using New Panel Data," American Journal of Agricultural Economics APPENDICES, Agricultural and Applied Economics Association, vol. 88(3), pages 1-64, August.
    17. Terry L. Kastens & Allen M. Featherstone, 1996. "Feedforward Backpropagation Neural Networks in Prediction of Farmer Risk Preferences," American Journal of Agricultural Economics, Agricultural and Applied Economics Association, vol. 78(2), pages 400-415.
    18. Andrews, Donald W K, 1993. "Tests for Parameter Instability and Structural Change with Unknown Change Point," Econometrica, Econometric Society, vol. 61(4), pages 821-856, July.
    19. Hugo Storm & Kathy Baylis & Thomas Heckelei, 2020. "Machine learning in agricultural and applied economics," European Review of Agricultural Economics, Oxford University Press and the European Agricultural and Applied Economics Publications Foundation, vol. 47(3), pages 849-892.
    20. Patrick Bajari & Denis Nekipelov & Stephen P. Ryan & Miaoyu Yang, 2015. "Machine Learning Methods for Demand Estimation," American Economic Review, American Economic Association, vol. 105(5), pages 481-485, May.
    21. Celma O. Ribeiro & Sydnei M. Oliveira, 2011. "A hybrid commodity price‐forecasting model applied to the sugar–alcohol sector," Australian Journal of Agricultural and Resource Economics, Australian Agricultural and Resource Economics Society, vol. 55(2), pages 180-198, April.
    22. Ma, Hengyun & Huang, Jikun & Rozelle, Scott, 2004. "Reassessing China's Livestock Statistics: An Analysis of Discrepancies and the Creation of New Data Series," Economic Development and Cultural Change, University of Chicago Press, vol. 52(2), pages 445-473, January.
    23. Matthew T. Holt & Lee A. Craig, 2006. "Nonlinear Dynamics and Structural Change in the U.S. Hog—Corn Cycle: A Time-Varying STAR Approach," American Journal of Agricultural Economics, Agricultural and Applied Economics Association, vol. 88(1), pages 215-233.
    24. Dermot J. Hayes & Andrew Schmitz, 1987. "Hog Cycles and Countercyclical Production Response," American Journal of Agricultural Economics, Agricultural and Applied Economics Association, vol. 69(4), pages 762-770.
    25. Lins, Isis Didier & Droguett, Enrique López & Moura, Márcio das Chagas & Zio, Enrico & Jacinto, Carlos Magno, 2015. "Computing confidence and prediction intervals of industrial equipment degradation by bootstrapped support vector regression," Reliability Engineering and System Safety, Elsevier, vol. 137(C), pages 120-128.
    26. Sendhil Mullainathan & Jann Spiess, 2017. "Machine Learning: An Applied Econometric Approach," Journal of Economic Perspectives, American Economic Association, vol. 31(2), pages 87-106, Spring.
    27. Linden McBride & Austin Nichols, 2018. "Retooling Poverty Targeting Using Out-of-Sample Validation and Machine Learning," The World Bank Economic Review, World Bank, vol. 32(3), pages 531-550.
    28. Yu, Xiaohua & Abler, David, 2014. "Where have all the pigs gone? Inconsistencies in pork statistics in China," China Economic Review, Elsevier, vol. 30(C), pages 469-484.
    29. Songqing Jin & Hengyun Ma & Jikun Huang & Ruifa Hu & Scott Rozelle, 2010. "Productivity, efficiency and technical change: measuring the performance of China’s transforming agriculture," Journal of Productivity Analysis, Springer, vol. 33(3), pages 191-207, June.
    30. Agrawal, Ajay & Gans, Joshua & Goldfarb, Avi (ed.), 2019. "The Economics of Artificial Intelligence," National Bureau of Economic Research Books, University of Chicago Press, number 9780226613338, September.
    31. Athey, Susan & Imbens, Guido W., 2019. "Machine Learning Methods Economists Should Know About," Research Papers 3776, Stanford University, Graduate School of Business.
    32. Ribeiro, Celma O. & Oliveira, Sydnei M., 2011. "A hybrid commodity price-forecasting model applied to the sugar–alcohol sector," Australian Journal of Agricultural and Resource Economics, Australian Agricultural and Resource Economics Society, vol. 55(2), pages 1-19.
    33. Sun Ling Wang & Francis Tuan & Fred Gale & Agapi Somwaru & James Hansen, 2013. "China's regional agricultural productivity growth in 1985–2007: A multilateral comparison," Agricultural Economics, International Association of Agricultural Economists, vol. 44(2), pages 241-251, March.
    34. Jean-Paul Chavas & Matthew T. Holt, 1991. "On Nonlinear Dynamics: The Case of the Pork Cycle," American Journal of Agricultural Economics, Agricultural and Applied Economics Association, vol. 73(3), pages 819-828.
    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. Xiong, Tao & Zhang, Wendong & Chen, Chen-Ti, 2021. "A Fortune from misfortune: Evidence from hog firms’ stock price responses to China’s African Swine Fever outbreaks," Food Policy, Elsevier, vol. 105(C).

    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. Tatiana de Macedo Nogueira Lima, 2022. "Documento de Trabalho 03/2022 - Aprendizado de máquina e antitruste," Documentos de Trabalho 2022030, Conselho Administrativo de Defesa Econômica (Cade), Departamento de Estudos Econômicos.
    2. Andres, Antonio Rodriguez & Otero, Abraham & Amavilah, Voxi Heinrich, 2021. "Using Deep Learning Neural Networks to Predict the Knowledge Economy Index for Developing and Emerging Economies," MPRA Paper 109137, University Library of Munich, Germany.
    3. Akash Malhotra, 2021. "A hybrid econometric–machine learning approach for relative importance analysis: prioritizing food policy," Eurasian Economic Review, Springer;Eurasia Business and Economics Society, vol. 11(3), pages 549-581, September.
    4. Combes, Pierre-Philippe & Gobillon, Laurent & Zylberberg, Yanos, 2022. "Urban economics in a historical perspective: Recovering data with machine learning," Regional Science and Urban Economics, Elsevier, vol. 94(C).
    5. Byron Botha & Rulof Burger & Kevin Kotzé & Neil Rankin & Daan Steenkamp, 2023. "Big data forecasting of South African inflation," Empirical Economics, Springer, vol. 65(1), pages 149-188, July.
    6. Tian, Xu & Sun, Feifei & Zhou, Yingheng, 2015. "Technical Efficiency and Its Determinants in China's Hog Production," 2015 Conference, August 9-14, 2015, Milan, Italy 212718, International Association of Agricultural Economists.
    7. de Blasio, Guido & D'Ignazio, Alessio & Letta, Marco, 2022. "Gotham city. Predicting ‘corrupted’ municipalities with machine learning," Technological Forecasting and Social Change, Elsevier, vol. 184(C).
    8. Liyang Tang, 2020. "Application of Nonlinear Autoregressive with Exogenous Input (NARX) neural network in macroeconomic forecasting, national goal setting and global competitiveness assessment," Papers 2005.08735, arXiv.org.
    9. Feras A. Batarseh & Munisamy Gopinath & Anderson Monken & Zhengrong Gu, 2021. "Public Policymaking for International Agricultural Trade using Association Rules and Ensemble Machine Learning," Papers 2111.07508, arXiv.org.
    10. Guido de Blasio & Alessio D'Ignazio & Marco Letta, 2020. "Predicting Corruption Crimes with Machine Learning. A Study for the Italian Municipalities," Working Papers 16/20, Sapienza University of Rome, DISS.
    11. Cockx, Bart & Lechner, Michael & Bollens, Joost, 2023. "Priority to unemployed immigrants? A causal machine learning evaluation of training in Belgium," Labour Economics, Elsevier, vol. 80(C).
    12. Filmer,Deon P. & Nahata,Vatsal & Sabarwal,Shwetlena, 2021. "Preparation, Practice, and Beliefs : A Machine Learning Approach to Understanding Teacher Effectiveness," Policy Research Working Paper Series 9847, The World Bank.
    13. Nir Chemaya & Daniel Martin, 2023. "Perceptions and Detection of AI Use in Manuscript Preparation for Academic Journals," Papers 2311.14720, arXiv.org, revised Jan 2024.
    14. Dario Sansone & Anna Zhu, 2023. "Using Machine Learning to Create an Early Warning System for Welfare Recipients," Oxford Bulletin of Economics and Statistics, Department of Economics, University of Oxford, vol. 85(5), pages 959-992, October.
    15. António Bento Caleiro, 2021. "Learning to Classify the Consumer Confidence Indicator (in Portugal)," Economies, MDPI, vol. 9(3), pages 1-12, September.
    16. Falco J. Bargagli Stoffi & Kenneth De Beckker & Joana E. Maldonado & Kristof De Witte, 2021. "Assessing Sensitivity of Machine Learning Predictions.A Novel Toolbox with an Application to Financial Literacy," Papers 2102.04382, arXiv.org.
    17. Raval, Devesh & Rosenbaum, Ted & Wilson, Nathan E., 2021. "How do machine learning algorithms perform in predicting hospital choices? evidence from changing environments," Journal of Health Economics, Elsevier, vol. 78(C).
    18. Steve J. Bickley & Ho Fai Chan & Benno Torgler, 2022. "Artificial intelligence in the field of economics," Scientometrics, Springer;Akadémiai Kiadó, vol. 127(4), pages 2055-2084, April.
    19. Delprato, Marcos & Frola, Alessia & Antequera, Germán, 2022. "Indigenous and non-Indigenous proficiency gaps for out-of-school and in-school populations: A machine learning approach," International Journal of Educational Development, Elsevier, vol. 93(C).
    20. Alessandra Garbero & Marco Letta, 2022. "Predicting household resilience with machine learning: preliminary cross-country tests," Empirical Economics, Springer, vol. 63(4), pages 2057-2070, October.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    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:ias:cpaper:20-wp607. 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: the person in charge (email available below). General contact details of provider: https://edirc.repec.org/data/caiasus.html .

    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.