help里说的很清楚,原假设是工具变量有效。The Sargan-Hansen test is a test of overidentifying restrictions. The joint null hypothesis is that the instruments are valid instruments, i.e., uncorrelated with the error term, and that the excluded instruments are correctly
excluded from the estimated equation.