The binsreg
package provides Python, R and Stata implementations of binscatter methods, including partition selection, point estimation, pointwise and uniform inference methods, and graphical procedures.
This work was supported in part by the National Science Foundation through grants SES-1947805, SES-2019432, and SES-2241575.
Please email: binsreg@googlegroups.com
This package was first released in Winter 2019, and had one major upgrade in Summer 2021.
To install/update in Python type:
pip install binsreg
Help: PyPI repository.
Replication: py-script, plot illustration, data.
To install/update in R type:
install.packages('binsreg')
Help: R Manual, CRAN repository.
Replication: R-script, plot illustration, data.
To install/update in Stata type:
net install binsreg, from(https://raw.githubusercontent.com/nppackages/binsreg/master/stata) replace
Help: binsreg, binslogit, binsprobit, binsqreg, binstest, binspwc, binsregselect.
Replication files: do-file, plot illustration, data, speed test.
For source code and related files, visit binsreg
repository.
Cattaneo, Crump, Farrell and Feng (2024): On Binscatter.
American Economic Review 114(5): 1488-1514.
Supplemental Appendix
Cattaneo, Crump, Farrell and Feng (2024): Nonlinear Binscatter Methods.
Working paper.
Supplemental Appendix