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
How to interpret quadratic interaction in linear regression?In my linear regression, I am trying to see if there's an interaction between a categorical variable…
survival analysis results - increase decimal placesHi all I was wondering if there is a way to increase the number of decimal places reported in survi…
Generalized ordered logit model and clarification about thresholdsHi, I found a paper that estimates a generalized ordered logit model. The dependent variable is wea…
k-mean clustering using existing similarity matrixI have a dataset of workers, and I want to divide them into clusters based on some observables, one …
XtsccDears, I have question regarding XTSCC. As I read this can be used to deal with cross-section depen…
Subscribe to:
Post Comments (Atom)
0 Response to Difference between DiD and two-way fixed effects model
Post a Comment