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: RE: Box plots
From
"Nick Cox" <[email protected]>
To
<[email protected]>
Subject
st: RE: Box plots
Date
Thu, 25 Mar 2010 19:49:22 -0000
The following analogue works as intended:
sysuse auto
graph hbox mpg, over(foreign, relabel(1 "Yes" 2 "No"))
You should follow the help on this. The help points to the help for
-graph bar- in which it is explained that the numbers refer to the
first, second, etc. box plots and have _no_ connection of the values of
the -over()- variable.
Nick
[email protected]
Sridhar Telidevara
The following command for the horizontal box plot,
graph hbox prlogit4, over(mconf, relabel(0 "No" 1 "Yes"))
does not label the categories of mconf properly. It prints a "Yes" for
0 and 1 for 1, instead of "No" for 0 and "Yes" for 1.
*
* 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/