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]

Re: st: Plot CEFs with histograms?


From   Nick Cox <njcoxstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Plot CEFs with histograms?
Date   Thu, 13 Dec 2012 17:37:23 +0000

It's not a good idea to assume or imply that everyone is an
econometrician and will therefore use the jargon CEF or recognize a
book by two words from its title. See Statalist FAQ on sensitivity to
others and giving complete references.

That said, there are several ways of doing similar plots. Here's one,
using -stripplot- (SSC):

sysuse auto, clear
egen mean = mean(mpg), by(rep78)
stripplot mpg , over(rep78) vertical stack ms(Sh) height(0.4) ///
addplot(connected mean rep78)

Nick

On Thu, Dec 13, 2012 at 2:44 PM, Guo Xu <digitalepourpre@gmail.com> wrote:

> Is there a way to plot CEFs like in the "Mostly Harmless" discussion?
>
> Like this:  http://guoxu.org/cef.png
>
> Any help is appreciated! Thanks,
*
*   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–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index