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 at the end of May, and its replacement, statalist.org is already up and running.


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

st: Sunflower plots - discrete data


From   "Allan Reese (Cefas)" <allan.reese@cefas.co.uk>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   st: Sunflower plots - discrete data
Date   Wed, 29 May 2013 14:56:01 +0000

I made a sunflower plot of count v dose data and counted the petals (she loves me not) because the number of observations at each dose was the same.  The petals did not report the correct number of observations, which I traced to a default setting in -sunflower- (and -twoway sunflower- ) of -light(3)-. So two coincident points are not identified on the default Stata sunflower plot.

As described (The Stata Journal Volume 5 Number 3: pp. 371-384), uncombined points are plotted at their natural position rather than centred in a cell, so -jitter(#)- would help. The -jitter - option is accepted but appears to have no action.

My suggestion would be to make the default -light(2)- as it can always be changed when the visible result is displeasing, but less obviously if the effect is not visible.  

Allan


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