Test for funnel plot asymmetry, based on rank correlation or linear regression method.
metabias(x, ...)# S3 method for default
metabias(x, seTE, method.bias = "linreg",
plotit = FALSE, correct = FALSE, k.min = 10, ...)
# S3 method for meta
metabias(x, method.bias = x$method.bias, plotit = FALSE,
correct = FALSE, k.min = 10, ...)
# S3 method for metabias
print(x, ...)
An object of class meta
or estimated treatment
effect in individual studies.
Additional arguments (ignored at the moment).
Standard error of estimated treatment effect (mandatory
if x
not of class meta
).
A character string indicating which test is to
be used. Either "rank"
, "linreg"
, "mm"
,
"count"
, "score"
, or "peters"
, can be
abbreviated.
A logical indicating whether a plot should be
produced for method.bias "rank"
, "linreg"
,
"mm"
, or "score"
.
A logical indicating whether a continuity corrected
statistic is used for rank correlation methods "rank"
and
"count"
.
Minimum number of studies to perform test for funnel plot asymmetry.
A list with class htest
containing the following components
if a test for funnel plot asymmetry is conducted:
The estimated degree of funnel plot asymmetry, with
name "ks"
or "bias"
corresponding to the method
employed, i.e., rank correlation or regression method.
The value of the test statistic.
The degrees of freedom of the test statistic in the case that it follows a t distribution.
The p-value for the test.
A character string describing the alternative hypothesis.
A character string indicating what type of test was used.
A character string giving the names of the data.
Title of Cochrane review.
Comparison label.
Outcome label.
Version of R package meta used to create object.
Or a list with the following elements if test is not conducted due to the number of studies:
Number of studies in meta-analysis.
Minimum number of studies to perform test for funnel plot asymmetry.
Version of R package meta used to create object.
Functions to conduct rank correlation or linear regression tests for funnel plot asymmetry.
Following recommendations by Sterne et al. (2011), by default, a
test for funnel plot asymmetry is only conducted if the number of
studies is ten or larger (argument k.min = 10
). This
behaviour can be changed by setting a smaller value for argument
k.min
. Note, the minimum number of studies is three.
If argument method.bias
is "rank"
, the test statistic
is based on the rank correlation between standardised treatment
estimates and variance estimates of estimated treatment effects;
Kendall's tau is used as correlation measure (Begg & Mazumdar,
1994). The test statistic follows a standard normal
distribution. By default (if correct
is FALSE), no
continuity correction is utilised (Kendall & Gibbons, 1990).
If argument method.bias
is "linreg"
, the test
statistic is based on a weighted linear regression of the treatment
effect on its standard error (Egger et al., 1997). The test
statistic follows a t distribution with number of studies -
2
degrees of freedom.
If argument method.bias
is "mm"
, the test statistic
is based on a weighted linear regression of the treatment effect on
its standard error using the method of moments estimator for the
additive between-study variance component (method 3a in Thompson,
Sharp, 1999). The test statistic follows a t distribution with
number of studies - 2
degrees of freedom.
If argument method.bias
is "peters"
, the test
statistic is based on a weighted linear regression of the treatment
effect on the inverse of the total sample size using the variance
of the average event rate as weights (Peters et al., 2006). The
test statistic follows a t distribution with number of
studies - 2
degrees of freedom. This test is available for
meta-analyses comparing two binary outcomes or combining single
proportions, i.e. generated with functions metabin
and
metaprop
.
The following tests for funnel plot asymmetry are only available
for meta-analyses comparing two binary outcomes, i.e. meta-analyses
generated with the metabin
function.
If argument method.bias
is "count"
, the test
statistic is based on the rank correlation between a standardised
cell frequency and the inverse of the variance of the cell
frequency; Kendall's tau is used as correlation measure (Schwarzer
et al., 2007). The test statistic follows a standard normal
distribution. By default (if correct
is FALSE), no
continuity correction is utilised (Kendall & Gibbons, 1990).
If argument method.bias
is "score"
, the test
statistic is based on a weighted linear regression utilising
efficient score and score variance (Harbord et al., 2006,
2009). The test statistic follows a t distribution with
number of studies - 2
degrees of freedom.
In order to calculate an arcsine test for funnel plot asymmetry
(R<U+00FC>cker et al., 2008), one has to use the metabin
function
with argument sm = "ASD"
as input to the metabias
command. The three arcsine tests described in R<U+00FC>cker et al. (2008)
can be calculated by setting method.bias
to "rank"
,
"linreg"
and "mm"
, respectively.
If argument method.bias
is missing, the Harbord test
(method.bias = "score"
) is used for the odds ratio as effect
measure and the Egger test (method.bias = "linreg"
) for
other effect measures (Sterne et al., 2011).
No test for funnel plot asymmetry is conducted in meta-analyses with subgroups.
Begg CB & Mazumdar M (1994): Operating characteristics of a rank correlation test for publication bias. Biometrics, 50, 1088--101
Egger M, Smith GD, Schneider M & Minder C (1997): Bias in meta-analysis detected by a simple, graphical test. British Medical Journal, 315, 629--34
Harbord RM, Egger M & Sterne J (2006): A modified test for small-study effects in meta-analyses of controlled trials with binary endpoints. Statistics in Medicine, 25, 3443--57
Harbord RM, Harris RJ, Sterne JAC (2009): Updated tests for small-study effects in meta<U+2013>analyses. The Stata Journal, 9, 197--210
Kendall M & Gibbons JD (1990): Rank Correlation Methods. London: Edward Arnold
Peters JL, Sutton AJ, Jones DR, Abrams KR & Rushton L (2006): Comparison of two methods to detect publication bias in meta-analysis. Journal of the American Medical Association, 295, 676--80
R<U+00FC>cker G, Schwarzer G, Carpenter JR (2008): Arcsine test for publication bias in meta-analyses with binary outcomes. Statistics in Medicine, 27, 746--63
Schwarzer G, Antes G & Schumacher M (2007): A test for publication bias in meta-analysis with sparse binary data. Statistics in Medicine, 26, 721--33
Sterne, JAC et al. (2011): Recommendations for examining and interpreting funnel plot asymmetry in meta-analyses of randomised controlled trials. BMJ (Clinical research ed.), 343, 1
Thompson SG & Sharp, SJ (1999): Explaining heterogeneity in meta-analysis: a comparison of methods, Statistics in Medicine, 18, 2693--708
# NOT RUN {
data(Olkin95)
m1 <- metabin(event.e, n.e, event.c, n.c,
data = Olkin95, subset = 1:10,
sm = "RR", method = "I")
metabias(m1)
metabias(m1, plotit = TRUE)
metabias(m1, method.bias = "rank")
metabias(m1, method.bias = "rank", correct = TRUE)
metabias(m1, method.bias = "count")
metabias(m1, method.bias = "linreg")$p.value
# Arcsine test (based on linear regression)
#
m1.as <- update(m1, sm = "ASD")
metabias(m1.as)
# Same result (using function metabias.default)
metabias(m1.as$TE, m1.as$seTE)
# No test for funnel plot asymmetry calculated
#
m2 <- update(m1, subset = 1:5)
metabias(m2)
m3 <- update(m1, subset = 1:2)
metabias(m3)
# Test for funnel plot asymmetry calculated (use of argument k.min)
#
metabias(m2, k.min = 5)
# }
Run the code above in your browser using DataLab