cover_DP_2019-05.jpg
publiziert in: IWH Discussion Papers

flexpaneldid: A Stata Command for Causal Analysis with Varying Treatment Time and Duration

>>A completely revised version of this paper has been published as: Dettmann, Eva; Giebler, Alexander; Weyh, Antje: flexpaneldid. A Stata Toolbox for Causal Analysis with Varying Treatment Time and Duration. IWH Discussion Paper 3/2020. Halle (Saale) 2020.<< 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.

26. Februar 2019

Autoren Eva Dettmann Alexander Giebler Antje Weyh

Empfohlene Publikationen

cover_DP_2020-3.jpg

flexpaneldid: A Stata Toolbox for Causal Analysis with Varying Treatment Time and Duration

Eva Dettmann Alexander Giebler Antje Weyh

in: IWH Discussion Papers, Nr. 3, 2020

Abstract

The paper presents a modification of the matching and difference-in-differences approach of Heckman et al. (1998) for the staggered treatment adoption design and a Stata tool that implements the approach. This flexible conditional difference-in-differences approach is particularly useful for causal analysis of treatments with varying start dates and varying treatment durations. Introducing more flexibility enables the user to consider individual treatment periods for the treated observations and thus circumventing problems arising in canonical difference-in-differences approaches. The open-source flexpaneldid toolbox for Stata implements the developed approach and allows comprehensive robustness checks and quality tests. The core of the paper gives comprehensive examples to explain the use of the commands and its options on the basis of a publicly accessible data set.

Publikation lesen

Ihr Kontakt

Für Wissenschaftler/innen

Für Journalistinnen/en

Mitglied der Leibniz-Gemeinschaft LogoTotal-Equality-LogoGefördert durch das BMWK