Home  >>  Archives  >>  Volume 15 Number 1  >>  st0368

The Stata Journal
Volume 15 Number 1: pp. 3-20



Subscribe to the Stata Journal
cover

twopm: Two-part models

Federico Belotti
Centre for Economic and International Studies
University of Rome Tor Vergata
Rome, Italy
[email protected]
Partha Deb
Hunter College and Graduate Center, CUNY
New York, NY
and National Bureau of Economic Research
Cambridge, MA
[email protected]
Willard G. Manning
University of Chicago
Chicago, IL
Edward C. Norton
University of Michigan
Ann Arbor, MI
and National Bureau of Economic Research
Cambridge, MA
[email protected]
Abstract.  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.
Terms of use     View this article (PDF)

View all articles by these authors: Federico Belotti, Partha Deb, Willard G. Manning, Edward C. Norton

View all articles with these keywords: twopm, two-part models, cross-sectional data, predictions, marginal effects

Download citation: BibTeX  RIS

Download citation and abstract: BibTeX  RIS