EconPapers    
Economics at your fingertips  
 

Binscatter regressions

Matias Cattaneo, Richard Crump, Max Farrell and Yingjie Feng ()
Additional contact information
Yingjie Feng: Tsinghua University

Stata Journal, 2025, vol. 25, issue 1, 3-50

Abstract: In this article, we introduce the package binsreg, which implements the binscatter methods developed by Cattaneo et al. (2024a, arXiv:2407.15276 [stat.EM]; 2024b, American Economic Review 114: 1488–1514). The package com- prises seven commands: binsreg, binslogit, binsprobit, binsqreg, binstest, binspwc, and binsregselect. The first four commands implement binscatter plot- ting, point estimation, and uncertainty quantification (confidence intervals and confidence bands) for least-squares linear binscatter regression (binsreg) and for nonlinear binscatter regression (binslogit for logit regression, binsprobit for probit regression, and binsqreg for quantile regression). The next two commands focus on pointwise and uniform inference: binstest implements hypothesis test- ing procedures for parametric specifications and for nonparametric shape restric- tions of the unknown regression function, while binspwc implements multigroup pairwise statistical comparisons. The last command, binsregselect, implements data-driven number-of-bins selectors. The commands offer binned scatterplots and allow for covariate adjustment, weighting, clustering, and multisample anal- ysis, which is useful when studying treatment-effect heterogeneity in randomized and observational studies, among many other features.

Keywords: binsreg; binslogit; binsprobit; binsqreg; binstest; binspwc; bin- sregselect; binscatter; binned scatterplot; nonparametrics; semiparametrics; parti- tioning estimators; B-splines; tuning parameter selection; confidence bands; shape and specification testing (search for similar items in EconPapers)
Date: 2025
Note: to access software from within Stata, net describe http://www.stata-journal.com/software/sj25-1/st0765/
References: Add references at CitEc
Citations:

Downloads: (external link)
http://hdl.handle.net/10.1177/1536867X241233672

Related works:
Working Paper: Binscatter Regressions (2024) Downloads
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:tsj:stataj:v:25:y:2025:i:1:p:3-50

Ordering information: This journal article can be ordered from
http://www.stata-journal.com/subscription.html

DOI: 10.1177/1536867X251322960

Access Statistics for this article

Stata Journal is currently edited by Nicholas J. Cox and Stephen P. Jenkins

More articles in Stata Journal from StataCorp LLC
Bibliographic data for series maintained by Christopher F. Baum () and Lisa Gilmore ().

 
Page updated 2025-03-29
Handle: RePEc:tsj:stataj:v:25:y:2025:i:1:p:3-50