Dearest users
I am working on a panel data set analysis. In essence I observe individuals over time and it is more than reasonable to assume that observations of
the same individual are correlated over time. (i.e. wage of 2015 is a predictor for wage in 2016)
Now my problem is that when I do manage to cluster on ID-level without receiving the "Panels are not nested within cluster" error, stata ommits
some of my central variables due to collinearity (these variables are constant within id over time , think gender).
I am at a loss of how to be able to run a fixed effects regression, absorbing time and another categorical variable, while clustering SE on id level and
still be able to estimate the coefficients on these (within-id) constant variables.
I thank you all for your help!!
I am working on a panel data set analysis. In essence I observe individuals over time and it is more than reasonable to assume that observations of
the same individual are correlated over time. (i.e. wage of 2015 is a predictor for wage in 2016)
Now my problem is that when I do manage to cluster on ID-level without receiving the "Panels are not nested within cluster" error, stata ommits
some of my central variables due to collinearity (these variables are constant within id over time , think gender).
I am at a loss of how to be able to run a fixed effects regression, absorbing time and another categorical variable, while clustering SE on id level and
still be able to estimate the coefficients on these (within-id) constant variables.
I thank you all for your help!!
Comment