IDEAS home Printed from https://ideas.repec.org/p/arx/papers/1902.09615.html
   My bibliography  Save this paper

Binscatter Regressions

Author

Listed:
  • Matias D. Cattaneo
  • Richard K. Crump
  • Max H. Farrell
  • Yingjie Feng

Abstract

We introduce the Stata package Binsreg, which implements the binscatter methods developed in Cattaneo, Crump, Farrell and Feng (2023a,b). The package includes seven commands: binsreg, binslogit, binsprobit, binsqreg, binstest, binspwc, and binsregselect. The first four commands implement point estimation and uncertainty quantification (confidence intervals and confidence bands) for canonical and extended least squares binscatter regression (binsreg) as well as generalized nonlinear binscatter regression (binslogit for Logit regression, binsprobit for Probit regression, and binsqreg for quantile regression). These commands also offer binned scatter plots, allowing for one- and multi-sample settings. The next two commands focus on pointwise and uniform inference: binstest implements hypothesis testing procedures for parametric specifications and for nonparametric shape restrictions of the unknown regression function, while binspwc implements multi-group pairwise statistical comparisons. These two commands cover both least squares as well as generalized nonlinear binscatter methods. All our methods allow for multi-sample analysis, which is useful when studying treatment effect heterogeneity in randomized and observational studies. Finally, the command binsregselect implements data-driven number of bins selectors for binscatter methods using either quantile-spaced or evenly-spaced binning/partitioning. All the commands allow for covariate adjustment, smoothness restrictions, weighting and clustering, among many other features. Companion Python and R packages with similar syntax and capabilities are also available.

