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?
How to split numeric variables based on ruleHi Stata folks, I am working on a dataset where each ID is associated with a numeric value comprised…
How to fix "repeated time values within panel"Now I have data like: hhid geo 1 1 1 1 2 2 2 2 3 3 3 3 And I use command "xtset hhid geo", there is…
How to interpret repeated measures resultsHello! I am hoping that someone could help me interpret results for a repeated measures analysis (o…
Poisson for count data?Cheers; I am examining student drop out rates from year 2000 to year 2010. I read that Poisson regre…
Combining two variables into one decimalHi all, I'm sure this is a relatively easy thing to do once you know the syntax, but essentially I h…
Subscribe to:
Post Comments (Atom)
0 Response to cmp for a tobit model with a binary endogenous variable?
Post a Comment