EconPapers    
Economics at your fingertips  
 

twopm: Two-part models

Federico Belotti, Partha Deb, Willard Manning and Edward Norton

Stata Journal, 2015, vol. 15, issue 1, 3-20

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. Copyright 2015 by StataCorp LP.

Keywords: twopm; two-part models; cross-sectional data; predictions; marginal effects (search for similar items in EconPapers)
Date: 2015
Note: to access software from within Stata, net describe http://www.stata-journal.com/software/sj15-1/st0368/
References: Add references at CitEc
Citations: View citations in EconPapers (85)

Downloads: (external link)
http://www.stata-journal.com/article.html?article=st0368 link to article purchase

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:tsj:stataj:v:15:y:2015:i:1:p:3-20

Ordering information: This journal article can be ordered from
http://www.stata-journal.com/subscription.html

Access Statistics for this article

Stata Journal is currently edited by Nicholas J. Cox and Stephen P. Jenkins

More articles in Stata Journal from StataCorp LLC
Bibliographic data for series maintained by Christopher F. Baum () and Lisa Gilmore ().

 
Page updated 2025-03-22
Handle: RePEc:tsj:stataj:v:15:y:2015:i:1:p:3-20