Hello,
I am needing STATA help. I am replicating an economic paper to graduate an MS econometrics program. The paper I am replicating examines how a baseball teams win percentage(depvar) is influenced by intra team wage disparity. The independent variables are x1- Total team salary, x2 SalaryHHI ( Hershendal Index) which is the summation of of each players share of total team salary^2 , and x3 which is time(year)
My results are nowhere near the authors and it is obviously not a simple scaling issue. The unbalance is a result of expansions in the number of teams in MLB over the years.
The panel variable is teamcode which identifies the team.
my regression is:
xtreg winpct totalsal salhhi year, fe
Can anyone shed light on unbalanced panel data in STATA that addresses "correcting for heteroskedasticity and auto-correlation"'.
Thank you
I am needing STATA help. I am replicating an economic paper to graduate an MS econometrics program. The paper I am replicating examines how a baseball teams win percentage(depvar) is influenced by intra team wage disparity. The independent variables are x1- Total team salary, x2 SalaryHHI ( Hershendal Index) which is the summation of of each players share of total team salary^2 , and x3 which is time(year)
My results are nowhere near the authors and it is obviously not a simple scaling issue. The unbalance is a result of expansions in the number of teams in MLB over the years.
The panel variable is teamcode which identifies the team.
my regression is:
xtreg winpct totalsal salhhi year, fe
Can anyone shed light on unbalanced panel data in STATA that addresses "correcting for heteroskedasticity and auto-correlation"'.
Thank you
Comment