Learn R Programming

The metaSEM package conducts univariate and multivariate meta-analyses using a structural equation modeling (SEM) approach via the OpenMx package. It also implements the two-stage SEM approach to conduct meta-analytic structural equation modeling on correlation/covariance matrices.

The stable version can be installed from CRAN by:

install.packages("metaSEM")

The developmental version can be installed from GitHub by:

## Install remotes package if it has not been installed yet
# install.packages("remotes")

remotes::install_github("mikewlcheung/metasem")

Copy Link

Version

Install

install.packages('metaSEM')

Monthly Downloads

2,833

Version

2.0

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Mike Cheung

Last Published

November 16th, 2026

Functions in metaSEM (2.0)

Cooke16

Correlation Matrices from Cooke et al. (2016)
Digman97

Factor Correlation Matrices of Big Five Model from Digman (1997)
Chan17

Dataset from Chan, Jones, Jamieson, and Albarracin (2017)
Diag

Matrix Diagonals
Chan25

Corrected Misinformation and Correction Data from Chan and Albarracin (2023, 2025)
Cheung00

Fifty Studies of Correlation Matrices used in Cheung and Chan (2000)
Cor2DataFrame

Convert correlation or covariance matrices into a dataframe of correlations or covariances with their sampling covariance matrices
Gleser94

Two Datasets from Gleser and Olkin (1994)
Cooper03

Selected effect sizes from Cooper et al. (2003)
Cheung09

A Dataset from TSSEM User's Guide Version 1.11 by Cheung (2009)
Hox02

Simulated Effect Sizes Reported by Hox (2002)
Mak09

Eight studies from Mak et al. (2009)
Gnambs18

Correlation Matrices from Gnambs, Scharl, and Schroeders (2018)
Nam03

Dataset on the Environmental Tobacco Smoke (ETS) on children's health
Jaramillo05

Dataset from Jaramillo, Mulki and Marshall (2005)
Mathieu15

Correlation Matrices from Mathieu et al. (2015)
HedgesOlkin85

Effects of Open Education Reported by Hedges and Olkin (1985)
Kalaian96

Multivariate effect sizes reported by Kalaian and Raudenbush (1996)
Hunter83

Fourteen Studies of Correlation Matrices reported by Hunter (1983)
Nohe15

Correlation Matrices from Nohe et al. (2015)
Norton13

Studies on the Hospital Anxiety and Depression Scale Reported by Norton et al. (2013)
Scalco17

Correlation Matrices from Scalco et al. (2017)
SEC

Summary Estimate Correlation (SEC) of Meta-Analyses with Overlapping Primary Studies
anova

Compare Nested Models with Likelihood Ratio Statistic
Roorda11

Studies on Students' School Engagement and Achievement Reported by Roorda et al. (2011)
Turk23

Overlapping Meta-Analyses of Psychological Interventions for ADHD Reported by Turk et al. (2023)
Stadler15

Correlations from Stadler et al. (2015)
VarCorr

Extract Variance-Covariance Matrix of the Random Effects
as.mxAlgebra

Convert a Character Matrix into MxAlgebra-class
Tenenbaum02

Correlation coefficients reported by Tenenbaum and Leaper (2002)
checkRAM

Check the correctness of the RAM formulation
clusterRobustSE

Cluster-robust covariance for a single-level OpenMx model
bdiagMat

Create a Block Diagonal Matrix
bootuniR1

Parametric bootstrap on the univariate R (uniR) object
as.symMatrix

Convert a Character Matrix with Starting Values to a Character Matrix without Starting Values
calEffSizes

Calculate Effect Sizes using lavaan Models
bdiagRep

Create a Block Diagonal Matrix by Repeating the Input
asyCovOld

Compute Asymptotic Covariance Matrix of a Correlation/Covariance Matrix
as.mxMatrix

Convert a Matrix into MxMatrix-class
bootuniR2

Fit Models on the bootstrapped correlation matrices
impliedR

Create or Generate the Model Implied Correlation or Covariance Matrices
create.vechsR

Create a model implied correlation matrix with implicit diagonal constraints
create.modMatrix

