Name File Type Size Last Modified
  AER-CCFF-ReplicationCode 01/05/2024 12:08:PM

Project Citation: 

Cattaneo, Matias , Crump, Richard, Farrell, Max H, and Feng, Yingjie. Data and Code for On Binscatter. Nashville, TN: American Economic Association [publisher], 2024. Ann Arbor, MI: Inter-university Consortium for Political and Social Research [distributor], 2024-04-05. https://doi.org/10.3886/E195103V1

Project Description

Summary:  View help for Summary 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.

Scope of Project

Subject Terms:  View help for Subject Terms Nonparametrics; binscatter; uniform inference
JEL Classification:  View help for JEL Classification
      C01 Econometrics
      C14 Semiparametric and Nonparametric Methods: General
Data Type(s):  View help for Data Type(s) observational data; program source code


Related Publications

Published Versions

Export Metadata

Report a Problem

Found a serious problem with the data, such as disclosure risk or copyrighted content? Let us know.

This material is distributed exactly as received from the data depositor. As of April 2026, depositors are required to submit study materials in accessible formats. ICPSR has not reviewed, checked, or processed this material. For additional information about the study, please contact the investigator(s) directly. If you have questions about the accessibility of materials distributed by ICPSR or require further assistance, please visit ICPSR's Accessibility Center.