Dear Stata listers,
I am estimating a model with a dependent truncated variable (i.e. an index between 0 and 1: "INDEX"), a bivariate endogenous variable ("END") instrumented by another bivariate variable ("Z") and a list of exogenous variables, X1…X5 . In order to avoid the forbidden regression of a 2SLS estimate (first stage probit, second stage tobit), I tried to use the cmp command as follows:
cmp (INDEX = X1 X2 X3 X4 X5 ENDO) (ENDO = Z X1 X2 X3 X4 X5) , ind ("cond(INDEX>0, cond(INDEX <1, $cmp_cont, $cmp_right), $cmp_left )" $cmp_probit) robust
Is that correct? Does this procedure avoid the forbidden regression?
Or do I need to use the suffix # as in the following?
cmp (INDEX = X1 X2 X3 X4 X5 ENDO#) (ENDO = Z X1 X2 X3 X4 X5), ind ("cond(INDEX>0, cond(INDEX <1, $cmp_cont, $cmp_right), $cmp_left )" $cmp_probit) robust
Thanks in advance,
Elisa
Related Posts with cmp for a tobit model with a binary endogenous variable?
Generating 500 AR(1) processesHello everyone, Just wanted to know how to generate 500 processes of the following model: Yt=alpha…
Advice regarding Stata NetCourseHello, Hope you all are well and safe. I am looking to expand my knowledge in visualization using …
Standard Error of Estimation in Panel Data RegressionHello, I am working on a panel data, N=600, T=10. After running the regression analysis, -xtreg, fe-…
Is it usual for ivprobit per se to run quickly but margins after that is very slow?ivprobit finished in may a few minutes. But I am waiting for hours for margins to finish. Is this no…
Re: FitstatHello! I ran the logistic regression. The command fitstat produced some statistics on the model fit…
Subscribe to:
Post Comments (Atom)
0 Response to cmp for a tobit model with a binary endogenous variable?
Post a Comment