Hi, I want to test for endogeneuity of the variable religioisitymean where I have i.sin##c.religiostymean in my equation. What are the commands for testing for endogentuity of this variable, the instrument relevance test and instrument exog test in stata after running xtivreg?
Estimation equation is: xtivreg netreturn sin (religiositymean sinreligiositymean= statereg sinstatereg) beta lmarketcap lpb bev lgdp spread inflationrate open law year1 year2 year3 year4 year5 year6 year7 year8 year9 year10 i.country_c, re first vce(cluster company)
when doing estat endogenous
I get the error: subcommand estat endogenous is unrecognized
Thanks
Estimation equation is: xtivreg netreturn sin (religiositymean sinreligiositymean= statereg sinstatereg) beta lmarketcap lpb bev lgdp spread inflationrate open law year1 year2 year3 year4 year5 year6 year7 year8 year9 year10 i.country_c, re first vce(cluster company)
when doing estat endogenous
I get the error: subcommand estat endogenous is unrecognized
Thanks
Comment