Stata Panel Data Patched Info
Hausman test estimates store fe_est xtreg wage union experience i.year, re hausman fe_est ., sigmamore
Use asdoc to send results directly to Word: stata panel data
xtline wage, overlay legend(off) title("Wage trajectories by individual") xtline wage, by(idcode, note("First 20 individuals")) ylabel(, angle(0)) Hausman test estimates store fe_est xtreg wage union
quietly xtreg y x1 x2, fe estimates store fixed quietly xtreg y x1 x2, re estimates store random hausman fixed random Use code with caution. Copied to clipboard : For long panels ( re hausman fe_est .