Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: -tpm- : a command for estimating two-part models

From   Partha Deb <>
To   Statalist <>
Subject   st: -tpm- : a command for estimating two-part models
Date   Thu, 1 Nov 2012 12:08:53 -0400


Thanks to Kit Baum, -tpm-, a module for estimating two-part models for mixed discrete-continuous outcomes, is now available at SSC. In two part models, a binary choice model is estimated for the probability of observing a zero versus positive outcome. Then, conditional on a positive outcome, an appropriate regression model is estimated for the positive outcome. -tpm- focuses on continuous outcomes modeled using -regress- or -glm-. When the outcome is a count variable, such models are known as hurdle models. Of special note is that -tpm- allows the user to leverage the capabilities of -predict- and -margins- to calculate predictions and marginal effects from the combined first- and second-part models.

-tpm- can be installed from SSC. Type -findit tpm- in your Stata command line and look for
tpm from



Partha Deb
Professor of Economics
Director of Graduate Studies
Hunter College
ph:  (212) 772-5435
fax: (212) 772-5398

Emancipate yourselves from mental slavery
None but ourselves can free our minds.
	- Bob Marley

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index