
## S3 method for class 'meta':
metabias(x, method.bias=x$method.bias,
plotit=FALSE, correct=FALSE, k.min=10, ...)## S3 method for class 'default':
metabias(x, seTE, method.bias="linreg",
plotit=FALSE, correct=FALSE, k.min=10, ...)
meta
or estimated treatment
effect in individual studies.x
not of class meta
)."rank"
, "linreg"
, "mm"
,
"count"
, "score"
, or "peters"
, can be
abbreviated."rank"
, "linreg"
, "mm"
, or
"score"
."rank"
and "count"
."htest"
containing the following components
if a test for funnel plot asymmetry is conducted:"ks"
or "bias"
corresponding to the method
employed, i.e., rank correlation or regression method.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 "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). 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.
In order to calculate an arcsine test for funnel plot asymmetry
(Ruecker et al., 2008), one has to use the metabin
function
with argument sm="AS"
as input to the metabias
command. The three arcsine tests described in Ruecker 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.
Egger M, Smith GD, Schneider M & Minder C (1997), Bias in meta-analysis detected by a simple, graphical test. British Medical Journal, 315, 629--634.
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--3457.
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--680.
Ruecker G, Schwarzer G, Carpenter JR (2008) Arcsine test for publication bias in meta-analyses with binary outcomes. Statistics in Medicine, 27,746--763. Schwarzer G, Antes G & Schumacher M (2007), A test for publication bias in meta-analysis with sparse binary data. Statistics in Medicine, 26, 721--733.
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, doi: 10.1136/bmj.d4002 .
Thompson SG & Sharp, SJ (1999), Explaining heterogeneity in meta-analysis: A comparison of methods, Statistics in Medicine, 18, 2693--2708.
funnel
, funnel.meta
, metabin
, metacont
, metagen
data(Olkin95)
meta1 <- metabin(event.e, n.e, event.c, n.c,
data=Olkin95, subset=1:10,
sm="RR", method="I")
metabias(meta1)
metabias(meta1, plotit=TRUE)
metabias(meta1, method.bias="rank")
metabias(meta1, method.bias="rank", correct=TRUE)
metabias(meta1, method.bias="count")
metabias(meta1, method.bias="linreg")$p.value
##
## Arcsine test (based on linear regression):
##
meta1.as <- metabin(event.e, n.e, event.c, n.c,
data=Olkin95, subset=1:10,
sm="AS", method="I")
metabias(meta1.as)
##
## Same result (using function metabias.default):
##
metabias(meta1.as$TE, meta1.as$seTE)
##
## No test for funnel plot asymmetry calculated:
##
meta2 <- metabin(event.e, n.e, event.c, n.c,
data=Olkin95, subset=1:5,
sm="RR", method="I")
metabias(meta2)
meta3 <- metabin(event.e, n.e, event.c, n.c,
data=Olkin95, subset=1:2,
sm="RR", method="I")
metabias(meta3)
## Test for funnel plot asymmetry calculated
## (use of argument k.min):
##
metabias(meta2, k.min=5)
Run the code above in your browser using DataLab