For my assignment, my sample dataset structure is : i (user:1-500) - j (platform=0/1) - t (time:1-24). Number of obs 23,450 (not perfectly structured)
I was going to estimate the impact using Fixed-Effects (FE) panel regression model.
If I try to use 'xtreg' : I would get an error "repeated time values within panel" when run 'xtset user time' because there are rows for users 1-500 when platform = 0 and 1 respectively. So if I run 'egen panel_id = group(user platform)' and then 'xtset panel_id time', I think this method is not right either.
I used 'reg dependent independent i.user i.time, robust' and 'reghdfe dependent independent, absorb (user time) vce (cluster user)
However, I received a comment that the panel data setup is wrong and should come up with method properly estimated using panel data.
Even when I ask ChatGPT: "reghdfe is indeed a fixed effects estimator, just implemented in a more flexible and efficient way.".
Am I missing something here?
I was going to estimate the impact using Fixed-Effects (FE) panel regression model.
If I try to use 'xtreg' : I would get an error "repeated time values within panel" when run 'xtset user time' because there are rows for users 1-500 when platform = 0 and 1 respectively. So if I run 'egen panel_id = group(user platform)' and then 'xtset panel_id time', I think this method is not right either.
I used 'reg dependent independent i.user i.time, robust' and 'reghdfe dependent independent, absorb (user time) vce (cluster user)
However, I received a comment that the panel data setup is wrong and should come up with method properly estimated using panel data.
Even when I ask ChatGPT: "reghdfe is indeed a fixed effects estimator, just implemented in a more flexible and efficient way.".
Am I missing something here?
Comment