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: Graphical challenge from Gelman blog


From   "Airey, David C" <[email protected]>
To   "[email protected]" <[email protected]>
Subject   RE: st: Graphical challenge from Gelman blog
Date   Thu, 21 Apr 2011 16:17:49 -0500

.

> I'd reorder in a different way. The graphs you link to make comparisons easiest between activities and within countries, which is not the most interesting comparison, in my opinion. More interesting to compare between countries and within activity, like so:
> 
> bysort activity: egen mean = mean(hours)
> gen hrs_mean = hours - mean
> twoway bar hrs_mean country, horizontal by(activity , graphregion(color(white)) ixaxes note("")) lcolor(gs3) fcolor(gs3) barwidth(0.85) ytitle("") ylabel( 1(1)6 , valuelabel angle(0) nogrid tlength(0)) xline(0, lcolor(gs0)) yscale( lcolor(white) ) aspect(0.75) subtitle( , fcolor(white) lcolor(white) justification(left)) xtitle("hours above or below mean")
> 
> James


Nice.

First I'm moving the France, because I'm hungry and tired, and then I'm moving to Japan because I need a better paycheck.

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