Hi Statalist,
I just joined the community and I would like to ask a question that I couldn’t solve for my analysis.
I try to use a two way fixed effect model to see the effect of some policy on revenues of restaurants.
I have data on restaurants of different cuisines for Feb and Mar. I control for date fixed effects and cuisine fixed effects, the code is:
regress Revenue i.date i.cuisine i.cuisine#post, robust
However, I found there is a within week cyclical trend for some cuisines, so I want to control for the interaction fixed effects for (Monday to Sunday) x (cuisines), So I run
regress Revenue i.date i.cuisine i.cuisine#post i.weekday#i.cuisine, robust
however, my i.weekday#i.cuisine were all dropped because of multicollinearity, which makes sense after I pondered for a bit. So my question is, how should I control for the weekday fixed effects in this two way fixed effect model? Thanks!
Related Posts with Including additional interaction fixed effects in a two way fixed effect model
xtivreg2 with interaction between categorical var and continuous var.Dear Stata users, I am trying to analyze IV regression but xtivreg2 does not support interaction. …
How to save the value of a local in another datasetHi all I'd like to store the results of my .do file in a new dataset. For example, I have four di…
Box plot - Only lable Most extreme outliersDear Statalists, after going through several tutorials and information about box plots in Stata, I …
[HELP] Creating new variables by splitting another variableHello Statalist-- I have an appended dataset that has a variable named 'filename' which tracks the …
generate Table with Percentiles, Panel DataHello, I am working with a panel data set containing 550 district variables over 6 years. One obser…
Subscribe to:
Post Comments (Atom)
0 Response to Including additional interaction fixed effects in a two way fixed effect model
Post a Comment