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?
Cox regressions for Twitter data (proportional hazards)Dear all, first and foremost a happy new year to all of you! In my current research project, I am …
Computing Average/Mean ROC Curve and AUC among different observersDear all, I was wondering if it would be possible to compute a mean ROC curve, with corresponding m…
matching husband-wife and father-daughter observations and generating new variablesDear Statlisters I am working on household survey data. Here I have variables on responses by house…
changing numbers that surround decimalsI have 18,000 observations in a variable, which I have cleaned down to 60 left to address. They are …
Contingent valuation methodI am using CVM to estimate mean WTP for a conservation program. WTP is elicited in both cash value a…
Subscribe to:
Post Comments (Atom)
0 Response to cmp for a tobit model with a binary endogenous variable?
Post a Comment