Report

On binscatter


Abstract: Binscatter is a popular method for visualizing bivariate relationships and conducting informal specification testing. We study the properties of this method formally and develop enhanced visualization and econometric binscatter tools. These include estimating conditional means with optimal binning and quantifying uncertainty. We also highlight a methodological problem related to covariate adjustment that can yield incorrect conclusions. We revisit two applications using our methodology and find substantially different results relative to those obtained using prior informal binscatter methods. General purpose software in Python, R, and Stata is provided. Our technical work is of independent interest for the nonparametric partition-based estimation literature.

Keywords: binned scatter plot; regressogram; piecewise polynomials; partitioning estimators; nonparametric regressions; robust bias correction; uniform inference; binning selection;

JEL Classification: C14; C18; C21;

Access Documents

File(s): File format is application/pdf https://www.newyorkfed.org/medialibrary/media/research/staff_reports/sr881.pdf
Description: Full text

File(s): File format is text/html https://www.newyorkfed.org/research/staff_reports/sr881.html
Description: Summary

Authors

Bibliographic Information

Provider: Federal Reserve Bank of New York

Part of Series: Staff Reports

Publication Date: 2019-02-01

Number: 881

Note: Revised November 2023.