<style id="sinamailpaperfilter">.sinamailpaper-0{cursor:text;}.sinamailpaper-0 td,.sinamailpaper-0 textarea,.sinamailpaper-0 input,.sinamailpaper-0 br,.sinamailpaper-0 div,.sinamailpaper-0 span{font-size:14px;font-family:"宋体",Verdana,Arial,Helvetica,sans-serif;line-height:1.5;}.sinamailpaper-0 p{*margin:0.2em auto;}.sinamailpaper-0 img{border:0;}.sinamailpaper-0 pre{white-space:normal;}.sinamailpaper-0 form{margin:0;}</style>Dear all,<BR>I encountered a problem with endogeniety.Concretely, I have a equation below:<BR>y=al+a2x1+a3x2+a4z+e<BR>where z is exogenous definitely.However, I suspect whether x1 and x2 are endogenous.<BR>and there are two instrument variables, z1 for x1 and z2 for x2.<BR><BR>In wooldridge book, there is an introduction about how to&nb!
sp;test whether one variable is endogenous.i.e,hausman test.<BR>First get the residual and then add the residual to the equation.If the p value of residual is significant, the suspect variable is endogenous.<BR><BR>However, how to test with two suspect endogenous variables? What confuses me is how to treat the other suspect endogenous variable when testing one endogenous varible.Treat it exogenous or endogenous? BecausTake the above equation for example, maybe I can compute joint F statistic of the two residuals. If the p value of residuals is not significant,&n!
bsp;I can conclude both of x1 and x
2
are exogenous. However, if the p value is significant, it shows that at least one of the two variables are endogenous. Then next what should I do? I want to judge the endogeniety for each of the two. Can I just take the residual of each of x1 and x2 for judgement? (I note the results are not equal to ivendog x1 or ivendog x2 in stata.)<BR><BR>By the way, in stata -ivendog- can give the result of endogenous test after -ivreg2- and -vreg-. <BR>I type ivreg2 y z (x1 x2=z1 z2 z);<BR>then type ivendog;<BR>the res!
ult of the joint F statistic is equal to the "residual method" above in which I compute manually.<BR>then type ivendog x1 or ivendog x2;<BR>I get some results of p values for x1 or x2, but I do not know how stata get them, I can not get the statistics manually. <BR><BR>could anyone tell me how to do endogeniety test with two suspect endogenous variables manually or by stata?<BR><BR>Hope sincerely replies. Thank you in advance.<BR><BR>Rose
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/