st: new package -cmogram- available from SSC

Thanks to Kit Baum, -cmogram- is now available from SSC.
cmogram yvar xvar [if] [, options ]
cmogram graphs the means, medians, frequencies, or proportions of
yvar, conditional on xvar. By default, bins are defined along the x
axis as they are by histogram. Alternatively, histogram options can be
used to override the default bin definitions, as in histopts(bin(10)).
The exact bin definitions are always output along with the graph(s).
While the default output style is similar to a histogram, the scatter
option allows for scatterplot-style output. For regression
discontinuity and similar applications, cutpoint(#) can be used to
split graphs at a particular x value. To plot conditional means or
medians of residuals, controls(...) can be used; the plotted residuals
will be after a regression of the form regress yvar controls.
by(...) allows subgroups to be plotted separately.
To install, type -ssc install cmogram-.
Chris
---
Christopher Robert
Ph.D. Candidate in Public Policy
John F. Kennedy School of Government
Harvard University
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/