Julien--
You can just make your own graph using the variables created by -metan-:
By default, metan adds the following new variables to the dataset:
_ES Effect size (ES)
_seES Standard error of ES
_selogES Standard error of log ES
_LCI Lower confidence limit for ES
_UCI Upper confidence limit for ES
_WT Study percentage weight
_SS Study sample size
and use the -xscale(log)- option and any others you like in the graph command.
E.g.
use http://fmwww.bc.edu/repec/bocode/m/metan_example_data, clear
replace tmean=tm+10
metan tsample tmean tsd csample cmean csd, by(type_study)
gsort type_study -id
g nid=_n
loc o "leg(off) yti(" ") yli(10.5) barw(.01) horiz color(gray white) yla("
forv i=1/20 {
loc o `"`o' `i' "`=id[`i']'" "'
}
loc o `"`o' , angle(0))"'
tw spike _UCI _LCI nid, `o' || sc nid _ES, name(notlog)
tw spike _UCI _LCI nid, xsc(log) `o' || sc nid _ES, xsc(log)
On Thu, Jun 26, 2008 at 6:50 AM, Nick Cox <[email protected]> wrote:
> I have not tried it but it seems that -metan- (from SJ 8(1)) should
> support -xsc(log)-.
>
> However, all that would do is take the graph that would be displayed and
> change that one detail. No calculations would be carried out on a log
> scale.
>
> Nick
> [email protected]
>
> Julien D.
>
> I would like to make a forest plot to graphicaly present results from
> stratified analyses with different subgroups (men, women, diabetics, no
> diabetics...)
> I use the METAN module with 3 cols table (OR, lower and upper confidence
>
> interval) but I am embarass with large confidence interval (1.7-52.3 for
>
> example) and would like to use a log scale for axis...
>
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/