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
reghdfe dkraayI am having trouble with the syntax for reghdfe. I would like to run a regression using reghdfe that…
Poisson with Robust SE showing totally different results from Log-OLS and NBHi, This is the first time I post question here. I've read pretty much all the posts on Poisson reg…
Generate a variable that counts ifHi all, my dataset looks something like this newid time_1 time_2 time_3 time_4 time_5 time_6 time_…
_all: in mixed models: What if it is followed by a continuous variable without the "R." part?Dear Statalist, I am trying to better understand how Stata deals with the _all: option in mixed/xtm…
Ranking/categorizing firms based on the value of a variable in a specific yearHi I am working with a panel data set with c300 firms from years 2008 to 2014, with several firm-le…
Subscribe to:
Post Comments (Atom)
0 Response to Including additional interaction fixed effects in a two way fixed effect model
Post a Comment