Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: new package -binscatter- available in SSC

From   Michael Stepner <>
Subject   st: new package -binscatter- available in SSC
Date   Sat, 5 Oct 2013 22:16:41 -0400

-binscatter- is a Stata routine which draws binned scatterplots, and
is now available in the SSC.

Binned scatterplots provide a non-parametric method for visualizing
the relationship between two variables. With a large number of
observations, a scatterplot that plots every data point would become
too crowded to interpret visually. binscatter groups the x-axis
variable into equal-sized bins, computes the mean of the x-axis and
y-axis variables within each bin, then creates a scatterplot of these
data points.  The result is a non-parametric visualization of the
conditional expectation function.

binscatter has built-in options to control for covariates before
plotting the relationship. It will also plot fit lines based on the
underlying data, and can automatically handle regression
discontinuities.  It is optimized specifically for speed in large

For examples of existing work utilizing binscatter, see:
(first two figures on website, more in the paper)
(middle figure on website, more in the paper)

If you're interested, you can install the program via -ssc install binscatter-.

Best regards,
*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index