Hi everyone,
I am using cmp to estimate a trivariate probit model to account for selection bias (selectvar) and endogeneity of X1, simply as follows:
I want to predict the joint probability Pr(X1=0,Y1=1), but do not know how to do that.
Could I get that by using the Bayes theorem, by getting:
unconditional probability Pr(X1=0)
conditional probablity Pr(X1=0|Y1=1)
and then
Would anyone know if this is a correct way to do it? Or is there a more straightforward way to calculate that joint probability?
Thanks very much.
I am using cmp to estimate a trivariate probit model to account for selection bias (selectvar) and endogeneity of X1, simply as follows:
Code:
cmp (Y1=X1) (X1=X2) (selectvar=Z), ind($cmp_probit $cmp_probit selectvar*cmp_probit)
Could I get that by using the Bayes theorem, by getting:
unconditional probability Pr(X1=0)
Code:
predict x0, pr eq(X1)
Code:
predict cd1, pr(. 0) eq(X1) cond(0 ., eq(Y1))
Code:
ge x0y1=x0*cd1
Thanks very much.

Comment