Library Header Image
LSE Research Online LSE Library Services

twopm: two-part models

Belotti, Federico, Deb, Partha, Manning, Willard G. and Norton, Edward C. (2015) twopm: two-part models. Stata Journal, 15 (1). pp. 3-20. ISSN 1536-867X

Full text not available from this repository.


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.

Item Type: Article
Official URL:
Additional Information: © 2015 by StataCorp LP
Divisions: Personal Social Services Research Unit
Subjects: H Social Sciences > HA Statistics
Q Science > QA Mathematics
Date Deposited: 28 Apr 2015 09:17
Last Modified: 24 Jul 2024 22:06

Actions (login required)

View Item View Item