bobguy 发表于 2013-10-29 12:21 
Here is a complete solution. I put some comments for easy understanding.
***create corr error dat ...
谢谢您的耐心解答,我还是有不懂的地方,比如您看我EXCEL中的实际数据,Z 代表的意思是:Zi=1 indicates firm-ihas committed fraud and has been detected, and Zi=0 if firm-i hasnot committed fraud or has committed fraud but has not been detected.
P(Zi=1)=P(Fi=1and Di=1)=P(Fi=1) P(Di=1|Fi=1)= Φ(XF,iβF,XD,iβD)
在现实生活中,wedo not directly observe the realizations of Fi and Di.What we observe is Zi= Fi* Di.
Fi= XF,iβF +μi;
Di= XD,iβD +ʋi;
Where XF,i is a rowvector with elements that explain firm-i’s incentive to commit fraud, and XD,icontains variables that explain the firm’s potential for getting caught. μiand ʋi are zero-mean disturbances with a bivariate normaldistribution.
For fraud occurrence, I transform into a binaryvariable Fi, where Fi=1 if Fi* >0, and Fi =0 otherwise. For frauddetection (conditional on occurrence), I transform into a binaryvariable Di, where Di=1 if Di*>0, and Di=0 otherwise.
我用variable r1 r2 r3 r4 r6 r7 r9 explain Fi, variable Br1 Br2 Br3 Br4 Er3 Er4 Er5 explian Di.
可是问题是,我们只有Z的数据,如何来确定Fi和Di呢?
如果确认了Fi和Di,就可以用proc qlim来做了。是我想的有问题吗?希望您能帮忙解答。