Hi,
I want to set up a difference-in-difference regression to analyze the effect of top 20% ESG-rated firms on stock performance in different time-frames during the COVID-19 pandemic. However, I am new at regression models and Stata and hence have some questions.
I try to set up an extended regression-function based on a model used in Albuqerque et. al (2020). This is the article https://papers.ssrn.com/sol3/papers....act_id=3583611
Thus, I want to set up the following regression:
πππ‘=πΎπ+ππ‘+πreCrashπ‘+Crashπ‘+πostCrashπ‘+πΏ1(ππΓπreCra shπ‘)+πΏ2(ππΓCrashπ‘)+πΏ3(ππΓPostCrashπ‘)+πππ‘,
where stock performance (return) is observed for firm π on day π‘ from January 2020 till April 2020. The parameters πΎπ and ππ‘ denote fixed effects for firms and days, respectively. ππ is a treatment dummy which equals 1 for firm π if it is top 20% ESG firm, 0 otherwise.
I have the following questions:
1) How do you set up the regression in Stata? Right now I have made columns indicating for each of my three periods: "Pre", "Crash" & "Recovery" (i.e., if not included in specific period = 0, if included =1. These are not overlapping. Thereby, there will always only be one 1 horizontally). First, I have used xtset to set dates and company number. Second, I have defined each of the three difference-in-difference by for example "gen did0 = Top20_ESG*Pre". Next, I have used xtreg for return by applying the three different periods and the difference-in-differences: "xtreg Return Pre Crash Recovery Top20_ESG did0 did did1". Should Top20_ESG be included as an independent variable?
When I run the regression I get really low t-values (high p-values).
2) When I apply the fixed effect, I do it by adding ",fe" in the end. However, it says that "Top20_ESG omitted because of collinearity". Why does this happen? Should it be excluded? And does it automatically both apply it for the firm and day fixed effects?
3) Would it make sense to include control variables such as firm-specific measures, e.g., size, leverage etc.?
4) Could industry be applied/controlled for? So that the effect would not influence the results.
Thank you so much in advance! It will be really appreciated for any help on one or more of the above-stated questions.
Best,
Guest
I want to set up a difference-in-difference regression to analyze the effect of top 20% ESG-rated firms on stock performance in different time-frames during the COVID-19 pandemic. However, I am new at regression models and Stata and hence have some questions.
I try to set up an extended regression-function based on a model used in Albuqerque et. al (2020). This is the article https://papers.ssrn.com/sol3/papers....act_id=3583611
Thus, I want to set up the following regression:
πππ‘=πΎπ+ππ‘+πreCrashπ‘+Crashπ‘+πostCrashπ‘+πΏ1(ππΓπreCra shπ‘)+πΏ2(ππΓCrashπ‘)+πΏ3(ππΓPostCrashπ‘)+πππ‘,
where stock performance (return) is observed for firm π on day π‘ from January 2020 till April 2020. The parameters πΎπ and ππ‘ denote fixed effects for firms and days, respectively. ππ is a treatment dummy which equals 1 for firm π if it is top 20% ESG firm, 0 otherwise.
I have the following questions:
1) How do you set up the regression in Stata? Right now I have made columns indicating for each of my three periods: "Pre", "Crash" & "Recovery" (i.e., if not included in specific period = 0, if included =1. These are not overlapping. Thereby, there will always only be one 1 horizontally). First, I have used xtset to set dates and company number. Second, I have defined each of the three difference-in-difference by for example "gen did0 = Top20_ESG*Pre". Next, I have used xtreg for return by applying the three different periods and the difference-in-differences: "xtreg Return Pre Crash Recovery Top20_ESG did0 did did1". Should Top20_ESG be included as an independent variable?
When I run the regression I get really low t-values (high p-values).
2) When I apply the fixed effect, I do it by adding ",fe" in the end. However, it says that "Top20_ESG omitted because of collinearity". Why does this happen? Should it be excluded? And does it automatically both apply it for the firm and day fixed effects?
3) Would it make sense to include control variables such as firm-specific measures, e.g., size, leverage etc.?
4) Could industry be applied/controlled for? So that the effect would not influence the results.
Thank you so much in advance! It will be really appreciated for any help on one or more of the above-stated questions.
Best,
Guest
Comment