Hi,

I am trying to calculate the Sargan Hansen overidentification tests for a regression using ivreg2 but the command "estat overid" is not working. Moreover, when I convert it into a table using esttab, the Sargan test from the scalar sarganp is blank. How can I calculate the overidentification test and add it to the table?

Thank you very much,

Joan