metafixed {metavcov} | R Documentation |
Fitting Fixed-Effect Meta-Analysis Models
Description
The function metafixed
performs fixed-effects multivariate meta-analysis with the generalized least squares (GLS) method.
Usage
metafixed(y, Slist)
Arguments
y |
A |
Slist |
A |
Details
Estimators were calculated from the generalized least squares approach.
Value
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.
Author(s)
Min Lu
References
Lu, M. (2023). Computing within-study covariances, data visualization, and missing data solutions for multivariate meta-analysis with metavcov. Frontiers in Psychology, 14:1185012.
Cooper, H., Hedges, L.V., & Valentine, J.C. (Eds.) (2009). The handbook of research synthesis and meta-analysis. New York: Russell Sage Foundation.
Examples
######################################################
# 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)