Create a moderator matrix used in OSMASEM
coef

Extract Parameter Estimates from various classes
create.Fmatrix

Create an F matrix to select observed variables
indirectEffect

Estimate the asymptotic covariance matrix of standardized or unstandardized indirect and direct effects
homoStat

Test the Homogeneity of Effect Sizes
create.V

Create a V-known matrix
create.Tau2

Create a variance component of the heterogeneity of the random effects
create.mxMatrix

Create a Vector into MxMatrix-class
issp89

A Dataset from Cheung and Chan (2005; 2009)
is.pd

Test Positive Definiteness of a List of Square Matrices
meta3L

Three-Level Univariate Meta-Analysis with Maximum Likelihood Estimation
issp05

A Dataset from ISSP (2005)
lavaan2RAM

Convert lavaan models to RAM models
meta2semPlot

Convert metaSEM objects into semPlotModel objects for plotting
list2matrix

Convert a List of Symmetric Matrices into a Stacked Matrix
metaSEM-package

Meta-Analysis using Structural Equation Modeling
matrix2bdiag

Convert a Matrix into a Block Diagonal Matrix
meta

Univariate and Multivariate Meta-Analysis with Maximum Likelihood Estimation
osmasemR2

Calculate the R2 in OSMASEM and OSMASEM3L
pattern.na

Display the Pattern of Missing Data of a List of Square Matrices
plot

Plot methods for various objects
osmasem

One-stage meta-analytic structural equation modeling
pattern.n

Display the Accumulative Sample Sizes for the Covariance Matrix
reml

Estimate Variance Components with Restricted (Residual) Maximum Likelihood Estimation
readData

Read External Correlation/Covariance Matrices
osmasemSRMR

Calculate the SRMR in OSMASEM and OSMASEM3L
print

Print Methods for various Objects
rCor

Generate (Nested) Sample/Population Correlation/Covariance Matrices
tssem1

First Stage of the Two-Stage Structural Equation Modeling (TSSEM)
uniR1

First Stage analysis of the univariate R (uniR) approach
smdMTS

Compute Effect Sizes for Multiple Treatment Studies
reml3L

Estimate Variance Components in Three-Level Univariate Meta-Analysis with Restricted (Residual) Maximum Likelihood Estimation
tssemParaVar

Estimate the heterogeneity (SD) of the parameter estimates of the TSSEM object
smdMES

Compute Effect Sizes for Multiple End-point Studies
uniR2

Second Stage analysis of the univariate R (uniR) approach
summary

Summary Method for tssem1, wls, meta, and meta3LFIML Objects
sem

Fit a structural equation model using OpenMx
rerun

Rerun models via mxTryHard()
wvs94b

Forty-four Covariance Matrices on Life Satisfaction, Job Satisfaction, and Job Autonomy
vcov

Extract Covariance Matrix Parameter Estimates from Objects of Various Classes
wvs94a

Forty-four Studies from Cheung (2013)
vec2symMat

Convert a Vector into a Symmetric Matrix
vanderPol17

Dataset on the effectiveness of multidimensional family therapy in treating adolescents with multiple behavior problems
wls

Conduct a Correlation/Covariance Structure Analysis with WLS
Aloe14

Multivariate effect sizes between classroom management self-efficacy (CMSE) and other variables reported by Aloe et al. (2014)
Becker83

Studies on Sex Differences in Conformity Reported by Becker (1983)
Berkey98

Five Published Trails from Berkey et al. (1998)
Becker09

Ten Studies of Correlation Matrices used by Becker (2009)
CCA

Corrected Covered Area (CCA) of Meta-Analyses with Overlapping Primary Studies
Boer16

Correlation Matrices from Boer et al. (2016)
BCG

Dataset on the Effectiveness of the BCG Vaccine for Preventing Tuberculosis
Bornmann07

A Dataset from Bornmann et al. (2007)
Becker92

Six Studies of Correlation Matrices reported by Becker (1992; 1995)
Becker94

Five Studies of Ten Correlation Matrices reported by Becker and Schram (1994)