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: RE: Box plots


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: RE: Box plots
Date   Thu, 25 Mar 2010 20:49:14 +0100

<>

You want to count from 1 up for this thing to work:


*******

clear*
set obs 10000

gen prlogit4= rnormal()  
gen mconf= runiform()<.4  

graph hbox prlogit4, /* 
 */  over(mconf, relabel(1 "No" 2 "Yes"))


*******


HTH
Martin


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Sridhar
Telidevara
Sent: Donnerstag, 25. März 2010 20:42
To: [email protected]
Subject: st: Box plots

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.

Can somebody help me with this?


Thanks,

Sridhar Telidevara
*
*   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/


*
*   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