EconPapers    
Economics at your fingertips  
 

Binscatter Regressions

Matias Cattaneo (), Richard Crump (), Max H. Farrell and Yingjie Feng

Papers from arXiv.org

Abstract: We introduce the \texttt{Stata} package \textsf{Binsreg}, which implements the binscatter methods developed in \citet*{Cattaneo-Crump-Farrell-Feng_2021_Binscatter}. The package includes seven commands: \texttt{binsreg}, \texttt{binslogit}, \texttt{binsprobit}, \texttt{binsqreg}, \texttt{binstest}, \texttt{binspwc}, and \texttt{binsregselect}. The first four commands implement point estimation and uncertainly quantification (confidence intervals and confidence bands) for canonical and extended least squares binscatter regression (\texttt{binsreg}) as well as generalized nonlinear binscatter regression (\texttt{binslogit} for Logit regression, \texttt{binsprobit} for Probit regression, \texttt{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: \texttt{binstest} implements hypothesis testing procedures for parametric specification and for nonparametric shape restrictions of the unknown regression function, while \texttt{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 \texttt{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 \texttt{Python} and \texttt{R} packages with similar syntax and capabilities are also available.

Date: 2019-02, Revised 2021-08
References: View references in EconPapers View complete reference list from CitEc
Citations: View citations in EconPapers (2) Track citations by RSS feed

Downloads: (external link)
http://arxiv.org/pdf/1902.09615 Latest version (application/pdf)

Related works:
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:arx:papers:1902.09615

Access Statistics for this paper

More papers in Papers from arXiv.org
Bibliographic data for series maintained by arXiv administrators ().

 
Page updated 2022-09-21
Handle: RePEc:arx:papers:1902.09615