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.
Belotti, F., Deb, P., Manning, W., Norton, E. (2015). twopm: Two-part models. THE STATA JOURNAL, 15(1), 3-20 [10.1177/1536867X1501500102].
twopm: Two-part models
BELOTTI, FEDERICO;
2015-01-01
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.File | Dimensione | Formato | |
---|---|---|---|
Belotti et al (2015).pdf
solo utenti autorizzati
Licenza:
Copyright dell'editore
Dimensione
290.6 kB
Formato
Adobe PDF
|
290.6 kB | Adobe PDF | Visualizza/Apri Richiedi una copia |
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.