Suggested Citation

  • Matias D. Cattaneo & Richard K. Crump & Max H. Farrell & Yingjie Feng, 2019. "Binscatter Regressions," Papers 1902.09615, arXiv.org, revised Jul 2023.
  • Handle: RePEc:arx:papers:1902.09615
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/1902.09615
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Sebastian Calonico & Matias D. Cattaneo & Max H. Farrell, 2018. "On the Effect of Bias Estimation on Coverage Accuracy in Nonparametric Inference," Journal of the American Statistical Association, Taylor & Francis Journals, vol. 113(522), pages 767-779, April.
    2. Raj Chetty & John N. Friedman & Tore Olsen & Luigi Pistaferri, 2011. "Adjustment Costs, Firm Responses, and Micro vs. Macro Labor Supply Elasticities: Evidence from Danish Tax Records," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 126(2), pages 749-804.
    3. Raj Chetty & Adam Looney & Kory Kroft, 2009. "Salience and Taxation: Theory and Evidence," American Economic Review, American Economic Association, vol. 99(4), pages 1145-1177, September.
    4. Raj Chetty & John N. Friedman & Nathaniel Hilger & Emmanuel Saez & Diane Whitmore Schanzenbach & Danny Yagan, 2011. "How Does Your Kindergarten Classroom Affect Your Earnings? Evidence from Project Star," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 126(4), pages 1593-1660.
    5. Sebastian Calonico & Matias D. Cattaneo & Rocio Titiunik, 2014. "Robust Nonparametric Confidence Intervals for Regression‐Discontinuity Designs," Econometrica, Econometric Society, vol. 82, pages 2295-2326, November.
    6. Matias D. Cattaneo & Max H. Farrell & Yingjie Feng, 2018. "Large Sample Properties of Partitioning-Based Series Estimators," Papers 1804.04916, arXiv.org, revised Jun 2019.
    7. Michael Stepner, 2014. "Binned Scatterplots: introducing -binscatter- and exploring its applications," 2014 Stata Conference 4, Stata Users Group.
    Full references (including those not matched with items on IDEAS)

    Citations

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


    Cited by:

    1. Evan Starr & Brent Goldfarb, 2020. "Binned scatterplots: A simple tool to make research easier and better," Strategic Management Journal, Wiley Blackwell, vol. 41(12), pages 2261-2274, December.
    2. Crump, Richard K. & Eusepi, Stefano & Tambalotti, Andrea & Topa, Giorgio, 2022. "Subjective intertemporal substitution," Journal of Monetary Economics, Elsevier, vol. 126(C), pages 118-133.
    3. Raphael Brade, 2024. "Short-Term Events, Long-Term Friends? Freshman Orientation Peers and Academic Performance," CESifo Working Paper Series 11046, CESifo.

    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. Matias D. Cattaneo & Richard K. Crump & Max H. Farrell & Yingjie Feng, 2024. "On Binscatter," American Economic Review, American Economic Association, vol. 114(5), pages 1488-1514, May.
      • Matias D. Cattaneo & Richard K. Crump & Max H. Farrell & Yingjie Feng, 2019. "On binscatter," Staff Reports 881, Federal Reserve Bank of New York.
      • Matias D. Cattaneo & Richard K. Crump & Max H. Farrell & Yingjie Feng, 2019. "On Binscatter," Papers 1902.09608, arXiv.org, revised Apr 2024.
    2. Jarkko Harju & Tuomas Matikka & Timo Rauhanen, 2016. "The Effects of Size-Based Regulation on Small Firms: Evidence from VAT Threshold," CESifo Working Paper Series 6115, CESifo.
    3. Andreas R. Kostøl & Andreas S. Myhre, 2021. "Labor Supply Responses to Learning the Tax and Benefit Schedule," American Economic Review, American Economic Association, vol. 111(11), pages 3733-3766, November.
    4. Blundell, Richard & Francesconi, Marco & van der Klaauw, Wilbert, 2011. "Anatomy of Welfare Reform Evaluation: Announcement and Implementation Effects," IZA Discussion Papers 6050, Institute of Labor Economics (IZA).
    5. Annette Alstadsæter & Wojciech Kopczuk & Kjetil Telle, 2019. "Social networks and tax avoidance: evidence from a well-defined Norwegian tax shelter," International Tax and Public Finance, Springer;International Institute of Public Finance, vol. 26(6), pages 1291-1328, December.
    6. Kim, Jinyoung & Kim, Seonghoon & Koh, Kanghyock, 2022. "Labor market institutions and the incidence of payroll taxation," Journal of Public Economics, Elsevier, vol. 209(C).
    7. Britto, Diogo G.C. & Fiorin, Stefano, 2020. "Corruption and legislature size: Evidence from Brazil," European Journal of Political Economy, Elsevier, vol. 65(C).
    8. Mellace, Giovanni & Ventura, Marco, 2019. "Intended and unintended effects of public incentives for innovation. Quasi-experimental evidence from Italy," Discussion Papers on Economics 9/2019, University of Southern Denmark, Department of Economics.
    9. Albanese, Andrea & Picchio, Matteo & Ghirelli, Corinna, 2020. "Timed to Say Goodbye: Does Unemployment Benefit Eligibility Affect Worker Layoffs?," Labour Economics, Elsevier, vol. 65(C).
    10. Canaan, Serena & Mouganie, Pierre & Zhang, Peng, 2022. "The Long-Run Educational Benefits of High-Achieving Classrooms," IZA Discussion Papers 15039, Institute of Labor Economics (IZA).
    11. R. Lardeux, 2018. "Who Understands The French Income Tax? Bunching Where Tax Liabilities Start," Documents de Travail de l'Insee - INSEE Working Papers g2018-04, Institut National de la Statistique et des Etudes Economiques.
    12. Elert, Niklas & Henrekson, Magnus & Stenkula, Mikael, 2017. "Institutional Reform for Innovation and Entrepreneurship: An Agenda for Europe," Working Paper Series 1150, Research Institute of Industrial Economics, revised 16 Feb 2017.
    13. Traxler, Christian & Westermaier, Franz G. & Wohlschlegel, Ansgar, 2018. "Bunching on the Autobahn? Speeding responses to a ‘notched’ penalty scheme," Journal of Public Economics, Elsevier, vol. 157(C), pages 78-94.
    14. Bastani, Spencer & Giebe, Thomas & Miao, Chizheng, 2020. "Ethnicity and tax filing behavior," Journal of Urban Economics, Elsevier, vol. 116(C).
    15. Eric Zwick & James Mahon, 2014. "Do financial frictions amplify fiscal policy? Evidence from business investment stimulus," Working Papers 1415, Oxford University Centre for Business Taxation.
    16. Waldenstrom, Daniel & Bastani, Spencer, 2020. "The Ability Gradient in Bunching," CEPR Discussion Papers 14599, C.E.P.R. Discussion Papers.
    17. Christina Korting & Carl Lieberman & Jordan Matsudaira & Zhuan Pei & Yi Shen, 2023. "Visual Inference and Graphical Representation in Regression Discontinuity Designs," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 138(3), pages 1977-2019.
    18. Kosonen, Tuomas & Matikka, Tuomas, 2020. "Discrete Labor Supply: Empirical Evidence and Implications," Working Papers 132, VATT Institute for Economic Research.
    19. Persson, Petra & Rossin-Slater, Maya, 2019. "When Dad Can Stay Home: Fathers' Workplace Flexibility and Maternal Health," IZA Discussion Papers 12386, Institute of Labor Economics (IZA).
    20. Germ'an Reyes, 2022. "Coarse Wage-Setting and Behavioral Firms," Papers 2206.01114, arXiv.org, revised Mar 2024.

    More about this item

    Statistics

    Access and download statistics

    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:arx:papers:1902.09615. 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: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    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.