"infl.rma.uni"
.
"plot"(x, plotinf=TRUE, plotdfb=FALSE, dfbnew=FALSE, logcov=TRUE, layout, slab.style=1, las=0, pch=21, bg="black", bg.infl="red", col.na="lightgray", ...)
"infl.rma.uni"
.TRUE
). Can also be a vector of up to 8 integers indicating which plots to draw (see Details for the numbers corresponding to the various plots).FALSE
). Can also be a vector of integers to indicate for which coefficient(s) to plot the DFBETAS values.FALSE
).TRUE
).par
). The most useful alternative to 0 is 3, so that the x-axis labels are drawn vertical to the axis.points
for other options."black"
)."red"
).NA
values in between (default is "lightgray"
).plotinf=TRUE
, the function plots the (1) externally standardized residuals, (2) DFFITS values, (3) Cook's distances, (4) covariance ratios, (5) leave-one-out \tau² estimates, (6) leave-one-out (residual) heterogeneity test statistics, (7) hat values, and (8) weights. If plotdfb=TRUE
, the DFBETAS values are also plotted either after confirming the page change (if newdfb=FALSE
) or on a separate device (if newdfb=TRUE
).A study may be considered to be influential if at least one of the following is true:
bg.infl
argument (the default is "red"
).The cut-offs described above are indicated in the plot with horizontal reference lines. In addition, on the plot of the externally standardized residuals, horizontal reference lines are drawn at -1.96, 0, and 1.96. On the plot of the hat values, a horizontal reference line is drawn at $p/k$. Since the sum of the hat values is equal to $p$, the value $p/k$ indicates equal hat values for all $k$ studies. Finally, on the plot of weights, a horizontal reference line is drawn at $100/k$, corresponding to the value for equal weights (in %) for all $k$ studies. Note that all weights will automatically be equal to each other when using unweighted model fitting. Also, the hat values will be equal to the weights values (except for their scaling) in models without moderators.
The chosen cut-offs are (somewhat) arbitrary. Substantively informed judgment should always be used when examining the influence of each study on the results.
Viechtbauer, W., & Cheung, M. W.-L. (2010). Outlier and influence diagnostics for meta-analysis. Research Synthesis Methods, 1, 112--125.
influence.rma.uni
### load BCG vaccine data
data(dat.bcg)
### meta-analysis of the log relative risks using a mixed-effects model
### with two moderators (absolute latitude and publication year)
res <- rma(measure="RR", ai=tpos, bi=tneg, ci=cpos, di=cneg,
mods = ~ ablat + year, data=dat.bcg)
plot(influence(res))
plot(influence(res), plotinf=1:4)
plot(influence(res), plotinf=1:4, layout=c(4,1))
plot(influence(res), plotdfb=TRUE)
Run the code above in your browser using DataLab