Currently I'm working on the replication (variation in time) of Charles W. L. Hill, & Phan, P. (1991) for an assignment.
In their analytical strategy they use a generalized-least-squares cross-sectional "heteroskedastic" and "time-wise" autoregressive model to correct for serial-correlation.
My question is, how to perform this test in STATA?
These are the options I have found, but I'm uncertain which one to use.
//set panel data
xtset gvkey fyear, yearly
xtgls dep.v ind.v, panels(correlated)
which specifies a heteroskedastic error structure with cross-sectional correlation.
However this one doesn't work as my panel data isn't balanced due to the fact that not all firms are present in the S&P1500 for consecutive years.
or:
xtreg dep.v ind.v, re
I'm new to STATA so any good advice would be helpful.
Thank you!
v. Stiphout
reference:
Charles W. L. Hill, & Phan, P. (1991). CEO Tenure as a Determinant of CEO Pay. The Academy of Management Journal, 34(3), 707-717. Retrieved January 15, 2021, from http://www.jstor.org/stable/256413
Related Posts with GLS regression STATA
Where STATA is storing the loading factors ( Factor analysis using GSEM)Hi guys, I used "gsem" commend and "predict, latent" to estimate factor scores and the factors scor…
Unbalanced Panel to Balanced PanelHi All, I compiled an unbalanced panel dataset, which includes six years from 2010 to 2015. After g…
Probably beginner question: How to format monthly datesHi there, I am new to Stata and I started last week as a total newbie. What I want to do is to che…
Empty cells in some imputations of multiply imputed dataI have a data set that some colleagues and I need to do a survival analysis on. The outcome is time …
putpdf image errorAfter a logit, I am doing Code: lroc graph export "$charts\roc_y_1_x_`k'.png", replace putpdf imag…
Subscribe to:
Post Comments (Atom)
0 Response to GLS regression STATA
Post a Comment