Journal article · 2012 · Open access

Using the Margins Command to Estimate and Interpret Adjusted Predictions and Marginal Effects

Richard Allen Williams

The Stata Journal Promoting communications on statistics and Stata, 12(2), 308–331 · Published 1 June 2012 · DOI 10.1177/1536867x1201200209

Free PDFView at the publisherCite this paper

In brief

“Using the Margins Command to Estimate and Interpret Adjusted Predictions and Marginal Effects” is a 2012 journal article by Richard Allen Williams, published in The Stata Journal Promoting communications on statistics and Stata. OpenAlex counts 2,212 citations as of 16 November 2026, which puts it in the top 7% of works published in 2012 by citations. It is open access: the full text is free to read at The Stata Journal Promoting communications on statistics and Stata.

Citations
2,212
Most cited in
2021 (272)
Field-weighted impact
40.61
References
3
Authors
1

Abstract

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.

Cite this paper

Formatted from the catalogue record. Check names, capitals and page numbers against the paper before you submit.

APA 7

Williams, R. A. (2012). Using the Margins Command to Estimate and Interpret Adjusted Predictions and Marginal Effects. The Stata Journal Promoting communications on statistics and Stata, 12(2), 308–331. https://doi.org/10.1177/1536867x1201200209

MLA 9

Williams, Richard Allen. “Using the Margins Command to Estimate and Interpret Adjusted Predictions and Marginal Effects.” The Stata Journal Promoting communications on statistics and Stata, vol. 12, no. 2, 2012, pp. 308–331. https://doi.org/10.1177/1536867x1201200209.

Chicago

Williams, Richard Allen. 2012. “Using the Margins Command to Estimate and Interpret Adjusted Predictions and Marginal Effects.” The Stata Journal Promoting communications on statistics and Stata 12 (2): 308–331. https://doi.org/10.1177/1536867x1201200209.

Harvard

Williams, R. A. (2012) ‘Using the Margins Command to Estimate and Interpret Adjusted Predictions and Marginal Effects’, The Stata Journal Promoting communications on statistics and Stata, 12(2), pp. 308–331. doi:10.1177/1536867x1201200209.

IEEE

R. A. Williams, “Using the Margins Command to Estimate and Interpret Adjusted Predictions and Marginal Effects,” The Stata Journal Promoting communications on statistics and Stata, vol. 12, no. 2, pp. 308–331, 2012, doi: 10.1177/1536867x1201200209.

BibTeX

@article{williams2012using,
  title     = {{Using the Margins Command to Estimate and Interpret Adjusted Predictions and Marginal Effects}},
  author    = {Williams, Richard Allen},
  journal   = {The Stata Journal Promoting communications on statistics and Stata},
  year      = {2012},
  volume    = {12},
  number    = {2},
  pages     = {308--331},
  doi       = {10.1177/1536867x1201200209},
  url       = {https://doi.org/10.1177/1536867x1201200209}
}

Download for a reference manager: BibTeX (.bib) · RIS for Zotero, Mendeley and EndNote (.ris)

Citations by year

YearCitationsShare of the best year
2017130130
2018142142
2019172172
2020201201
2021272272
2022269269
2023229229
2024195195
2025178178
2026180180

Its field-weighted citation impact is 40.61: it has been cited 40.61 times as often as the average work of the same field, type and year (1.00 is the world average).

Topic and keywords

Physical Sciences › Mathematics › Statistics and Probability › Statistical Methods and Bayesian Inference

  • marginal effects
  • factor variables
  • Stata
  • interaction terms
  • substantive significance
  • categorical dependent variables
  • average marginal effects
  • representative values

Work with this paper

Most-cited papers in Mathematics

All highly cited Mathematics papers

Questions about this paper

How do I cite this paper in APA style?

Williams, R. A. (2012). Using the Margins Command to Estimate and Interpret Adjusted Predictions and Marginal Effects. The Stata Journal Promoting communications on statistics and Stata, 12(2), 308–331. https://doi.org/10.1177/1536867x1201200209

How many times has this paper been cited?

2,212 times, according to OpenAlex on 16 November 2026. Google Scholar and Scopus count different sets of sources, so their numbers differ.

Is this paper free to read?

Yes. It is open access: read the free full text at The Stata Journal Promoting communications on statistics and Stata.

Who wrote this paper?

Richard Allen Williams.

What is the DOI of this paper?

10.1177/1536867x1201200209. The permanent link is https://doi.org/10.1177/1536867x1201200209.

Bibliographic data from OpenAlex (CC0), last checked 16 November 2026. ResearchGuru does not host this paper; the links go to the publisher or the repository that does.