Dear Stata Forum

I am running a GEE panel regression.

I would like to check for endogeneity using the Durbin-Wu-Hausman test. I am aware of the ivregress, ivreg2 and xtivreg2 command but I am not sure if I am allowed to use e.g. xtivreg2 for GEEs.

Do you know if:
(1) Is it allowed to use e.g. xtivreg2 for GEEs?
(2) How to check for endogeneity using the Durbin-Wu-Hausman test in GEEs?

Thank you!!!