IDEAS home Printed from https://ideas.repec.org/p/zbw/iwhdps/52019.html
   My bibliography  Save this paper

flexpaneldid: A Stata command for causal analysis with varying treatment time and duration

Author

Listed:
  • Dettmann, Eva
  • Giebler, Alexander
  • Weyh, Antje

Abstract

The paper presents a modification of the matching and difference-in-differences approach of Heckman et al. (1998) and its Stata implementation, the command flexpaneldid. The approach is particularly useful for causal analysis of treatments with varying start dates and varying treatment durations (like investment grants or other subsidy schemes). Introducing more flexibility enables the user to consider individual treatment and outcome periods for the treated observations. The flexpaneldid command for panel data implements the developed flexible difference-in-differences approach and commonly used alternatives like CEM Matching and difference-in-differences models. The novelty of this tool is an extensive data preprocessing to include time information into the matching approach and the treatment effect estimation. The core of the paper gives two comprehensive examples to explain the use of flexpaneldid and its options on the basis of a publicly accessible data set.

Suggested Citation

  • Dettmann, Eva & Giebler, Alexander & Weyh, Antje, 2019. "flexpaneldid: A Stata command for causal analysis with varying treatment time and duration," IWH Discussion Papers 5/2019, Halle Institute for Economic Research (IWH).
  • Handle: RePEc:zbw:iwhdps:52019
    as

    Download full text from publisher

    File URL: https://www.econstor.eu/bitstream/10419/193498/1/1066764190.pdf
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Heyman, Fredrik & Sjoholm, Fredrik & Tingvall, Patrik Gustavsson, 2007. "Is there really a foreign ownership wage premium? Evidence from matched employer-employee data," Journal of International Economics, Elsevier, vol. 73(2), pages 355-376, November.
    2. Richard Blundell & Monica Costa Dias, 2009. "Alternative Approaches to Evaluation in Empirical Microeconomics," Journal of Human Resources, University of Wisconsin Press, vol. 44(3).
    3. Freier, Ronny & Schumann, Mathias & Siedler, Thomas, 2015. "The earnings returns to graduating with honors — Evidence from law graduates," Labour Economics, Elsevier, vol. 34(C), pages 39-50.
    4. Marcus, Jan & Siedler, Thomas, 2015. "Reducing binge drinking? The effect of a ban on late-night off-premise alcohol sales on alcohol-related hospital stays in Germany," EconStor Open Access Articles and Book Chapters, ZBW - Leibniz Information Centre for Economics, vol. 0, pages 55-77.
    5. Annette Bergemann & Bernd Fitzenberger & Stefan Speckesser, 2009. "Evaluating the dynamic employment effects of training programs in East Germany using conditional difference-in-differences," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 24(5), pages 797-823.
    6. Matthew Blackwell & Stefano Iacus & Gary King & Giuseppe Porro, 2009. "cem: Coarsened exact matching in Stata," Stata Journal, StataCorp LP, vol. 9(4), pages 524-546, December.
    7. David H. Autor, 2003. "Outsourcing at Will: The Contribution of Unjust Dismissal Doctrine to the Growth of Employment Outsourcing," Journal of Labor Economics, University of Chicago Press, vol. 21(1), pages 1-42, January.
    8. Bernini, Cristina & Pellegrini, Guido, 2011. "How are growth and productivity in private firms affected by public subsidy? Evidence from a regional policy," Regional Science and Urban Economics, Elsevier, vol. 41(3), pages 253-265, May.
    9. Anders Gustafsson & Andreas Stephan & Alice Hallman & Nils Karlsson, 2016. "The “sugar rush” from innovation subsidies: a robust political economy perspective," Empirica, Springer;Austrian Institute for Economic Research;Austrian Economic Association, vol. 43(4), pages 729-756, November.
    10. Ho, Daniel E. & Imai, Kosuke & King, Gary & Stuart, Elizabeth A., 2007. "Matching as Nonparametric Preprocessing for Reducing Model Dependence in Parametric Causal Inference," Political Analysis, Cambridge University Press, vol. 15(3), pages 199-236, July.
    11. Jeffrey M Wooldridge, 2010. "Econometric Analysis of Cross Section and Panel Data," MIT Press Books, The MIT Press, edition 2, volume 1, number 0262232588, April.
    12. Neumark, David & Kolko, Jed, 2010. "Do enterprise zones create jobs? Evidence from California's enterprise zone program," Journal of Urban Economics, Elsevier, vol. 68(1), pages 1-19, July.
    13. Baltagi, Badi H., 2015. "The Oxford Handbook of Panel Data," OUP Catalogue, Oxford University Press, number 9780199940042.
    14. David Greenaway & Joakim Gullstrand & Richard Kneller, 2005. "Exporting May Not Always Boost Firm Productivity," Review of World Economics (Weltwirtschaftliches Archiv), Springer;Institut für Weltwirtschaft (Kiel Institute for the World Economy), vol. 141(4), pages 561-582, December.
    15. Bronzini, Raffaello & de Blasio, Guido, 2006. "Evaluating the impact of investment incentives: The case of Italy's Law 488/1992," Journal of Urban Economics, Elsevier, vol. 60(2), pages 327-349, September.
    16. Ham, John C. & Swenson, Charles & İmrohoroğlu, Ayşe & Song, Heonjae, 2011. "Government programs can improve local labor markets: Evidence from State Enterprise Zones, Federal Empowerment Zones and Federal Enterprise Community," Journal of Public Economics, Elsevier, vol. 95(7), pages 779-797.
    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. Chen, Yuquan & Fan, Shenggen & Liu, Chang & Yu, Xiaohua, 2022. "Is there a tradeoff between nature reserves and grain production in China?," Land Use Policy, Elsevier, vol. 120(C).
    2. James Dean Ward & Daniel Corral, 2023. "Resetting Prices: Estimating the Effect of Tuition Reset Policies on Institutional Finances and Enrollment," Research in Higher Education, Springer;Association for Institutional Research, vol. 64(6), pages 862-892, September.
    3. Gonçalves, S. & Rodrigues, T.P. & Chagas, A.L.S., 2020. "The impact of wind power on the Brazilian labor market," Renewable and Sustainable Energy Reviews, Elsevier, vol. 128(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. Dettmann, Eva & Giebler, Alexander & Weyh, Antje, 2020. "Flexpaneldid: A Stata toolbox for causal analysis with varying treatment time and duration," IWH Discussion Papers 3/2020, Halle Institute for Economic Research (IWH).
    2. Augusto Cerqua & Guido Pellegrini, 2013. "Beyond the SUTVA: how industrial policy evaluations change when we allow for interaction among firms," ERSA conference papers ersa13p340, European Regional Science Association.
    3. Dettmann, Eva & Weyh, Antje & Titze, Mirko, 2017. "Who benefits from GRW? Heterogeneous effects of investment subsidies in Saxony Anhalt," VfS Annual Conference 2017 (Vienna): Alternative Structures for Money and Banking 168158, Verein für Socialpolitik / German Economic Association.
    4. Augusto Cerqua & Guido Pellegrini, 2014. "Beyond the SUTVA: how policy evaluations change when we allow for interactions among firms," Working Papers 2/14, Sapienza University of Rome, DISS.
    5. Augusto Cerqua & Guido Pellegrini, 2017. "Industrial policy evaluation in the presence of spillovers," Small Business Economics, Springer, vol. 49(3), pages 671-686, October.
    6. Ramboer, Sander & Reynaerts, Jo, 2020. "Indecent proposals: Estimating the impact of regional state aid through EU guideline compliance," Regional Science and Urban Economics, Elsevier, vol. 82(C).
    7. Neumark, David & Simpson, Helen, 2015. "Place-Based Policies," Handbook of Regional and Urban Economics, in: Gilles Duranton & J. V. Henderson & William C. Strange (ed.), Handbook of Regional and Urban Economics, edition 1, volume 5, chapter 0, pages 1197-1287, Elsevier.
    8. Bernini, Cristina & Cerqua, Augusto & Pellegrini, Guido, 2017. "Public subsidies, TFP and efficiency: A tale of complex relationships," Research Policy, Elsevier, vol. 46(4), pages 751-767.
    9. Blakeslee, David & Chaurey, Ritam & Fishman, Ram & Malik, Samreen, 2018. "Structural Transformation and Spillovers from Industrial Areas," IZA Discussion Papers 11886, Institute of Labor Economics (IZA).
    10. Binkai Chen & Ming Lu & Christopher Timmins & Kuanhu Xiang, 2019. "Spatial Misallocation: Evaluating Place-Based Policies Using a Natural Experiment in China," NBER Working Papers 26148, National Bureau of Economic Research, Inc.
    11. Brachert, Matthias & Dettmann, Eva & Titze, Mirko, 2019. "The regional effects of a place-based policy – Causal evidence from Germany," Regional Science and Urban Economics, Elsevier, vol. 79(C).
    12. Alan Sage & Mike Langen & Alex van de Minne, 2023. "Where is the opportunity in opportunity zones?," Real Estate Economics, American Real Estate and Urban Economics Association, vol. 51(2), pages 338-371, March.
    13. Gobillon, Laurent & Magnac, Thierry & Selod, Harris, 2012. "Do unemployed workers benefit from enterprise zones? The French experience," Journal of Public Economics, Elsevier, vol. 96(9-10), pages 881-892.
    14. Dettmann, Eva & Weyh, Antje & Titze, Mirko, 2018. "Heterogeneous effects of investment grants - Evidence from a new measurement approach," IAB-Discussion Paper 201815, Institut für Arbeitsmarkt- und Berufsforschung (IAB), Nürnberg [Institute for Employment Research, Nuremberg, Germany].
    15. Chen Liang & Murat Tunc & Gordon Burtch, 2024. "Market Responses to Genuine Versus Strategic Generosity: An Empirical Examination of NFT Charity Fundraisers," Papers 2401.12064, arXiv.org.
    16. Dettmann, Eva & Brachert, Matthias & Titze, Mirko, 2016. "Identifying the Effects of Place-based Policies – Causal Evidence from Germany," IWH Discussion Papers 18/2016, Halle Institute for Economic Research (IWH).
    17. Cristina Fernandez & Leonardo Villar, 2017. "The Impact of Lowering the Payroll Tax on Informality in Colombia," Economía Journal, The Latin American and Caribbean Economic Association - LACEA, vol. 0(Fall 2017), pages 125-155, November.
    18. Givord, Pauline & Rathelot, Roland & Sillard, Patrick, 2013. "Place-based tax exemptions and displacement effects: An evaluation of the Zones Franches Urbaines program," Regional Science and Urban Economics, Elsevier, vol. 43(1), pages 151-163.
    19. Giuseppe Albanese & Guido de Blasio & Andrea Locatelli, 2021. "Does EU regional policy promote local TFP growth? Evidence from the Italian Mezzogiorno," Papers in Regional Science, Wiley Blackwell, vol. 100(2), pages 327-348, April.
    20. Lindgren, Charlie & Li, Yujiao & Rudholm, Niklas, 2020. "Why do firms compete on price comparison websites? The impact on productivity, profits, and wages," HFI Working Papers 14, Institute of Retail Economics (Handelns Forskningsinstitut).

    More about this item

    Keywords

    causal analysis; CEM matching; statistical distance function; conditional fixed effects difference-in-differences; nonparametric conditional difference-indifferences;
    All these keywords.

    JEL classification:

    • A11 - General Economics and Teaching - - General Economics - - - Role of Economics; Role of Economists
    • D61 - Microeconomics - - Welfare Economics - - - Allocative Efficiency; Cost-Benefit Analysis
    • H20 - Public Economics - - Taxation, Subsidies, and Revenue - - - General
    • Z0 - Other Special Topics - - General

    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:zbw:iwhdps:52019. 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: ZBW - Leibniz Information Centre for Economics (email available below). General contact details of provider: https://edirc.repec.org/data/iwhhhde.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.