Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

Re: st: Twoway Range Plots


From   Nick Cox <njcoxstata@gmail.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: Twoway Range Plots
Date   Mon, 17 Jun 2013 22:56:51 +0100

You need numeric axes for -twoway-. What is the difficulty in showing
value labels?

twoway rcap min max x || scatter mean x

is one of several ways to show min, max and mean together.

Nick
njcoxstata@gmail.com

On 17 June 2013 20:54, Erika Kociolek <ekociole@gmail.com> wrote:

> I have a question about the range plots that can be generated using
> Stata's twoway command. Is there any way to generate these plots with
> a string variable on the x-axis? I tried encoding the string variable
> of interest and plotting that (which works) but I cannot figure out
> how to plot the labels of the encoded string variable on the x-axis.
>
> Also, I really would like to show the min, mean, and max on a range
> plot, but am not sure if that can be done (looks like twoway only
> takes min/max inputs). Are there other ways to achieve this?
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index