I am currently writing my master thesis, where I analyze the effect of hurricanes on the stock market. I have an unbalanced panel dataset with stock returns over several days prior to and after each hurricane over a time frame of several years. I created a dummy variable "hurricane" taking the value 1 if the stock is affected that day by a hurricane, 0 otherwise. I included time-fixed as well as firm-fixed effects and clustered the standard error on firm-level. I have run the following regression as a baseline model:
xtreg RET i.hurricane i.date, fe vce(cluster PERMNO)
Some stocks are never affected, whereas others are affected once or even multiple times. The dummy is intermittent (switches "on and off")
Question:
My understanding is, that this variable can be seen as the interaction term post*treated in the diff-in-diff model, is that correct? Is the TWFE model equivalent to the generalized DID?
Any help would be highly appreciated!! Have a great NYE!
Related Posts with Difference between DiD and two-way fixed effects model
Adding suffix or prefix to each element of a global varlistHello, I have a core set of variables and for each of them I generated several secondary variables.…
Create a rate variable for population as a whole with sample weightsDear Stata users, I am new to stata and am working on a dataset with 20 mio. people for two years w…
Changing Label Code in LabelHey everyone, I have received a data set where the sender incorrectly assigned the wrong codes for …
Help via mergeI have 2 datasets: HEIGHT AGE SCORE x z x y HEIGHT AGE Controls x z x x y x Ho…
Mean difference testhello there , I have an unbalanced panel data of banks comprising of 21 public,42 foreign and 21 pri…
Subscribe to:
Post Comments (Atom)
0 Response to Difference between DiD and two-way fixed effects model
Post a Comment