Hi,
I have a balanced panel with a firmid variable and a time variable. I want to run a regression with firm fixed effects and then cluster standard errors by time.
When I run:
xtreg dep indep, fe vce(cluster time)
I get the error "panels are not nested within clusters".
Most comments on the forum re: this error seem to be when there is a sub category of firmid or geography id. Can anyone help with simple firmid and time panel?
Thanks!
Related Posts with xtreg with fe - cluster by time (nesting error)
Complex survey settingsHi, I am trying to set-up a complex survey data set in Stata and Mplus so that they have the same s…
Comparison of predicted values after OLS regressionDear all, I am interested in predicted values after an OLS regression. Moreover, I am curious how t…
Superscript and subscriptDear Stata users, I have a variable with both superscript and subscript. When I wrote both superscr…
'No observations' errorDear all, I'm trying to conduct a unit root test to my variables using the following code: Code: …
wbopendata Multiple IndicatorsHi All, I am currently trying to download multiple indicators onto STATA from wbopendata, Currently…
Subscribe to:
Post Comments (Atom)
0 Response to xtreg with fe - cluster by time (nesting error)
Post a Comment