metacor.OP {metacor} | R Documentation |
Implements the Olkin-Pratt (DSL) fixed-effect meta-analytical approach with correlation coefficients as effect sizes, as described by Schulze (2004).
metacor.OP(r, n, labels, alpha = 0.05, plot = TRUE, xlim = c(-1, 1))
r |
vector of correlations |
n |
vector of sample sizes |
labels |
vector of the study names |
alpha |
alpha-level for the main test and for the confidence intervals |
plot |
logical; should a forest plot be returned? |
xlim |
range of the x-axis of the forest plot |
G |
vector of the G-values |
G.var |
vector of the variances of each G |
G.lower |
the lower limits of the confidence intervals for G |
G.upper |
the upper limits of the confidence intervals for G |
G.mean |
the mean effect size G |
G.se |
the standard error of G.mean |
G.mean.lower |
the lower limit of the confidence interval for G.mean |
G.mean.upper |
the upper limit of the confidence interval for G.mean |
p |
the p-value for the null hypothesis H0 -> G.mean = 0 |
Etienne Laliberte etiennelaliberte@gmail.com http://www.elaliberte.info/
Schulze, R. (2004) Meta-analysis: a comparison of approaches. Hogrefe & Huber, Gottingen, Germany.
data(lui) lui <- lui[order(lui$r.FDis),] test <- metacor.OP(lui$r.FDis, lui$n, lui$label) test