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, is already up and running.

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

RE: st: Graphical challenge from Gelman blog

From   "Airey, David C" <>
To   "" <>
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


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.

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index