IDEAS home Printed from https://ideas.repec.org/c/boc/bocode/s457709.html
 

BINSCATTER: Stata module to generate binned scatterplots

Author

Listed:
  • Michael Stepner

Programming Language

Stata

Abstract

binscatter generates binned scatterplots, and is optimized for speed in large datasets. Binned scatterplots provide a non-parametric way of visualizing the relationship between two variables. With a large number of observations, a scatterplot that plots every data point would become too crowded to interpret visually. binscatter groups the x-axis variable into equal-sized bins, computes the mean of the x-axis and y-axis variables within each bin, then creates a scatterplot of these data points. It provides built-in options to control for covariates before plotting the relationship. It will also plot fit lines based on the underlying data, and can automatically handle regression discontinuities.

Suggested Citation

  • Michael Stepner, 2013. "BINSCATTER: Stata module to generate binned scatterplots," Statistical Software Components S457709, Boston College Department of Economics, revised 24 Nov 2013.
  • Handle: RePEc:boc:bocode:s457709
    Note: This module should be installed from within Stata by typing "ssc install binscatter". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
    as

    Download full text from publisher

    File URL: http://fmwww.bc.edu/repec/bocode/b/binscatter.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/b/binscatter.sthlp
    File Function: help file
    Download Restriction: no
    ---><---

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Joao Firmino & Luis C. Nunes & Silvia de Almeida & Susana Batista, 2020. "Student segregation across and within schools. The case of the Portuguese public school system," Nova SBE Working Paper Series wp633, Universidade Nova de Lisboa, Nova School of Business and Economics.
    2. Tomoya Mori & Jens Wrona, 2018. "Inter-city Trade," KIER Working Papers 995, Kyoto University, Institute of Economic Research.
    3. Mitchell Hoffman & Elizabeth Lyons, 2020. "A time to make laws and a time to fundraise? On the relation between salaries and time use for state politicians," Canadian Journal of Economics/Revue canadienne d'économique, John Wiley & Sons, vol. 53(3), pages 1318-1358, August.
    4. Tomoya Mori & Jens Wrona, 2021. "Centrality Bias in Inter-city Trade," KIER Working Papers 1056, Kyoto University, Institute of Economic Research.
    5. Guilherme Fowler A. Monteiro & Luciana Luk-Tai Yeung & Silvia Morales Q. Caleman & Leandro S. Pongeluppe, 2019. "Indigenous land demarcation conflicts in Brazil: Has the Supreme Court’s decision brought (in)stability?," European Journal of Law and Economics, Springer, vol. 48(2), pages 267-290, October.
    6. David S Jacks & Krishna Pendakur & Hitoshi Shigeoka, 2021. "Infant Mortality and the Repeal of Federal Prohibition," The Economic Journal, Royal Economic Society, vol. 131(639), pages 2955-2983.
    7. Scott L. Fulford & Scott Schuh, 2017. "Credit card utilization and consumption over the life cycle and business cycle," Working Papers 17-14, Federal Reserve Bank of Boston.
    8. Henning Finseraas & Marianne Røed & Pål Schøne, 2020. "Labour immigration and union strength," European Union Politics, , vol. 21(1), pages 3-23, March.
    9. Jingcheng Fu & Martin Sefton & Richard Upward, 2017. "Social comparisons in job search: experimental evidence," Discussion Papers 2017-10, The Centre for Decision Research and Experimental Economics, School of Economics, University of Nottingham.
    10. Isabel Z. Martínez, 2021. "Evidence from Unique Swiss Tax Data on the Composition and Joint Distribution of Income and Wealth," NBER Chapters, in: Measuring Distribution and Mobility of Income and Wealth, pages 105-142, National Bureau of Economic Research, Inc.
    11. Finseraas, Henning & Roed, Marianne & Schone, Pal, 2018. "Labour Immigration and Union Strength," IZA Discussion Papers 11723, Institute of Labor Economics (IZA).
    12. Jacob N. Miller, 2020. "The War On Drugs 2.0: Darknet Fentanyl'S Rise And The Effects Of Regulatory And Law Enforcement Action," Contemporary Economic Policy, Western Economic Association International, vol. 38(2), pages 246-257, April.
    13. Calogero Guccio & Domenico Lisi & Ilde Rizzo, 2019. "When the purchasing officer looks the other way: on the waste effects of debauched local environment in public works execution," Economics of Governance, Springer, vol. 20(3), pages 205-236, September.
    14. Scott L. Fulford & Scott Schuh, 2015. "Consumer revolving credit and debt over the life cycle and business cycle," Working Papers 15-17, Federal Reserve Bank of Boston.
    15. Gandil, Mikkel Høst, 2021. "Substitution Effects in College Admissions," Memorandum 3/2021, Oslo University, Department of Economics.

    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:boc:bocode:s457709. 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.

    We have no bibliographic references for this item. You can help adding them by using 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 (email available below). General contact details of provider: https://edirc.repec.org/data/debocus.html .

    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.