[R-meta] Freeman-Tukey double arcsine transformation and harmonic mean
Viechtbauer Wolfgang (SP)
wolfgang.viechtbauer at maastrichtuniversity.nl
Fri Jul 7 15:41:31 CEST 2017
The first linked got mangled up. It is: http://www.metafor-project.org/doku.php/analyses:miller1978
The exact back/inverse transformation of the Freeman-Tukey (double arcsine) transformation requires that we specify the sample size for the transformed value. So:
dat <- escalc(measure="PFT", xi=4, ni=10)
1 0.6936 0.0238
yields a proportion of 0.4 as expected.
Now if you synthesize a whole bunch of transformed values and you want to back-transform that value to a proportion, you still need to specify some value for the sample size if you want to use the exact back-transformation. Miller (1978), who derived the back-transformation, suggested to use the harmonic mean of the sample sizes. That is what transf.ipft.hm() does. Using the harmonic mean of the sample sizes is a rather heuristic method that may or may not work so well. I would be interested in any published papers that show this to be a problem.
I don't know what MetaXL does for the back-transformation, but maybe it just pretends that the values are arcsine-square-root transformed proportions and then uses the back-transformation for that -- which does not require one to specify the sample size. The difference is typically negligible:
yields 0.4086998. But then, one might as well just do the meta-analysis directly with the AS transformed proportions:
dat <- escalc(measure="PAS", xi=4, ni=10)
1 0.6847 0.0250
gives back 0.4 exactly.
Or one could go directly to a logistic mixed-effects model for the analysis. You can do that with rma.glmm().
Wolfgang Viechtbauer, Ph.D., Statistician | Department of Psychiatry and
Neuropsychology | Maastricht University | P.O. Box 616 (VIJV1) | 6200 MD
Maastricht, The Netherlands | +31 (43) 388-4170 | http://www.wvbauer.com
>From: R-sig-meta-analysis [mailto:r-sig-meta-analysis-bounces at r-
>project.org] On Behalf Of Naike Wang
>Sent: Friday, July 07, 2017 15:25
>To: r-sig-meta-analysis at r-project.org
>Subject: [R-meta] Freeman-Tukey double arcsine transformation and harmonic
>I have two questions.
>1) In this article
>Dr. Wolfgang Viechtbauer used the harmonic mean of the sample sizes to
>back-transform the estimated average transformed proportion (the pooled
>proportion). If I don't want to use the harmonic mean, is it possible to
>use the *transf.ipft*, instead of the *transf**=**transf.ipft.hm
><http://transf.ipft.hm>*, to get the pooled proportion? If so, how do I do
>2) One of the reasons I asked the question is due to this article:
>authors of this article developed an Exel-based meta-analysis add-in
>(MetaXL). MetaXL uses a different method to perform the double arcsine
>transformation. The differences are two-fold.
>First, MetaXL uses a different definition of the Freeman-Tukey
>transformation. The PFT values (yi) are twice as large as the values
>computed by metafor and the variances (vi) are four times as large. The
>different definitions are also explained here
>Second, it does not use the harmonic mean to perform the
>back-transformation. According to the authors, it is better not to use the
>harmonic mean because their simulation studies suggest that the harmonic
>mean is not stable.
>Basically, I'm asking how to get metafor to get the same results as
>obtained in MetaXL? Do you agree with the MetaXL authors that it is better
>not to use the harmonic mean?
>I hope my questions make sense. Feel free to ask me anything if you don't
>P.S. Dowload MetaXL here: http://www.epigear.com/index_files/metaxl.html
>P.S.S. After you install MetaXL, open example "SchizophreniaPrev" to get a
>sense of how it performs meta-analysis of proportions.
More information about the R-sig-meta-analysis