Another option is David Roodman's cmp command from SSC that can estimate multiple equation models. If you send him an email, he may be able to suggest if and how to exclude the intercepts in each equation. If you are successful in that, you have solved your problem.
Res.:
Code:
webuse mroz87, clear set seed 03302022 gen outcome2= runiformint(1, 4920) tobit whrs75 c.nwinc c.wedyrs c.wexper c.wexper#c.wexper c.wifeage c.kl6 c.k618, ll(0) nolog tobit outcome2 c.nwinc c.wedyrs c.wexper c.wexper#c.wexper c.wifeage c.kl6 c.k618, ll(0) nolog cmp (whrs75= c.nwinc c.wedyrs c.wexper c.wexper#c.wexper c.wifeage c.kl6 c.k618) /// (outcome2= c.nwinc c.wedyrs c.wexper c.wexper#c.wexper c.wifeage c.kl6 c.k618), /// ind("cond(whrs75>0, $cmp_cont, $cmp_left)" "cond(outcome2>0, $cmp_cont, $cmp_left)") qui
Code:
. tobit whrs75 c.nwinc c.wedyrs c.wexper c.wexper#c.wexper c.wifeage c.kl6 c.k618, ll(0) nolog Tobit regression Number of obs = 753 Uncensored = 428 Limits: lower = 0 Left-censored = 325 upper = +inf Right-censored = 0 LR chi2(7) = 271.59 Prob > chi2 = 0.0000 Log likelihood = -3819.0946 Pseudo R2 = 0.0343 ----------------------------------------------------------------------------------- whrs75 | Coef. Std. Err. t P>|t| [95% Conf. Interval] ------------------+---------------------------------------------------------------- nwinc | -8.814227 4.459089 -1.98 0.048 -17.56808 -.0603708 wedyrs | 80.64541 21.58318 3.74 0.000 38.27441 123.0164 wexper | 131.564 17.27935 7.61 0.000 97.64211 165.486 | c.wexper#c.wexper | -1.864153 .5376606 -3.47 0.001 -2.919661 -.8086455 | wifeage | -54.40491 7.418483 -7.33 0.000 -68.9685 -39.84133 kl6 | -894.0202 111.8777 -7.99 0.000 -1113.653 -674.3875 k618 | -16.21805 38.6413 -0.42 0.675 -92.07668 59.64057 _cons | 965.3068 446.4351 2.16 0.031 88.88827 1841.725 ------------------+---------------------------------------------------------------- var(e.whrs75)| 1258927 93304.48 1088458 1456093 ----------------------------------------------------------------------------------- . tobit outcome2 c.nwinc c.wedyrs c.wexper c.wexper#c.wexper c.wifeage c.kl6 c.k618, ll(0) nolog Tobit regression Number of obs = 753 Uncensored = 753 Limits: lower = 0 Left-censored = 0 upper = +inf Right-censored = 0 LR chi2(7) = 5.70 Prob > chi2 = 0.5753 Log likelihood = -6550.7516 Pseudo R2 = 0.0004 ----------------------------------------------------------------------------------- outcome2 | Coef. Std. Err. t P>|t| [95% Conf. Interval] ------------------+---------------------------------------------------------------- nwinc | -2.8083 4.923527 -0.57 0.569 -12.47392 6.857317 wedyrs | 23.37747 25.07164 0.93 0.351 -25.84191 72.59684 wexper | 25.51334 19.28185 1.32 0.186 -12.33979 63.36648 | c.wexper#c.wexper | -.8997776 .6281175 -1.43 0.152 -2.132866 .3333107 | wifeage | 7.6236 8.445607 0.90 0.367 -8.956385 24.20359 kl6 | 159.3098 113.8887 1.40 0.162 -64.27071 382.8903 k618 | 47.07904 44.85406 1.05 0.294 -40.97618 135.1343 _cons | 1768.561 524.0627 3.37 0.001 739.7478 2797.374 ------------------+---------------------------------------------------------------- var(e.outcome2)| 2107889 108633.9 1905058 2332315 ----------------------------------------------------------------------------------- . cmp (whrs75= c.nwinc c.wedyrs c.wexper c.wexper#c.wexper c.wifeage c.kl6 c.k618) /// > (outcome2= c.nwinc c.wedyrs c.wexper c.wexper#c.wexper c.wifeage c.kl6 c.k618), /// > ind("cond(whrs75>0, $cmp_cont, $cmp_left)" "cond(outcome2>0, $cmp_cont, $cmp_left)") qui Fitting individual models as starting point for full model fit. Fitting constant-only model for LR test of overall model fit. Fitting full model. Mixed-process regression Number of obs = 753 LR chi2(14) = 277.15 Log likelihood = -10369.821 Prob > chi2 = 0.0000 ----------------------------------------------------------------------------------- | Coef. Std. Err. z P>|z| [95% Conf. Interval] ------------------+---------------------------------------------------------------- whrs75 | nwinc | -8.810777 4.458305 -1.98 0.048 -17.5489 -.0726592 wedyrs | 80.56007 21.58372 3.73 0.000 38.25676 122.8634 wexper | 131.6076 17.2807 7.62 0.000 97.73804 165.4772 | c.wexper#c.wexper | -1.865532 .5377009 -3.47 0.001 -2.919406 -.8116571 | wifeage | -54.3756 7.418726 -7.33 0.000 -68.91604 -39.83517 kl6 | -893.2394 111.8979 -7.98 0.000 -1112.555 -673.9236 k618 | -16.17063 38.6418 -0.42 0.676 -91.90716 59.56589 _cons | 964.672 446.4197 2.16 0.031 89.70553 1839.639 ------------------+---------------------------------------------------------------- outcome2 | nwinc | -2.808302 4.923525 -0.57 0.568 -12.45823 6.841629 wedyrs | 23.37749 25.07163 0.93 0.351 -25.762 72.51699 wexper | 25.51333 19.28184 1.32 0.186 -12.27837 63.30504 | c.wexper#c.wexper | -.8997773 .6281172 -1.43 0.152 -2.130864 .3313099 | wifeage | 7.623598 8.445603 0.90 0.367 -8.92948 24.17668 kl6 | 159.3097 113.8886 1.40 0.162 -63.90796 382.5273 k618 | 47.07903 44.85404 1.05 0.294 -40.83328 134.9913 _cons | 1768.561 524.0625 3.37 0.001 741.4172 2795.704 ------------------+---------------------------------------------------------------- /lnsig_1 | 7.022846 .0370561 189.52 0.000 6.950217 7.095475 /lnsig_2 | 7.280598 .0257684 282.54 0.000 7.230093 7.331103 /atanhrho_12 | -.0090192 .0401423 -0.22 0.822 -.0876966 .0696582 ------------------+---------------------------------------------------------------- sig_1 | 1121.975 41.57604 1043.376 1206.495 sig_2 | 1451.857 37.412 1380.351 1527.066 rho_12 | -.0090189 .040139 -.0874724 .0695458 ----------------------------------------------------------------------------------- .
Comment