IDEAS home Printed from https://ideas.repec.org/a/tsj/stataj/v12y2012i2p308-331.html
   My bibliography  Save this article

Using the margins command to estimate and interpret adjusted predictions and marginal effects

Author

Listed:
  • Richard Williams

    (University of Notre Dame)

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. Copyright 2012 by StataCorp LP.

Suggested Citation

  • Richard Williams, 2012. "Using the margins command to estimate and interpret adjusted predictions and marginal effects," Stata Journal, StataCorp LP, vol. 12(2), pages 308-331, June.
  • Handle: RePEc:tsj:stataj:v:12:y:2012:i:2:p:308-331
    Note: to access software from within Stata, net describe http://www.stata-journal.com/software/sj12-2/st0260/
    as

    Download full text from publisher

    File URL: http://www.stata-journal.com/article.html?article=st0260
    File Function: link to article purchase
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. J. Scott Long & Jeremy Freese, 2006. "Regression Models for Categorical Dependent Variables using Stata, 2nd Edition," Stata Press books, StataCorp LP, edition 2, number long2, March.
    2. A. Colin Cameron & Pravin K. Trivedi, 2010. "Microeconometrics Using Stata, Revised Edition," Stata Press books, StataCorp LP, number musr, March.
    3. Tamás Bartus, 2005. "Estimation of marginal effects using margeff," Stata Journal, StataCorp LP, vol. 5(3), pages 309-329, September.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Altorjai, Szilvia, 2013. "Over-qualification of immigrants in the UK," ISER Working Paper Series 2013-11, Institute for Social and Economic Research.
    2. Wölfel, Oliver & Heineck, Guido, 2012. "Parental risk attitudes and children's secondary school track choice," Economics of Education Review, Elsevier, vol. 31(5), pages 727-743.
    3. Kristin Mammen, 2020. "Children’s Gender and Investments from Nonresident Fathers," Journal of Family and Economic Issues, Springer, vol. 41(2), pages 332-349, June.
    4. Alexander C. Lewis & Arkangel M. Cordero & Rachael Xiong, 2021. "Too Red for Crowdfunding: The Legitimation and Adoption of Crowdfunding Across Political Cultures," Entrepreneurship Theory and Practice, , vol. 45(3), pages 471-504, May.
    5. Purwins, Nina & Schulze-Ehlers, Birgit, 2016. "Determinants of pig farmers’ participation in an animal welfare program," 26th International Food and Agribusiness Management Association (IFAMA) World Forum, 2016, Aarhus, Denmark 274784, International Food and Agribusiness Management Association (IFAMA).
    6. Brandon M. Boylan, 2016. "What drives ethnic terrorist campaigns? A view at the group level of analysis," Conflict Management and Peace Science, Peace Science Society (International), vol. 33(3), pages 250-272, July.
    7. Habibov, Nazim, 2012. "Early childhood care and education attendance in Central Asia," Children and Youth Services Review, Elsevier, vol. 34(4), pages 798-806.
    8. Saphores, Jean-Daniel M. & Ogunseitan, Oladele A. & Shapiro, Andrew A., 2012. "Willingness to engage in a pro-environmental behavior: An analysis of e-waste recycling based on a national survey of U.S. households," Resources, Conservation & Recycling, Elsevier, vol. 60(C), pages 49-63.
    9. Hernandez Tinoco, Mario & Holmes, Phil & Wilson, Nick, 2018. "Polytomous response financial distress models: The role of accounting, market and macroeconomic variables," International Review of Financial Analysis, Elsevier, vol. 59(C), pages 276-289.
    10. Morkoetter, Stefan & Stebler, Roman & Westerfeld, Simone, 2017. "Competition in the credit rating Industry: Benefits for investors and issuers," Journal of Banking & Finance, Elsevier, vol. 75(C), pages 235-257.
    11. Robert Wells & Roger Ham & P. N. (Raja) Junankar, 2016. "An examination of personality in occupational outcomes: antagonistic managers, careless workers and extraverted salespeople," Applied Economics, Taylor & Francis Journals, vol. 48(7), pages 636-651, February.
    12. Zhang, Chi & Managi, Shunsuke, 2020. "Functional social support and maternal stress: A study on the 2017 paid parental leave reform in Japan," Economic Analysis and Policy, Elsevier, vol. 65(C), pages 153-172.
    13. Christian Lippert & Alexander Zorn & Stephan Dabbert, 2014. "Econometric analysis of noncompliance with organic farming standards in Switzerland," Agricultural Economics, International Association of Agricultural Economists, vol. 45(3), pages 313-325, May.
    14. Ham, Roger & Junankar, Pramod N. (Raja) & Wells, Robert, 2009. "Antagonistic Managers, Careless Workers and Extraverted Salespeople: An Examination of Personality in Occupational Choice," IZA Discussion Papers 4193, Institute of Labor Economics (IZA).
    15. Cacchiarelli, Luca & Carbone, Anna & Esti, Marco & Laureti, Tiziana & Sorrentino, Alessandro, 2015. "Assessing the Value of Quality in the Italian Wine Market," 2015 Conference, August 9-14, 2015, Milan, Italy 211379, International Association of Agricultural Economists.
    16. Nazim Habibov & Elvin Afandi, 2015. "Pre- and Post-crisis Life-Satisfaction and Social Trust in Transitional Countries: An Initial Assessment," Social Indicators Research: An International and Interdisciplinary Journal for Quality-of-Life Measurement, Springer, vol. 121(2), pages 503-524, April.
    17. Cho, Sung Ju & McCarl, Bruce A. & Wu, Ximing, 2014. "Climate Change Adaptation and Shifts in Land Use for Major Crops in the U.S," 2014 Annual Meeting, July 27-29, 2014, Minneapolis, Minnesota 170015, Agricultural and Applied Economics Association.
    18. Marta Suárez-Varela & Roberto Martínez-Espiñeira, 2018. "A proposal for the analysis of price escalation within water tariffs: The impact of the Water Framework Directive in Spain," Environment and Planning C, , vol. 36(4), pages 726-749, June.
    19. Jinsuk Yang & Qing Hao & Mahmut Yaşar, 2023. "Institutional investors and cross‐border mergers and acquisitions: The 2000–2018 period," International Review of Finance, International Review of Finance Ltd., vol. 23(3), pages 553-583, September.
    20. Thomas Y. Mathä & Alessandro Porpiglia & Michael Ziegelmeyer, 2014. "Wealth differences across borders and the effect of real estate price dynamics: Evidence from two household surveys," BCL working papers 90, Central Bank of Luxembourg.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:tsj:stataj:v:12:y:2012:i:2:p:308-331. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F. Baum or Lisa Gilmore (email available below). General contact details of provider: http://www.stata-journal.com/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.