[go: up one dir, main page]

IDEAS home Printed from https://ideas.repec.org/p/crs/wpaper/2019-13.html
   My bibliography  Save this paper

Dealing with the log of zero in regression models

Author

Listed:
  • Christophe BELLEGO

    (CREST; ENSAE.)

  • Louis-Daniel PAPE

    (CREST; Ecole Polytechnique.)

Abstract
Log-linear and log-log regressions are one of the most used statistical model. However, handling zeros in the dependent and independent variable has remained obscure despite the prevalence of the situation. In this paper, we discuss how to deal with this issue. We show that using Pseudo-Poisson Maximum Likelihood (PPML) is a good practice compared to other approximate solutions. We then introduce a new complementary solution to deal with zeros consisting in adding a positive value specific to each observation that avoids some numerical issues faced by the former.

Suggested Citation

  • Christophe BELLEGO & Louis-Daniel PAPE, 2019. "Dealing with the log of zero in regression models," Working Papers 2019-13, Center for Research in Economics and Statistics.
  • Handle: RePEc:crs:wpaper:2019-13
    as

    Download full text from publisher

    File URL: http://crest.science/RePEc/wpstorage/2022-08.pdf
    File Function: CREST working paper version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Keith Head & Thierry Mayer, 2019. "Brands in Motion: How Frictions Shape Multinational Production," American Economic Review, American Economic Association, vol. 109(9), pages 3073-3124, September.
    2. David McKenzie, 2017. "Identifying and Spurring High-Growth Entrepreneurship: Experimental Evidence from a Business Plan Competition," American Economic Review, American Economic Association, vol. 107(8), pages 2278-2307, August.
    3. Ravallion, Martin, 2017. "A concave log-like transformation allowing non-positive values," Economics Letters, Elsevier, vol. 161(C), pages 130-132.
    4. Rogowski, Jeannette A. & Newhouse, Joseph P., 1992. "Estimating the indirect costs of teaching," Journal of Health Economics, Elsevier, vol. 11(2), pages 153-171, August.
    5. S. R. Johnson & Gordon C. Rausser, 1971. "Effects of Misspecifications of Log-Linear Functions When Sample Values are Zero or Negative," American Journal of Agricultural Economics, Agricultural and Applied Economics Association, vol. 53(1), pages 120-124.
    6. Chiara Criscuolo & Ralf Martin & Henry G. Overman & John Van Reenen, 2019. "Some Causal Effects of an Industrial Policy," American Economic Review, American Economic Association, vol. 109(1), pages 48-85, January.
    7. Marc F. Bellemare & Casey J. Wichman, 2020. "Elasticities and the Inverse Hyperbolic Sine Transformation," Oxford Bulletin of Economics and Statistics, Department of Economics, University of Oxford, vol. 82(1), pages 50-61, February.
    8. J. M. C. Santos Silva & Silvana Tenreyro, 2006. "The Log of Gravity," The Review of Economics and Statistics, MIT Press, vol. 88(4), pages 641-658, November.
    9. Sergio Correia & Paulo Guimarães & Tom Zylkin, 2020. "Fast Poisson estimation with high-dimensional fixed effects," Stata Journal, StataCorp LP, vol. 20(1), pages 95-115, March.
    10. repec:hal:spmain:info:hdl:2441/mlkvtnbqe9pg8nsvf612mcnbs is not listed on IDEAS
    11. Gourieroux, Christian & Monfort, Alain & Trognon, Alain, 1984. "Pseudo Maximum Likelihood Methods: Applications to Poisson Models," Econometrica, Econometric Society, vol. 52(3), pages 701-720, May.
    12. David Card & Stefano DellaVigna, 2017. "What do Editors Maximize? Evidence from Four Leading Economics Journals," NBER Working Papers 23282, National Bureau of Economic Research, Inc.
    13. MaCurdy, Thomas E & Pencavel, John H, 1986. "Testing between Competing Models of Wage and Employment Determination in Unionized Markets," Journal of Political Economy, University of Chicago Press, vol. 94(3), pages 3-39, June.
    14. S. R. Johnson & Gordon C. Rausser, 1971. "Effects of Misspecifications of Log-Linear Functions When Sample Values Are Zero or Negative: Reply," American Journal of Agricultural Economics, Agricultural and Applied Economics Association, vol. 53(4), pages 673-674.
    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. Francesco Decarolis & Gaétan de Rassenfosse & Leonardo M. Giuffrida & Elisabetta Iossa & Vincenzo Mollisi & Emilio Raiteri & Giancarlo Spagnolo, 2021. "Buyers' role in innovation procurement: Evidence from US military R&D contracts," Journal of Economics & Management Strategy, Wiley Blackwell, vol. 30(4), pages 697-720, November.
    2. Brown, David P., 2022. "Socioeconomic and demographic disparities in residential battery storage adoption: Evidence from California," Energy Policy, Elsevier, vol. 164(C).
    3. Douglas L Campbell & Karsten Mau, 2021. "On “Trade Induced Technical Change: The Impact of Chinese Imports on Innovation, IT, and Productivity” [Foreign Competition and Domestic Innovation: Evidence from US Patents]," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 88(5), pages 2555-2559.
    4. Gustave Kenedi & Louis Sirugue, 2021. "The Anatomy of Intergenerational Income Mobility in France and its Spatial Variations," PSE Working Papers halshs-03455282, HAL.
    5. Gustave Kenedi & Louis Sirugue, 2021. "The Anatomy of Intergenerational Income Mobility in France and its Spatial Variations," Working Papers halshs-03455282, HAL.
    6. Ferreira, Carolina Rodrigues Corrêa & Ferreira, Mateus Moreira de Jesus, 2021. "Sanitary and Phytosanitary Measures and Their Effects on World Agricultural Exports," 2021 Conference, August 17-31, 2021, Virtual 315137, International Association of Agricultural Economists.
    7. Piaggio, Matías, 2021. "The value of public urban green spaces: Measuring the effects of proximity to and size of urban green spaces on housing market values in San José, Costa Rica," Land Use Policy, Elsevier, vol. 109(C).
    8. Douglas L. Campbell & Karsten Mau, 2020. "Trade Induced Technological Change: Did Chinese Competition Really Increase European Innovation?," Working Papers w0262, New Economic School (NES).
    9. Khumbo Kalulu & Bernard Thole & Theresa Mkandawire & Grant Kululanga, 2021. "Resource-Efficient Characterisation of Pit Latrine Sludge for Use in Agriculture," Sustainability, MDPI, vol. 13(9), pages 1-16, April.

    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. Holger Breinlich & Valentina Corradi & Nadia Rocha & Michele Ruta & Joao M.C. Santos Silva & Tom Zylkin, 2021. "Machine Learning in International Trade Research ?- Evaluating the Impact of Trade Agreements," School of Economics Discussion Papers 0521, School of Economics, University of Surrey.
    2. Carter, Colin A. & Steinbach, Sandro & Zhuang, Xiting, 2022. "Global Shipping Container Disruptions and U.S. Agricultural Exports," Working Papers 320397, International Agricultural Trade Research Consortium.
    3. Mahdi Ghodsi, 2021. "Impact of Technical Barriers to Trade on the Trade in Goods in the Information and Communications Technology Sector: Differentiating by Aim of the Regulatory Measure," wiiw Working Papers 208, The Vienna Institute for International Economic Studies, wiiw.
    4. Elina Bryngemark & Patrik Söderholm, 2022. "Green industrial policies and domestic production of biofuels: an econometric analysis of OECD countries," Environmental Economics and Policy Studies, Springer;Society for Environmental Economics and Policy Studies - SEEPS, vol. 24(2), pages 225-261, April.
    5. Johannes Buggle & Thierry Mayer & Seyhun Orcan Sakalli & Mathias Thoenig, 2023. "The Refugee’s Dilemma: Evidence from Jewish Migration out of Nazi Germany," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 138(2), pages 1273-1345.
    6. Mahdi Ghodsi & Robert Stehrer, 2022. "Trade policy and global value chains: tariffs versus non-tariff measures," Review of World Economics (Weltwirtschaftliches Archiv), Springer;Institut für Weltwirtschaft (Kiel Institute for the World Economy), vol. 158(3), pages 887-916, August.
    7. J. M. C. Santos Silva & Silvana Tenreyro, 2022. "The Log of Gravity at 15," Portuguese Economic Journal, Springer;Instituto Superior de Economia e Gestao, vol. 21(3), pages 423-437, September.
    8. Natalie Chen & Dennis Novy, 2022. "Gravity and Heterogeneous Trade Cost Elasticities," The Economic Journal, Royal Economic Society, vol. 132(644), pages 1349-1377.
    9. Luisa Kinzius & Alexander Sandkamp & Erdal Yalcin, 2019. "Trade protection and the role of non-tariff barriers," Review of World Economics (Weltwirtschaftliches Archiv), Springer;Institut für Weltwirtschaft (Kiel Institute for the World Economy), vol. 155(4), pages 603-643, November.
    10. Claire Brunel & Thomas Zylkin, 2022. "Do cross‐border patents promote trade?," Canadian Journal of Economics/Revue canadienne d'économique, John Wiley & Sons, vol. 55(1), pages 379-418, February.
    11. Weidner, Martin & Zylkin, Thomas, 2021. "Bias and consistency in three-way gravity models," Journal of International Economics, Elsevier, vol. 132(C).
    12. Jordi Ripollés & Inmaculada Martínez-Zarzoso, 2021. "African Asylum Seekers in Europe: The Interplay between Foreign Aid and Governance in Origin Countries," Open Economies Review, Springer, vol. 32(5), pages 829-865, November.
    13. John Cockburn, 2002. "Income Contributions of Child Work in Rural Ethiopia," CSAE Working Paper Series 2002-12, Centre for the Study of African Economies, University of Oxford.
    14. Bailey, Michael & Gupta, Abhinav & Hillenbrand, Sebastian & Kuchler, Theresa & Richmond, Robert & Stroebel, Johannes, 2021. "International trade and social connectedness," Journal of International Economics, Elsevier, vol. 129(C).
    15. Delatte, Anne-Laure & Guillin, Amelie & Vicard, Vincent, 2022. "Grey zones in global finance: The distorted geography of cross-border investments," Journal of International Money and Finance, Elsevier, vol. 120(C).
    16. Theresa Kuchler & Yan Li & Lin Peng & Johannes Stroebel & Dexin Zhou, 2022. "Social Proximity to Capital: Implications for Investors and Firms," The Review of Financial Studies, Society for Financial Studies, vol. 35(6), pages 2743-2789.
    17. Bertoli, Simone & Moraga, Jesús Fernández-Huertas & Guichard, Lucas, 2020. "Rational inattention and migration decisions," Journal of International Economics, Elsevier, vol. 126(C).
    18. Behn, Markus & Schramm, Alexander, 2020. "The impact of G-SIB identification on bank lending: evidence from syndicated loans," Working Paper Series 2479, European Central Bank.
    19. Hendrik KRUSE & Thais NUNEZ-ROCHA & Camélia TURCU, 2019. "Infrastructure aid for resource trade? The crossroads of strategy and sustainable development," LEO Working Papers / DR LEO 2728, Orleans Economics Laboratory / Laboratoire d'Economie d'Orleans (LEO), University of Orleans.
    20. Delgadillo Chavarria, Carlos Bruno, 2019. "El Efecto de la Mediterraneidad sobre el Flujo Comercial Internacional: Evidencia Empírica Internacional y para América del Sur (1990-2016) [The Effect of Landlocked Country Status on International," MPRA Paper 96294, University Library of Munich, Germany, revised 10 Sep 2019.

    More about this item

    Keywords

    Log(0); Log of zero; Log-log; Bias; Elasticity; PPML;
    All these keywords.

    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:crs:wpaper:2019-13. 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: Secretariat General (email available below). General contact details of provider: https://edirc.repec.org/data/crestfr.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.