reshape long y, i(id) j(year)
xtreg y x1 x2, fd
xtoverid // after RE estimation (requires ivreg2) stata panel data exclusive