Hello,
Currently I have panel data in wide form with variables indicating the year at the end, (eg, y1, y2, y3) and need to conduct instrumental variable regression.

is it necessary to reshape data from wide to long in order to conduct instrumental variable regression using xtivreg?