Dear Statalist,
I am currently, using Stata 12.1, working on a panel data set of the 48 contiguous states over 17 years. Hence, N, the number of units is larger than T, the number of recorded instances for each group.
I have used both the xtreg command in the fixed effects and random effects version and am content with the results.
I would like to, however, in a next step, try to estimate the same two specifications, but with unit specific, time invariant regressors, that is:
Fixed effects: y_it = constant_i + X_it*beta_i + e_it (*)
Random effects: y_it = constant + X_it*beta_i + v_i + e_it (**)
From reading the longitudinal/panel data reference manual (Release 10) I feel the "xtrc" is not what I am looking for since it computes a common beta and then adds a stochastic term for each group.
Upon using another book (1), I thought the definition of the seemingly unrelated regression model came close to equation (*). However, it is stated there that this specification may only be used if T exceeds N, which is not the case for me.
I feel a bit lost, not knowing how to procedd, so, as so often, I rely upon the kindness of strangers. A kindness much appreciated. Best regards,
Andrés Álvarez
(1) - An Introduction to Modern Econometrics Using Stata, Christopher F. Baum, Stata Press
I am currently, using Stata 12.1, working on a panel data set of the 48 contiguous states over 17 years. Hence, N, the number of units is larger than T, the number of recorded instances for each group.
I have used both the xtreg command in the fixed effects and random effects version and am content with the results.
I would like to, however, in a next step, try to estimate the same two specifications, but with unit specific, time invariant regressors, that is:
Fixed effects: y_it = constant_i + X_it*beta_i + e_it (*)
Random effects: y_it = constant + X_it*beta_i + v_i + e_it (**)
From reading the longitudinal/panel data reference manual (Release 10) I feel the "xtrc" is not what I am looking for since it computes a common beta and then adds a stochastic term for each group.
Upon using another book (1), I thought the definition of the seemingly unrelated regression model came close to equation (*). However, it is stated there that this specification may only be used if T exceeds N, which is not the case for me.
I feel a bit lost, not knowing how to procedd, so, as so often, I rely upon the kindness of strangers. A kindness much appreciated. Best regards,
Andrés Álvarez
(1) - An Introduction to Modern Econometrics Using Stata, Christopher F. Baum, Stata Press
Comment