Hello,
I am assessing the impact of a reform that increases the number of pharmacies that can be opened in a municipality on firm's revenues from sales.
I am working with firm-level longitudinal data from 2011 to 2020, containing economic information of pharmacies in Italy. Since the opening of new pharmacies is decided by the local administration, then some municipalities started to open new pharmacies in 2016, others in 2017, others in 2018, others in 2019 and others in 2020. For this reason I created a treatment variable that is 1 if a firm is in a municipality when it open at least 1 new pharmacy and 0 otherwise.
The problem is that the treatment period is different for any firm , because some are treated by the 2016 onwards, others from the 2017 onwards...
So I have to decide which difference in differences estimation method I will use because I have a pre-treatment period (from 2011 to 2016) but I don't have a post period (because even in the treated municipalities new pharmacies continue to be opened) and the lenght of the treatment period is different for any municipality and then for any firm in my dataset.
At the beginning I tried xtdidregress but then I thought that maybe is not the right choice and I started to think about flexpaneldid but I am not sure yet. Could you help me ?
Thank you in advance for your help.
Francesco
I am assessing the impact of a reform that increases the number of pharmacies that can be opened in a municipality on firm's revenues from sales.
I am working with firm-level longitudinal data from 2011 to 2020, containing economic information of pharmacies in Italy. Since the opening of new pharmacies is decided by the local administration, then some municipalities started to open new pharmacies in 2016, others in 2017, others in 2018, others in 2019 and others in 2020. For this reason I created a treatment variable that is 1 if a firm is in a municipality when it open at least 1 new pharmacy and 0 otherwise.
The problem is that the treatment period is different for any firm , because some are treated by the 2016 onwards, others from the 2017 onwards...
So I have to decide which difference in differences estimation method I will use because I have a pre-treatment period (from 2011 to 2016) but I don't have a post period (because even in the treated municipalities new pharmacies continue to be opened) and the lenght of the treatment period is different for any municipality and then for any firm in my dataset.
At the beginning I tried xtdidregress but then I thought that maybe is not the right choice and I started to think about flexpaneldid but I am not sure yet. Could you help me ?
Thank you in advance for your help.
Francesco

Comment