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: Sort studies in forest plot according to direction of effect after metan
From
"MacLennan, Graeme" <[email protected]>
To
"[email protected]" <[email protected]>
Subject
st: RE: Sort studies in forest plot according to direction of effect after metan
Date
Mon, 17 Dec 2012 07:53:38 +0000
Nick asked:
"Hi to all,
I was wondering if there is a way to sort study effects according to the direction of the effect in a forest plot after implementing the metan command.
I could rearrange the order of the studies in the data editor as a last measure."
-metan- then sort on _ES and re-do it. Example below using the dataset from the -metan- help file (read that for what -metan- stores as new variables), HTH, Graeme.
*** begin example ***
use http://fmwww.bc.edu/repec/bocode/m/metan_example_data, clear
metan tdeath tnodeath cdeath cnodeath
sort _ES
metan tdeath tnodeath cdeath cnodeath
*** end example ***
The University of Aberdeen is a charity registered in Scotland, No SC013683.
*
* 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/