The xttest2 routine, which tests for contemporaneous correlation across
panel units, has been updated to work after ivreg2 (as well as xtreg,
fe and xtgls) where ivreg2 is applied to a panel data set. The updated
routine is available via ssc install xttest2, replace, and has been
revised previously since its debut in SJ 1:1.