The binsreg package provides Stata and R 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 and SES-2019432.

Queries and Requests

Please email:

Major Upgrades coming in Fall 2020:

Stata Implementation

To install/update in Stata type:

net install binsreg, from( replace

R Implementation

To install/update in R type:



For source code and related files, visit binsreg repository.


Software and Implementation

Technical and Methodological