The DOI matches its Crossref record.
Using the Margins Command to Estimate and Interpret Adjusted Predictions and Marginal Effects
Open accessAbstract
Many researchers and journals place a strong emphasis on the sign and statistical significance of effects—but often there is very little emphasis on the substantive and practical significance of the findings. As Long and Freese (2006, Regression Models for Categorical Dependent Variables Using Stata [Stata Press]) show, results can often be made more tangible by computing predicted or expected values for hypothetical or prototypical cases. Stata 11 introduced new tools for making such calculations—factor variables and the margins command. These can do most of the things that were previously done by Stata's own adjust and mfx commands, and much more. Unfortunately, the complexity of the margins syntax, the daunting 50-page reference manual entry that describes it, and a lack of understanding about what margins offers over older commands that have been widely used for years may have dissuaded some researchers from examining how the margins command could benefit them. In this article, therefore, I explain what adjusted predictions and marginal effects are, and how they can contribute to the interpretation of results. I further explain why older commands, like adjust and mfx, can often produce incorrect results, and how factor variables and the margins command can avoid these errors. The relative merits of different methods for setting representative values for variables in the model (marginal effects at the means, average marginal effects, and marginal effects at representative values) are considered. I shows how the marginsplot command (introduced in Stata 12) provides a graphical and often much easier means for presenting and understanding the results from margins, and explain why margins does not present marginal effects for interaction terms.
Overview
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
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
Cited by
Muller, C. J., & MacLehose, R. F. (2014) · International Journal of Epidemiology · doi:10.1093/ije/dyu029 · Cited by 775
Race, Space, and Cumulative Disadvantage: A Case Study of the Subprime Lending Collapse
Rugh, J. S., Albright, L., & Massey, D. S. (2015) · Social Problems · doi:10.1093/socpro/spv002 · Cited by 286
ED door-to-antibiotic time and long-term mortality in sepsis.
Peltan, I. D., Brown, S. M., Bledsoe, J. R., Sorensen, J., Samore, M. H., Allen, T. L., & Hough, C. L. (2019) · Chest · doi:10.1016/j.chest.2019.02.008 · Cited by 243
Intensive treatment and severe hypoglycemia among adults with type 2 diabetes
McCoy, R. G., Lipska, K. J., Yao, X., Ross, J. S., Montori, V. M., & Shah, N. D. (2016) · JAMA Internal Medicine · doi:10.1001/jamainternmed.2016.2275 · Cited by 143
Bornmann, L., & Marx, W. (2015) · Journal of Informetrics · doi:10.1016/j.joi.2015.01.006 · Cited by 138
Metadata
- Authors
- Williams, R.
- Venue
- The Stata Journal: Promoting communications on statistics and Stata
- Publisher
- SAGE Publications
- Published
- 2012-06
- Volume
- 12
- Issue
- 2
- Pages
- 308-331
- ISSN
- 1536-867X (ISSN-L)
- 1536-8734
- OpenAlex
- W1547683213
- Cited by
- 2,141
- References
- 0
- FWCI
- 46.74
- 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
How to cite
Cite CoChat for the checks on this page, and the paper for its own findings.
- This page
- CoChat. (2026). Citation check: Using the Margins Command to Estimate and Interpret Adjusted Predictions and Marginal Effects. https://app.cochat.ai/papers/10.1177/1536867x1201200209
- The paper
- Williams, R. (2012). Using the Margins Command to Estimate and Interpret Adjusted Predictions and Marginal Effects. The Stata Journal: Promoting communications on statistics and Stata. https://doi.org/10.1177/1536867x1201200209
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.