In this article, we describe twopm, a command for fitting two-part models for mixed discrete-continuous outcomes. In the two-part model, a binary choice model is fit for the probability of observing a positive-versus-zero outcome. Then, conditional on a positive outcome, an appropriate regression model is fit for the positive outcome. The twopm command allows the user to leverage the capabilities of predict and margins to calculate predictions and marginal effects and their standard errors from the combined first- and second-part models.
AmemiyaT.1985. Advanced Econometrics.Cambridge: Harvard University Press.
2.
CameronA. C., and TrivediP. K.2013. Regression Analysis of Count Data. 2nd ed. Cambridge: Cambridge University Press.
3.
ColeJ. A., and SherriffJ. D. F.1972. Some single- and multi-site models of rainfall within discrete time increments. Journal of Hydrology17: 97–113.
4.
CraggJ. G.1971. Some statistical models for limited dependent variables with application to the demand for durable goods. Econometrica39: 829–844.
5.
DowW. H., and NortonE. C.2003. Choosing between and interpreting the Heckit and two-part models for corner solutions. Health Services and Outcomes Research Methodology4: 5–18.
6.
DuanN.1983. Smearing estimate: A nonparametric retransformation method. Journal of the American Statistical Association78: 605–610.
7.
DuanN., ManningW. G.Jr., MorrisC. N., and NewhouseJ. P.1984. Choosing between the sample-selection model and the multi-part model. Journal of Business and Economic Statistics2: 283–289.
8.
HayJ. W., LeuR., and RohrerP.1987. Ordinary least squares and sample-selection models of health-care demand: Monte Carlo comparison. Journal of Business and Economic Statistics5: 499–506.
9.
HayJ. W., and OlsenR. J.1984. Let them eat cake: A note on comparing alternative models of the demand for medical care. Journal of Business and Economic Statistics2: 279–282.
10.
HeckmanJ. J.1979. Sample selection bias as a specification error. Econometrica47: 153–161.
11.
HilbeJ.2005. hplogit: Stata module to estimate Poisson-logit hurdle regression. Statistical Software Components S456405, Department of Economics, Boston College.http://ideas.repec.org/c/boc/bocode/s456405.html.
12.
HosmerD. W.Jr., and LemeshowS.1980. Goodness of fit tests for the multiple logistic regression model. Communications in Statistics—Theory and Methods9: 1043–1069.
13.
JonesA. M.1989. A double-hurdle model of cigarette consumption. Journal of Applied Econometrics4: 23–39.
14.
KatzR. W.1977. Precipitation as a chain-dependent process. Journal of Applied Meteorology16: 671–676.
15.
LeungS. F., and YuS.1996. On the choice between sample selection and two-part models. Journal of Econometrics72: 197–229.
16.
MaddalaG. S.1983. Limited-Dependent and Qualitative Variables in Econometrics.Cambridge: Cambridge University Press.
17.
ManningW. G., BasuA., and MullahyJ.2005. Generalized modeling approaches to risk adjustment of skewed outcomes data. Journal of Health Economics24: 465–488.
18.
ManningW. G., DuanN., and RogersW. H.1987. Monte Carlo evidence on the choice between sample selection and two-part models. Journal of Econometrics35: 59–82.
19.
McCullaghP., and NelderJ. A.1989. Generalized Linear Models. 2nd ed. London: Chapman & Hall/CRC.
20.
MihaylovaB., BriggsA., O'HaganA., and ThompsonS. G.2011. Review of statistical methods for analysing healthcare resources and costs. Health Economics20: 897–916.
21.
PoirierD. J., and RuudP. A.1981. On the appropriateness of endogenous switching. Journal of Econometrics16: 249–256.
22.
PregibonD.1980. Goodness of link tests for generalized linear models. Journal of the Royal Statistical Society, Series C29: 15–23.
23.
RamseyJ. B.1969. Tests for specification errors in classical linear least-squares regression analysis. Journal of the Royal Statistical Society, Series B31: 350–371.
24.
TodorovicP., and WoolhiserD. A.1975. A stochastic model of n-day precipitation. Journal of Applied Meteorology14: 17–24.