Hi. I'm using Stat 13 and need to have endogeneity test. My model is as below. I wonder whether the command is right given that I have panel data clustered? Should I add any other command to the model at the end of the model which is if matercode==1 , cluster (CoID)? and should I report the same regression in my thesis if the p value is significant?

ivregress 2sls IR Si Pr Se Le AN Bi No Co TT FY Nog FIR ( Beta = Insr ) if matercode==1 , cluster (CoID)