Report
Nonlinear Binscatter Methods
Abstract: Binscatters are a powerful tool for empirical work in the social, behavioral, and biomedical sciences. Available tools rely on least squares estimation of the conditional mean. We introduce novel binscatter methods based on nonlinear, possibly nonsmooth M-estimation, covering generalized linear, robust, and quantile regression models. We provide theoretical results and practical tools, including optimal bin selection, confidence bands, and statistical tests regarding functional form or shape restrictions. We demonstrate our methods by studying the relationship of income and (lack of) health insurance. We provide software for Python, R, and Stata. Our technical results may be of independent interest.
JEL Classification: C14; C18; C21;
https://doi.org/10.59576/sr.1110
Access Documents
File(s):
File format is application/pdf
https://www.newyorkfed.org/medialibrary/media/research/staff_reports/sr1110.pdf
Description: Full text
File(s):
File format is text/html
https://www.newyorkfed.org/research/staff_reports/sr1110.html
Description: Summary
Bibliographic Information
Provider: Federal Reserve Bank of New York
Part of Series: Staff Reports
Publication Date: 2024-08-01
Number: 1110
Note: Revised August 2026.