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
Find corresponding X for a threshold of Y in estimated modelDear Statalist, I have estimated a model like this: elec= -12.83927*ldisp + .7345735*ldisp2 + (oth…
Modeling Time in the Discrete Time Analysis using Left-truncated DataI am doing multiple-spell, discrete-time analysis to examine factors shaping time to exiting a rente…
Modeling Time in the Discrete Time Analysis using Left-truncated DataI am doing multiple-spell, discrete-time analysis to examine factors shaping time to exiting a rente…
STATA MP version?Dear STATA community, I am facing an issue and I was hoping that some of you might share ideas or e…
Problem with 95% Conf. intervalHi All, I am trying to calculate the proportion of two specific variables and compare the differenc…
Subscribe to:
Post Comments (Atom)
0 Response to Difference between DiD and two-way fixed effects model
Post a Comment