Simultaneous equations and panel data