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)
ranksum "no observation"Hi everybody, I have an issue with Stata. I am new on Stata. I want to perform Mann-Withney betwe…
Bar graph - restricting the Y axisI created the below marginsplot graphs and restricted the Y axis so that the variation between the g…
Quantile regression coefficient valueHi all, I have run quantile regression model for my analysis (My dependent variable is z score ) an…
parallel trend assumptionDear Statalists, I have a quick question, please. I have an unbalanced panel dataset over a period f…
Geonear commandFirst off, it is not possible to use dataex to describe my current dataset since there is a data per…
Subscribe to:
Post Comments (Atom)
0 Response to xtreg with fe - cluster by time (nesting error)
Post a Comment