Twopm: Two-Part Models
Open accessThe DOI matches its Crossref record; 21 of the 21 references it cites were found in a registry or an index.
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.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Sample Selection Bias as a Specification Error
Heckman, J. J. (1979) · Econometrica · doi:10.2307/1912352 · Cited by 28,779
McCullagh, P., & Nelder, J. A. (1989) · doi:10.1007/978-1-4899-3242-6 · Cited by 16,836
Limited-dependent and qualitative variables in econometrics
Maddala, G. S. (1983) · Cambridge University Press eBooks · doi:10.1017/cbo9780511810176 · Cited by 13,240
Regression Analysis of Count Data
Cameron, A. C., & Trivedi, P. K. (2013) · doi:10.1017/cbo9781139013567 · Cited by 6,640
Tests for Specification Errors in Classical Linear Least-Squares Regression Analysis
Ramsey, J. B. (1969) · Journal of the Royal Statistical Society Series B: Statistical Methodology · doi:10.1111/j.2517-6161.1969.tb00796.x · Cited by 3,352
Cragg, J. G. (1971) · Econometrica · doi:10.2307/1909582 · Cited by 2,600
Smearing Estimate: A Nonparametric Retransformation Method
Duan, N. (1983) · Journal of the American Statistical Association · doi:10.1080/01621459.1983.10478017 · Cited by 2,232
Goodness of fit tests for the multiple logistic regression model
Hosmer, D. W., & Lemesbow, S. (1980) · Communications in Statistics - Theory and Methods · doi:10.1080/03610928008827941 · Cited by 1,871
Review of statistical methods for analysing healthcare resources and costs
Mihaylova, B., Briggs, A., O'Hagan, A., & Thompson, S. G. (2011) · Health Economics · doi:10.1002/hec.1653 · Cited by 767
Generalized modeling approaches to risk adjustment of skewed outcomes data
Manning, W. G., Basu, A., & Mullahy, J. (2005) · Journal of Health Economics · doi:10.1016/j.jhealeco.2004.09.011 · Cited by 760
Self-citation
Cited by
The Economic Burden of Asthma in the United States, 2008–2013
Nurmagambetov, T., Kuwahara, R., & Garbe, P. (2018) · Annals of the American Thoracic Society · doi:10.1513/annalsats.201703-259oc · Cited by 842
Taillie, L. S., Reyes, M., Colchero, M. A., Popkin, B., & Corvalán, C. (2020) · PLOS Medicine · doi:10.1371/journal.pmed.1003015 · Cited by 510
Silver, L. D., Ng, S. W., Ryan-Ibarra, S., Taillie, L. S., Induni, M., Miles, D. R., Poti, J. M., & Popkin, B. M. (2017) · PLOS Medicine · doi:10.1371/journal.pmed.1002283 · Cited by 411
Modeling Health Care Expenditures and Use
Deb, P., & Norton, E. C. (2018) · Annual Review of Public Health · doi:10.1146/annurev-publhealth-040617-013517 · Cited by 410
Self-citationTrends in Healthcare Expenditures Among US Adults With Hypertension: National Estimates, 2003–2014
Kirkland, E. B., Heincelman, M., Bishu, K. G., Schumann, S. O., Schreiner, A., Axon, R. N., Mauldin, P. D., & Moran, W. P. (2018) · Journal of the American Heart Association · doi:10.1161/jaha.118.008731 · Cited by 321
Clarifying the structure and nature of left-wing authoritarianism.
Costello, T. H., Bowes, S. M., Stevens, S. T., Waldman, I. D., Tasimi, A., & Lilienfeld, S. O. (2022) · Journal of Personality and Social Psychology · doi:10.1037/pspp0000341 · Cited by 316
Outcome modelling strategies in epidemiology: traditional methods and basic alternatives
Greenland, S., Daniel, R., & Pearce, N. (2016) · International Journal of Epidemiology · doi:10.1093/ije/dyw040 · Cited by 293
First-Year Evaluation of Mexico’s Tax on Nonessential Energy-Dense Foods: An Observational Study
Batis, C., Rivera, J. A., Popkin, B. M., & Taillie, L. S. (2016) · PLOS Medicine · doi:10.1371/journal.pmed.1002057 · Cited by 271
Associations of frailty with health care costs – results of the ESTHER cohort study
Bock, J.-O., König, H.-H., Brenner, H., Haefeli, W. E., Quinzler, R., Matschinger, H., Saum, K.-U., Schöttker, B., & Heider, D. (2016) · BMC Health Services Research · doi:10.1186/s12913-016-1360-3 · Cited by 259
Colchero, M. A., Molina, M., & Guerrero-López, C. M. (2017) · The Journal of Nutrition · doi:10.3945/jn.117.251892 · Cited by 223
Baggio, J. A., BurnSilver, S. B., Arenas, A., Magdanz, J. S., Kofinas, G. P., & De Domenico, M. (2016) · Proceedings of the National Academy of Sciences · doi:10.1073/pnas.1604401113 · Cited by 165
“A two-part model is a statistical model that allows for 0 inflation, where 0 indicates nodes that do not contribute to a specific layer (38, 39).”
Gupte-Singh, K., Singh, R. R., & Lawson, K. A. (2017) · Value in Health · doi:10.1016/j.jval.2017.01.007 · Cited by 91
Mullahy, J., & Norton, E. (2022) · doi:10.3386/w30735 · Cited by 87
Self-citationYau, A., Berger, N., Law, C., Cornelsen, L., Greener, R., Adams, J., Boyland, E. J., Burgoine, T., de Vocht, F., Egan, M., et al. (2022) · PLOS Medicine · doi:10.1371/journal.pmed.1003915 · Cited by 77
Egede, L. E., Walker, R. J., Bishu, K., & Dismuke, C. E. (2016) · Journal of General Internal Medicine · doi:10.1007/s11606-016-3650-1 · Cited by 70
Valero-Elizondo, J., Salami, J. A., Ogunmoroti, O., Osondu, C. U., Aneni, E. C., Malik, R., Spatz, E. S., Rana, J. S., Virani, S. S., Blankstein, R., et al. (2016) · Circulation: Cardiovascular Quality and Outcomes · doi:10.1161/circoutcomes.115.002616 · Cited by 51
Olfson, M., Amos, T. B., Benson, C., McRae, J., & Marcus, S. C. (2018) · Journal of Managed Care & Specialty Pharmacy · doi:10.18553/jmcp.2018.24.3.226 · Cited by 48
Le, L. K.-D., Sanci, L., Chatterton, M. L., Kauer, S., Buhagiar, K., & Mihalopoulos, C. (2019) · Journal of Medical Internet Research · doi:10.2196/13065 · Cited by 35
Osondu, C. U., Aneni, E. C., Valero-Elizondo, J., Salami, J. A., Rouseff, M., Das, S., Guzman, H., Younus, A., Ogunmoroti, O., Feldman, T., et al. (2017) · Mayo Clinic Proceedings · doi:10.1016/j.mayocp.2016.12.026 · Cited by 32
van den Broek-Altenburg, E., Atherly, A., & Holladay, E. (2022) · BMC Public Health · doi:10.1186/s12889-022-13176-y · Cited by 27
“Expenditures were modelled using Generalized Linear Models (GLM) for total and non- inpatient expenditures; inpatient and drugs spending were modelled using two-part models (TPM) [20, 21] For all the expenditures classes, we performed a Modified Park test to identify the distribution of the expenditure data and the co…”
MethodInfluentialChu, J., Benjenk, I., & Chen, J. (2021) · The American Journal of Geriatric Psychiatry · doi:10.1016/j.jagp.2020.09.020 · Cited by 17
Acciai, F., Srinivasan, M., & Ohri-Vachaspati, P. (2021) · American Journal of Preventive Medicine · doi:10.1016/j.amepre.2021.05.008 · Cited by 17
Galante, J., Montero-Marín, J., Vainre, M., Dufour, G., García-Campayo, J., & Jones, P. B. (2024) · PLoS ONE · doi:10.1371/journal.pone.0305928 · Cited by 13
“A joint statistical test of significance for both parts of the two-part model employed a simultaneous covariance matrix of the sandwich estimator to correct the Wald test formula [52].”
Feldman, D. I., Valero-Elizondo, J., Salami, J. A., Rana, J. S., Ogunmoroti, O., Osondu, C. U., Spatz, E. S., Virani, S. S., Blankstein, R., Blaha, M. J., et al. (2017) · Atherosclerosis · doi:10.1016/j.atherosclerosis.2017.02.004 · Cited by 11
Okunrintemi, V., Benson, E.-M. A., Derbal, O., Miedema, M. D., Blumenthal, R. S., Tibuakuu, M., Ogunmoroti, O., Khan, S. U., Mamas, M. A., Gulati, M., et al. (2020) · American Journal of Preventive Cardiology · doi:10.1016/j.ajpc.2020.100083 · Cited by 9
You’ll never walk alone—The effects of walkability on pregnancy behaviors and outcomes
Conway, K. S., & Menclova, A. K. (2023) · Economics & Human Biology · doi:10.1016/j.ehb.2023.101269 · Cited by 7
Coronary plaque burden in Turner syndrome a coronary computed tomography angiography study
Funck, K. L., Budde, R. P. J., Viuff, M. H., Wen, J., Jensen, J. M., Nørgaard, B. L., Bons, L. R., Duijnhouwer, A. L., Dey, D., Mortensen, K. H., et al. (2021) · Heart and Vessels · doi:10.1007/s00380-020-01660-7 · Cited by 6
Metadata
- Authors
- Belotti, F., Deb, P., Manning, W. G., & Norton, E. C.
- Venue
- The Stata Journal: Promoting communications on statistics and Stata
- Publisher
- SAGE Publications
- Published
- 2015-04
- Volume
- 15
- Issue
- 1
- Pages
- 3-20
- ISSN
- 1536-867X (ISSN-L)
- 1536-8734
- OpenAlex
- W263154455
- Cited by
- 598
- References
- 21
- FWCI
- 34.16
- Type
- journal article
- Language
- en
- Open access
- bronze
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.