"rma.uni"
.
"influence"(model, digits, ...)
"print"(x, digits, ...)
"cooks.distance"(model, ...)
"dfbetas"(model, ...)
"hatvalues"(model, type="diagonal", ...)
"rma.uni"
."infl.rma.uni"
(for print
)."diagonal"
) or the entire hat matrix ("matrix"
)."infl.rma.uni"
. The object is a list containing the following components:
print.infl.rma.uni
and plotted with plot.infl.rma.uni
.
influence
function calculates the following leave-one-out diagnostics for each study:
For details on externally standardized residuals, see rstudent.rma.uni
.
The DFFITS value essentially indicates how many standard deviations the predicted (average) effect for the $i$th study changes after excluding the $i$th study from the model fitting.
Cook's distance can be interpreted as the Mahalanobis distance between the entire set of predicted values once with the $i$th study included and once with the $i$th study excluded from the model fitting.
The covariance ratio is defined as the determinant of the variance-covariance matrix of the parameter estimates based on the dataset with the $i$th study removed divided by the determinant of the variance-covariance matrix of the parameter estimates based on the complete dataset. A value below 1 therefore indicates that removal of the $i$th study yields more precise estimates of the model coefficients.
The leave-one-out amount of (residual) heterogeneity is the estimated value of \tau² based on the dataset with the $i$th study removed. Note that this is always equal to 0
for fixed-effects models.
Similarly, the leave-one-out test statistic for the test of (residual) heterogeneity is the value of the test statistic of the test for (residual) heterogeneity calculated based on the dataset with the $i$th study removed.
Finally, the DFBETAS value(s) essentially indicate(s) how many standard deviations the estimated coefficient(s) change(s) after excluding the $i$th study from the model fitting.
A study may be considered to be influential if at least one of the following is true:
Cook, R. D., & Weisberg, S. (1982). Residuals and influence in regression. London: Chapman and Hall.
Hedges, L. V., & Olkin, I. (1985). Statistical methods for meta-analysis. San Diego, CA: Academic Press.
Viechtbauer, W. (2010). Conducting meta-analyses in R with the metafor package. Journal of Statistical Software, 36(3), 1--48. http://www.jstatsoft.org/v36/i03/.
Viechtbauer, W., & Cheung, M. W.-L. (2010). Outlier and influence diagnostics for meta-analysis. Research Synthesis Methods, 1, 112--125.
plot.infl.rma.uni
, rstudent.rma.uni
, weights.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)
influence(res)
plot(influence(res))
cooks.distance(res)
dfbetas(res)
hatvalues(res)
Run the code above in your browser using DataLab