Bookmark and Share

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


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

st: updated package -binscatter- in SSC


From   Michael Stepner <stepner@mit.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: updated package -binscatter- in SSC
Date   Sun, 13 Oct 2013 13:45:30 -0400

-binscatter- has been updated in the SSC, with thanks to Kit Baum.

binscatter is a Stata routine which draws binned scatterplots,
providing a non-parametric method for visualizing the relationship
between two variables.  It groups an 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.

This update (version 7.00) corrects issues reported to me by e-mail,
with thanks to Art Burke, Laszlo Sandor and Raj Chetty for reporting
them.  It also runs faster than previous versions, and has added
documentation on how binscatter handles by-variables.

When given a by(variable), -binscatter- plots separate series for each
by-value, but there are 2 important steps in which it performs
computations that do not treat the by-values separately.  These are
now described in detail in the help file, along with suggested
procedures for users who wish to obtain an alternative behaviour.

Changelog from version 6.02:
- version requirement increased to Stata 12.1
- refusal to accept weights fixed. -binscatter- supports fweights and aweights.
- crash with string by-variable fixed.
- correctly plots conditional x-means when combined with by().
previous versions incorrectly plotted the unconditional x-mean against
the conditional y-mean.
- bundled -fastxtile- updated to 1.21 (corrects loss of numerical precision)
- added documentation on by-variable procedures
- runs faster than earlier versions
- can be run quietly

If you've already installed binscatter, you can update it by running
-adoupdate-.  To install it for the first time, run -ssc install
binscatter-.

Best,
Michael
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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