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: new package -cmogram- available from SSC


From   Christopher Robert <[email protected]>
To   statalist <[email protected]>
Subject   st: new package -cmogram- available from SSC
Date   Thu, 22 Jul 2010 05:35:15 -0400

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/


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