Binscatter Estimation and Inference

Provides tools for statistical analysis using the binscatter methods developed by Cattaneo, Crump, Farrell and Feng (2019a) and Cattaneo, Crump, Farrell and Feng (2019b) . Binscatter provides a flexible way of describing the mean relationship between two variables based on partitioning/binning of the independent variable of interest. binsreg() implements binscatter estimation and robust (pointwise and uniform) inference of regression functions and derivatives thereof, with particular focus on constructing binned scatter plots. binsregtest() implements hypothesis testing procedures for parametric functional forms of and nonparametric shape restrictions on the regression function. binsregselect() implements data-driven procedures for selecting the number of bins for binscatter estimation. All the commands allow for covariate adjustment, smoothness restrictions and clustering.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.2.0 by Yingjie Feng, a year ago

Browse source code at

Authors: Matias D. Cattaneo , Richard K. Crump , Max H. Farrell , Yingjie Feng

Documentation:   PDF Manual  

GPL-2 license

Imports ggplot2, sandwich

See at CRAN