import delimited C:\panel.csv regress y x xtset id year, yearly xtdescribe xtsum y x xtline y if id <=4 xtline y if id <=4, overlay xtreg y x, fe predict u_est, u estimates store fixed xtreg y x, re estimates store random xttest0 hausman fixed random