Description Usage Arguments Details Value Author(s) References Examples
The function metafixed
performs fixed-effects multivariate meta-analysis with the generalized least squares (GLS) method.
1 | metafixed(y, Slist)
|
y |
A N x p matrix or data frame that stores effect sizes from N primary studies. Usually the output value |
Slist |
A N-dimensional list of p(p+1)/2 x p(p+1)/2 matrices that stores within-study (co)variance matrices of the estimated effect sizes for each one of the N studies. Usually the output value |
Estimators were calculated from the generalized least squares approach.
The metafixed
function typically returns a list object of class "metafixed" representing the meta-analytical model. Use the summary
function to check the analysis results.
Min Lu
Ahn, S., Lu, M., Lefevor, G.T., Fedewa, A. & Celimli, S. (2016). Application of meta-analysis in sport and exercise science. In N. Ntoumanis, & N. Myers (Eds.), An Introduction to Intermediate and Advanced Statistical Analyses for Sport and Exercise Scientists (pp.233-253). Hoboken, NJ: John Wiley and Sons, Ltd.
Cooper, H., Hedges, L.V., & Valentine, J.C. (Eds.) (2009). The handbook of research synthesis and meta-analysis. New York: Russell Sage Foundation.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | ######################################################
# Example: Craft2003 data
# Preparing covariances for multivariate meta-analysis
######################################################
data(Craft2003)
computvcov <- r.vcov(n = Craft2003$N,
corflat = subset(Craft2003, select = C1:C6),
method = "average")
y <- computvcov$ef
Slist <- computvcov$list.vcov
#####################################################
# Running fixed-effects model using "metafixed"
#####################################################
MMA_FE <- summary(metafixed(y = y, Slist = Slist))
MMA_FE$coefficients
##############################################################
# Plotting the result:
##############################################################
plotCI(y = computvcov$ef, v = computvcov$list.vcov,
name.y = NULL, name.study = Craft2003$ID,
y.all = MMA_FE$coefficients[,1],
y.all.se = MMA_FE$coefficients[,2],
up.bound = Inf, low.bound = -Inf)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.