The R² for IV/2SLS/GMM regressions is of limited to no use. See for example the following Stata FAQ:
https://www.stata.com/support/faqs/s...least-squares/
For the random-effects model, please see the Remarks and Examples section in the Stata Manual entry for xtreg.
https://www.stata.com/support/faqs/s...least-squares/
the R2 really has no statistical meaning in the context of 2SLS/IV
Comment