# metaSEM: an R package for meta-analysis using structural equation modeling

- Department of Psychology, National University of Singapore, Singapore, Singapore

The metaSEM package provides functions to conduct univariate, multivariate, and three-level meta-analyses using a structural equation modeling (SEM) approach via the OpenMx package in the R statistical platform. It also implements the two-stage SEM approach to conducting fixed- and random-effects meta-analytic SEM on correlation or covariance matrices. This paper briefly outlines the theories and their implementations. It provides a summary on how meta-analyses can be formulated as structural equation models. The paper closes with a conclusion on several relevant topics to this SEM-based meta-analysis. Several examples are used to illustrate the procedures in the supplementary material.

## 1. Introduction

Meta-analysis is a popular technique for synthesizing research findings in the social, behavioral, educational, and medical sciences (e.g., Hedges and Olkin, 1985; Whitehead, 2002; Borenstein et al., 2009; Schmidt and Hunter, 2015). There are several standalone programs for conducting meta-analyses, e.g., Comprehensive Meta-Analysis (Borenstein et al., 2005). There are also macros or packages to fit some meta-analytic models in standard statistical packages such as SPSS (Lipsey and Wilson, 2000), and SAS (Arthur et al., 2001). R (R Development Core Team, 2014) is a popular open source statistical platform for computations and data analysis. There are also several R packages available for meta-analysis (e.g., Viechtbauer, 2010; Lumley, 2012; Schwarzer, 2014).

The metaSEM package (Cheung, 2014b) is another R package for conducting meta-analyses. It formulates univariate, multivariate, and three-level meta-analytic models as structural equation models (Cheung, 2008, 2013b, 2014c, in press) via the OpenMx package (Boker et al., 2011). It also implements the two-stage structural equation modeling (TSSEM) approach (Cheung and Chan, 2005, 2009; Cheung, 2014a) to fit fixed- and random-effects meta-analytic structural equation modeling (MASEM) on correlation or covariance matrices. This paper outlines the meta-analytic models implemented in the metaSEM package (Cheung, in press). There are two main objectives of this paper. First, it provides an succinct summary on how various meta-analytic models can be formulated as structural equation models. Readers may refer to the references for more details and advantages of formulating meta-analytic models as structural equation models. Second, it illustrates how to conduct these analyses using the metaSEM package. Complete R code, output, and remarks are included in the supplementary material. Users may refer to http://courses.nus.edu.sg/course/psycwlm/Internet/metaSEM/ on how to install the metaSEM package.

## 2. Structural Equation Modeling based Meta-Analysis

SEM is a multivariate technique to fit and test hypothesized models. Let **y** be a *p* × 1 vector of a sample of continuous data from a multivariate normal distribution where *p* is the number of observed variables. It is hypothesized that the model for the first and the second moments are functions of θ, where θ is a vector of parameters that can be regression coefficients, error variances, factor loadings, and factor variances. The model is:

where μ and Σ are the population mean vector and covariance matrix, respectively. Maximum likelihood (ML) estimation method is the most common estimation method in SEM. The −2*log-likelihood (−2*LL*) for the *i*th case is,

where *p*_{i} is the number of filtered variables with complete data in the *i*th case, μ_{i}(θ) and Σ_{i}(θ) are the model implied mean vector and the model implied covariance matrix for the *i*th case, respectively. Since there is a subscript *i* in Equation 2, the model implied mean vector and covariance matrix may vary across cases. Thus, it automatically handles incomplete data by selecting the complete data in the log-likelihood function with the full information maximum likelihood (ML or FIML) estimation method (Enders, 2010).

To obtain the parameter estimates, we may take the sum of the −2*LL*_{i} over all cases and minimize it. Iterative methods are used to obtain the parameter estimates. When it is convergent, the asymptotic sampling covariance matrix of the parameter estimates may be obtained from the inverse of the Hessian matrix. The standard errors (*SE*s) of the parameter estimates are calculated by taking the square root of the diagonal elements of the asymptotic sampling covariance matrix. The parameter estimates divided by their *SE*s follow a *z* distribution under the null hypothesis. A likelihood ratio (*LR*) statistic may also be used to compare nested models. The model fit and the significance of individual parameters can be tested (e.g., Kline, 2011).

### 2.1. Univariate Fixed-Effects Model

The following subsections briefly introduce how various meta-analytic models can be formulated as structural equation models. Let us begin with the meta-analytic model with only one effect size *y*_{i} in the *i*th study (Cheung, 2008). *y*_{i} can be any effect size, such as the odds ratio, raw mean difference, standardized mean difference, correlation coefficient, or its Fisher's z transformed score. When the sample sizes in the primary studies are reasonably large, *y*_{i} can be assumed to be normally distributed with a variance of *v*_{i} (e.g., see Borenstein et al., 2009, for the formulas of common effect sizes. The univariate fixed-effects model for the *i*th study is:

where β_{F} is the common effect under the fixed-effects model, and Var(*e*_{i}) = *v*_{i} is the known sampling variance. To conduct a univariate fixed-effects meta-analysis in SEM, we may fit the following model implied moments:

Since *v*_{i} is known, the only parameter in the model is β_{F}. Figure 1 shows the graphical model of the fixed-effects meta-analysis.

### 2.2. Univariate Random-Effects Model

Since the primary studies are conducted by different researchers in different settings, these studies are unlikely not direct replicates of each other. It is reasonable to expect that the population effect sizes may not be the same. A random-effects model allows studies to have their own study-specific effect. The model for the *i*th study is:

where β_{R} is the average population effect under the random-effects model, and Var(*u*_{i}) = τ^{2} is the heterogeneity variance that has to be estimated. To fit the model in SEM, we may consider the following model implied moments:

In the literature of meta-analysis, *v*_{i} and τ^{2} + *v*_{i} are known as the conditional and the unconditional variances, respectively. Under this model we have to estimate both β_{R} and τ^{2}. Figure 2 shows the graphical model of the random-effects meta-analysis. Various estimation methods, such as methods of moments, ML estimation and restricted maximum likelihood (REML) estimation may be used to estimate τ^{2} (e.g., Borenstein et al., 2009). The default estimation method in the SEM-based meta-analysis is ML estimation, while the REML estimation method may also be used to minimize the slight negative bias on the estimated variance component using the ML estimation method (Cheung, 2013a).

#### 2.2.1. Quantifying heterogeneity

To test the homogeneity of the population effect sizes, we may compute the *Q* statistic (Cochran, 1954),

where *w*_{i} = 1/*v*_{i}. Under the null hypothesis of the homogeneity of effect sizes, the *Q* statistic has an approximate chi-square distribution with (*k* − 1) degrees of freedom (*df*s). The *Q* statistic may be significant simply because of the large number of studies. Conversely, a large *Q* statistic may be non-significant because of the small number of studies. Therefore, the significance of the *Q* statistic should not be used to determine whether a fixed- or a random-effects model is used in the analysis.

One popular index quantifying the degree of heterogeneity of effect sizes is the *I*^{2} (Higgins and Thompson, 2002). The general formula is

where $\tilde{{v}}$ is a *typical* within-study sampling variance. *I*^{2} can be interpreted as the proportion of the total variation of the effect size that is due to the between study heterogeneity. Higgins and Thompson (2002) defined the *typical* within-study sampling variance using the *Q* statistic:

One advantage of using $\tilde{{v}}$_{Q} as the *typical* within-study sampling variance is that *I*^{2} can be simplified to *I*^{2}_{Q} = *Q* − (*k* − 1)/*Q*.

Two more definitions of $\tilde{{v}}$ have also been proposed in the literature. Takkouche et al. (1999) suggested that the harmonic mean of *v*_{i} can be used as the *typical* within-study sampling variance,

Xiong et al. (2010) also discussed an estimator of *I*^{2} that is based on the arithmetic mean:

All of the above definitions are available in the metaSEM package. Users may choose among them by specifying the argument I2 = “I2q” based on the *Q* statistic (the default), I2 = “I2hm” based on the harmonic mean, and I2 = “I2am” based on the arithmetic mean.

### 2.3. Univariate Mixed-Effects Model

The mixed-effects meta-analysis extends the random-effects meta-analysis by using study characteristics as predictors. Assuming that **x**_{i} is an (*m* + 1) × 1 vector of predictors including a constant of 1 where *m* is the number predictors in the *i*th study, the mixed-effects model is:

where β is a a (*m* + 1) × 1 vector of regression coefficients including the intercept. To fit the model in SEM, we may use the following model implied conditional mean and variance:

Figure 3 shows the graphical model of the mixed-effects meta-analysis with one predictor. A phantom variable *P* is introduced to specify the predictor **x**_{i}. Since **x**_{i} is specified via definition variables (see Cheung, 2010), **x**_{i} is treated as a design matrix rather than as variables.

Mathematically, it is clear that the random-effects meta-analysis is a special case of the mixed-effects meta-analysis by fixing **x** = **1** as a constant of ones, while the fixed-effects meta-analysis is a special case of the random-effects meta-analysis by fixing τ^{2} = 0. It should be noted that the assumptions and interpretations on the fixed- and random-effects models are different.

#### 2.3.1. Explained variance

Besides testing whether the predictors are significant, researchers may want to quantify the degree of prediction. The percentage of variance explained by the inclusion of predictors,

can be calculated by comparing the $\widehat{{\tau}}$^{2}_{0} without a predictor and the $\widehat{{\tau}}$^{2}_{1} with predictors (Raudenbush, 2009). When the calculated *R*^{2} is negative, it is usually truncated to zero.

### 2.4. Multivariate Meta-Analysis

When the research questions become more complicated, a single effect size may not be sufficient to summarize the effect in the primary studies. Multiple effect sizes are required to quantify the effect of the studies. Let us assume that there are a total of *p* effect sizes with *m* predictors in *k* studies. Since it is likely that different numbers of effect sizes are reported in the primary studies, we assume that there are *p*_{i} effect sizes in the *i*th study. The model for the multivariate mixed-effects meta-analysis in the *i*th study is:

where **y**_{i} is a *p*_{i} × 1 vector of effect sizes, **B**_{i} is a *p*_{i} × (*m* + 1) matrix of regression coefficients including the intercepts, **x**_{i} is a (*m* + 1) × 1 matrix of predictors including 1 in the first column, **Z**_{i} is a *p*_{i} × *p* filter matrix selecting the effect sizes that are present, **u**_{i} is a *p* × 1 study-specific random effects, and **e**_{i} is a *p*_{i} × 1 sampling error.

We assume that Var(**e**_{i}) = **V**_{i} is known in the *i*th study and that Var(**u**_{i}) = **T**^{2} is the variance component of the between-study heterogeneity that has to be estimated. The model handles missing effect sizes by selecting the complete effect sizes only in the above equation. Since **x**_{i} is a design matrix, missing value is not allowed in **x**_{i}. When there are missing values in **x**_{i}, the whole study will be deleted before the analysis is conducted.

The −2*LL* of the above model is:

To fit the multivariate mixed-effects meta-analysis in SEM, we use the following model implied conditional mean vector and covariance matrix (Cheung, 2013b):

Figure 4 shows the graphical model of the multivariate mixed-effects meta-analysis with two effect sizes per study and one predictor. A phantom variable *P* is introduced to specify the predictor **x**_{i}.

**Figure 4. Multivariate mixed-effects meta-analysis with two effect sizes per study and one predictor**.

The multivariate random-effects meta-analysis is a special case of the multivariate mixed-effects meta-analysis by using **X**_{i} = 1 as the design matrix; the random-effects meta-analysis is a special case of the fixed-effects meta-analysis by fixing **T**^{2} = **0**. Moreover, the univariate meta-analysis is also a special case of the multivariate meta-analysis with only one effect size. The *I*^{2} and *R*^{2} in a univariate meta-analysis may also be calculated for each effect size in a multivariate meta-analysis.

### 2.5. Three-Level Meta-Analysis

Effect sizes are assumed to be independent in most meta-analytic models. However, the effect sizes can be non-independent for various reasons. For example, the effect sizes reported in the same study may be more similar than the effect sizes reported in other studies. When the degree of dependence is known, the multivariate meta-analysis introduced in the Section 2.4 can be used to model the dependence. When the degree of dependence is not known, a three-level meta-analytic model may be used to address the dependence among the effect sizes (e.g., Konstantopoulos, 2011; Cheung, 2014c; Van den Noortgate et al., 2013). The model is:

where *y*_{ij} is the effect size for the *i*th effect size in the *j*th cluster, β is an (*m* + 1) × 1 vector of regression coefficients including the intercept, **x**_{ij} is the (*m* + 1) × 1 predictors including 1 in the first element for the *i*th study at the *j*th cluster, *u*_{(2)ij} and *u*_{(3)j} are the random effects at level 2 and level 3, respectively, and Var(*e*_{ij}) = *v*_{ij} is the known sampling variance of the effect size.

To fit the three-level meta-analytic model in SEM, we may use the following model implied moments for the conditional mean and variance:

where Var(*u*_{(2)ij}) = τ^{2}_{(2)} and Var(*u*_{(3)j}) = τ^{2}_{(3)} are the heterogeneity at level 2 and level 3, respectively (Cheung, 2014c).

#### 2.5.1. Quantifying heterogeneity and explained variance

Similar to the *I*^{2} defined in a random-effects meta-analysis, we may define the degree of heterogeneity for a three-level meta-analysis in level 2 and level 3 as,

where $\tilde{{v}}$ is the *typical* within-study sampling variance defined in a random-effects meta-analysis. *I*^{2}_{(2)} and *I*^{2}_{(3)} can be interpreted as the proportion of the total variation of the effect size that is due to the level 2 and level 3, respectively. Since $\tilde{{v}}$ is sample specific, one limitation of *I*^{2}_{(2)} and *I*^{2}_{(3)} is that they are not estimating any population quantities. Cheung (2014c) introduced two intra-class correlations (*ICC*s),

Both *ICC*_{(2)} and *ICC*_{(3)} are estimating their population counterparts τ^{2}_{(2)}/(τ^{2}_{(2)} + τ^{2}_{(3)}) and τ^{2}_{(3)}/(τ^{2}_{(2)} + τ^{2}_{(3)}), respectively. *ICC*_{(2)} and *ICC*_{(3)} can be interpreted as the percentage of the population heterogeneity due to level 2 and level 3, respectively.

When there are predictors, we may calculate the *R*^{2} for level 2 and level 3 in a similar manner to that defined before,

When the estimates are negative, they are usually truncated to zero.

## 3. Meta-Analytic Structural Equation Modeling

SEM is a popular modeling techniques in the social and behavioral sciences. When there are more and more studies addressing similar research questions using similar variables, there is a need to compare and synthesize these findings. MASEM combines ideas of meta-analysis and SEM by pooling correlation (or covariance) matrices and testing structural equation models on the pooled correlation (or covariance) matrix (e.g., Viswesvaran and Ones, 1995; Cheung and Chan, 2005; Becker, 2009). There are two stages in conducting the analysis. In the first stage of the analysis, the correlation (or covariance) matrices are pooled together. In the second stage of the analysis, the pooled correlation (or covariance) matrix is used to fit structural equation models.

Cheung and Chan (2005, 2009) proposed a fixed-effects TSSEM. The fixed-effects TSSEM approach has been extended to the random-effects TSSEM by Cheung (2014a). Regardless of whether a fixed- or a random-effects model is used, the metaSEM package handles this automatically. In other words, parameter estimates, *SE*s, and goodness-of-fit indices in the stage 2 analysis have already taken the stage 1 model into account.

### 3.1. Stage 1 Analysis

The main objective of the stage 1 analysis is to pool the correlation (or covariance) matrices together. There are two classes of models in meta-analysis—fixed-effects models and random-effects models (see Hedges and Vevea, 1998; Schmidt et al., 2009). Fixed-effects models are used for conditional inferences based on the selected studies. They are intended to draw conclusions on the studies included in the meta-analysis. Researchers are mainly interested in the studies used in the analysis. The assumption in fixed-effects models is usually, but not always, that all studies share common effect sizes. The stage one analysis in both the fixed- and the random-effects TSSEM is based on the ML estimation method. Thus, the parameter estimates are unbiased and efficient when the missing correlation coefficients are missing completely at random (MCAR) or missing at random (MAR) (e.g., Enders, 2010).

#### 3.1.1. Fixed-effects model

Under the fixed-effects (or more correctly the common effects) model, it is assumed that the population correlation (or covariance) matrices are the same while there are study-specific correlation (or covariance matrices) under the random-effects model. To simplify the presentation, I will mainly focus on the analysis of correlation matrices. Generalizing to analysis of covariance matrices is a straight-forward process (see Cheung and Chan, 2009). A covariance matrix in the *i*th study can be decomposed into a product of the matrices of correlations and standard deviations:

where Σ_{i}(θ) is the model implied covariance matrix, **D**_{i} is the diagonal matrix of standard deviations, and **P**_{i} is the correlation matrix. Under the assumption of the homogeneity of correlation matrices, we may obtain a common correlation matrix by imposing the constraint *P* = *P*_{1} = *P*_{2} = … = *P*_{k}, where *D*_{i} may vary across studies. When there are missing correlations, the missing data are filtered out. If we want to obtain a common covariance matrix under the assumption of the homogeneity of covariance matrices, we may also add the constraint *D* = *D*_{1} = *D*_{2} = … = *D*_{k}.

An *LR* statistic can be used to test the null hypothesis of homogeneity of correlation matrices *P*_{1} = *P*_{2} = … = *P*_{k}. Moreover, various goodness-of-fit indices may also be used to evaluate the appropriateness of the “close” fit of the homogeneity of correlation matrices.

#### 3.1.2. Random-effects model

Since the primary studies are independently conducted by different researchers, the samples, measures, and research focuses are likely different. The assumption of homogeneity of correlation matrices may not be reasonable. A random-effects TSSEM is usually more appropriate to analyze the data (Cheung, 2014a). When a random-effects model is used, the correlation matrices are treated as vectors of multivariate effect sizes. Let **r**_{i} = vechs(**R**_{i}) be the *p*(*p* − 1)/2 × 1 vector of a sample correlation for *p* variables by taking the column-wise non-redundant elements from **R**_{i}. If an analysis of the covariance matrices is conducted, the *p*(*p* + 1)/2 × 1 vectorized multivariate effect sizes become **s**_{i} = vech(**S**_{i}).

The model for the sample correlation vector **r**_{i} is:

where ρ_{R} is the *p*(*p* − 1)/2 × 1 vector of average population correlation vector under a random-effects model, Var(**u**_{i}) = **T**^{2} is the variance components of the random effects, and Var(**e**_{i}) = **V**_{i} is the known conditional sampling covariance matrix. The multivariate random-effects meta-analysis introduced in Section 2.4 may be used to conduct the stage 1 analysis with a random-effects model.

When there are many variables or not enough data (studies) in the analysis, $\widehat{{T}}$^{2} can be non-positive definite. The results cannot be trusted. One workaround is to fix **T**^{2} to a diagonal matrix rather than as a symmetric matrix. This can be done easily by specifying the argument RE.type = “Diag” when calling the tssem1() function.

### 3.2. Stage 2 Analysis

After the stage 1 analysis with either a fixed- or a random-effects model, a vector of pooled correlations **r** and its asymptotic covariance matrix **V** are available after the analysis. It should be noted that $\widehat{{T}}$^{2} is not directly involved in fitting the correlation structure in the stage 2 analysis. However, the presence of **T**^{2} is required so that the heterogeneity of the random effects has been properly taken in the stage 1 analysis.

Most applications of MASEM use the pooled correlation matrix as if it was an observed correlation matrix to fit structural equation models. Cheung and Chan (2005) discussed some of these problems. For example, the elements of the pooled correlation matrix are usually based on different studies. Researchers usually use an *ad-hoc* sample size, such as the harmonic or arithmetic means of the individual sample sizes, as the sample size in fitting structural equation models. Unless all the correlation coefficients are based on the same number of studies, the precision of some correlation coefficients are over-estimated while others are under-estimated. Another issue is that the pooled correlation matrix is analyzed as it was a covariance matrix. It is generally incorrect to analyze the correlation matrix in SEM, although most published articles using MASEM have treated the pooled correlation matrix as a covariance matrix. Many SEM experts (e.g., Cudeck, 1989) have warned about the problems of analyzing the correlation matrix instead of the covariance matrix in primary-research applications of SEM. Specifically, the chi-square statistics and (or) the *SE*s of parameter estimates may be incorrect.

The TSSEM approach addresses these issues. The weighted least square (WLS) estimation is used to fit the proposed models in the stage 2 analysis. A correlation structural model ρ($\widehat{{\gamma}}$) is fitted with the WLS estimation method by minimizing the following fit function,

An *LR* statistic and various goodness-of-fit indices may be used to judge whether the proposed structural model is appropriate, while *SE*s may be used to test the significance of individual parameter estimates.

## 4. Conclusion

This paper introduced various meta-analytic models using a SEM approach. More importantly, these models have all been implemented in the metaSEM package which is freely available as an R package. Due to space constraint, I did not include topics, such as using REML as the estimation method (see Cheung, 2013a), constructing likelihood-based confidence interval (LBCI) (see Cheung, 2009), and using alternative random-effects MASEM (see Cheung and Cheung, under review). Readers may refer to the relevant papers and the metaSEM package for details. Some of these models can be implemented in standard SEM software such as M*plus* (Muthén and Muthén, 2012). Since SEM software was not designed for meta-analysis, transformations on the effect sizes are required to meet the distribution assumptions (see e.g., Cheung, 2008, 2013b). To conclude, SEM provides a flexible framework to develop meta-analytic techniques. Many of the techniques available in SEM can be easily extended to meta-analysis. The supplementary material include some examples on how to analyze these models using the metaSEM package.

## Funding

Preparation of this paper was supported by the Academic Research Fund Tier 1 (FY2013-FRC5-002; R-581-000-158-112) from the Ministry of Education, Singapore.

## Conflict of Interest Statement

The author declares that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

## Supplementary Material

The Supplementary Material for this article can be found online at: http://www.frontiersin.org/journal/10.3389/fpsyg.2014.01521/abstract

## References

Arthur, W., Bennett, W., and Huffcutt, A. I. (2001). *Conducting Meta-Analysis using SAS*. Mahwah, NJ: Lawrence Erlbaum Associates.

Becker, B. J. (2009). “Model-based meta-analysis,” in *The Handbook of Research Synthesis and Meta-Analysis, 2nd Edn*., eds H. Cooper, L. V. Hedges and J. C. Valentine (New York, NY: Russell Sage Foundation), 377–395.

Boker, S., Neale, M., Maes, H., Wilde, M., Spiegel, M., Brick, T., et al. (2011). OpenMx: an open source extended structural equation modeling framework. *Psychometrika*, 76, 306–317. doi: 10.1007/s11336-010-9200-6

Pubmed Abstract | Pubmed Full Text | CrossRef Full Text | Google Scholar

Borenstein, M., Hedges, L. V., and Rothstein, H. R. (2005). *Comprehensive Meta-Analysis, Version 2*. Englewood, NJ: Biostat, Inc.

Borenstein, M., Hedges, L. V., Higgins, J. P., and Rothstein, H. R. (2009). *Introduction to Meta-Analysis*. Chichester; Hoboken: John Wiley & Sons. doi: 10.1002/9780470743386

Cheung, M. W.-L., and Chan, W. (2005). Meta-analytic structural equation modeling: a two-stage approach. *Psychol. Methods* 10, 40–64. doi: 10.1037/1082-989X.10.1.40

Pubmed Abstract | Pubmed Full Text | CrossRef Full Text | Google Scholar

Cheung, M. W.-L., and Chan, W. (2009). A two-stage approach to synthesizing covariance matrices in meta-analytic structural equation modeling. *Struct. Equ. Modeling* 16, 28–53. doi: 10.1080/10705510802561295

Pubmed Abstract | Pubmed Full Text | CrossRef Full Text | Google Scholar

Cheung, M. W.-L. (2008). A model for integrating fixed-, random-, and mixed-effects meta-analyses into structural equation modeling. *Psychol. Methods* 13, 182–202. doi: 10.1037/a0013163

Pubmed Abstract | Pubmed Full Text | CrossRef Full Text | Google Scholar

Cheung, M. W.-L. (2009). Constructing approximate confidence intervals for parameters with structural equation models. *Struct. Equ. Modeling* 16, 267–294. doi: 10.1080/10705510902751291

Cheung, M. W.-L. (2010). Fixed-effects meta-analyses as multiple-group structural equation models. *Struct. Equ. Modeling* 17, 481–509. doi: 10.1080/10705511.2010.489367

Cheung, M. W.-L. (2013a). Implementing restricted maximum likelihood (REML) estimation in structural equation models. *Struct. Equ. Modeling* 20, 157–167. doi: 10.1080/10705511.2013.742404

Cheung, M. W.-L. (2013b). Multivariate meta-analysis as structural equation models. *Struct. Equ. Modeling* 20, 429–454. doi: 10.1080/10705511.2013.797827

Cheung, M. W.-L. (2014a). Fixed- and random-effects meta-analytic structural equation modeling: examples and analyses in R. *Behav. Res. Methods* 46, 29–40. doi: 10.3758/s13428-013-0361-y

Pubmed Abstract | Pubmed Full Text | CrossRef Full Text | Google Scholar

Cheung, M. W.-L. (in press). *Meta-Analysis: A Structural Equation Modeling Approach*. Wiley. Available online at: http://as.wiley.com/WileyCDA/WileyTitle/productCd-1119993431.html

Cheung, M. W.-L. (2014b). *metaSEM: Meta-Analysis using Structural Equation Modeling, Version 0.9*. Singapore: R package.

Cheung, M. W.-L. (2014c). Modeling dependent effect sizes with three-level meta-analyses: a structural equation modeling approach. *Psychol. Methods* 19, 211–229. doi: 10.1037/a0032968

Pubmed Abstract | Pubmed Full Text | CrossRef Full Text | Google Scholar

Cochran, W. (1954). The combination of estimates from different experiments. *Biometrics* 10, 101–129. doi: 10.2307/3001666

Cudeck, R. (1989). Analysis of correlation-matrices using covariance structure models. *Psychol. Bull*. 105, 317–327. doi: 10.1037/0033-2909.105.2.317

Hedges, L. V., and Olkin, I. (1985). *Statistical Methods for Meta-Analysis*. Orlando, FL: Academic Press.

Hedges, L. V., and Vevea, J. L. (1998). Fixed- and random-effects models in meta-analysis. *Psychol. Methods* 3, 486–504. doi: 10.1037/1082-989X.3.4.486

Higgins, J. P. T., and Thompson, S. G. (2002). Quantifying heterogeneity in a meta-analysis. *Stat. Med*. 21, 1539–1558. doi: 10.1002/sim.1186

Pubmed Abstract | Pubmed Full Text | CrossRef Full Text | Google Scholar

Kline, R. B. (2011). *Principles and practice of structural equation modeling, 3rd Edn*. New York, NY: Guilford Press.

Konstantopoulos, S. (2011). Fixed effects and variance components estimation in three-level meta-analysis. *Res. Synth. Methods* 2, 61–76. doi: 10.1002/jrsm.35

Lipsey, M. W., and Wilson, D. (2000). *Practical Meta-Analysis*. Thousand Oaks, CA: Sage Publications, Inc.

Muthén, B. O., and Muthén, L. K. (2012). *Mplus Users Guide, 7th Edn*. Los Angeles, CA: Muthé & Muthén.

Raudenbush, S. W. (2009). “Analyzing effect sizes: random effects models,” in *The Handbook of Research Synthesis and Meta-Analysis, 2nd Edn*., eds H. M. Cooper, L. V. Hedges, and J. C. Valentine (New York, NY: Russell Sage Foundation), 295–315.

R Development Core Team (2014). *R: A Language and Environment for Statistical Computing*. Vienna, Austria: R Foundation for Statistical Computing.

Schmidt, F. L., and Hunter, J. E. (2015). *Methods of Meta-Analysis: Correcting Error and Bias in Research Findings, 3rd Edn*. Thousand Oaks, CA: Sage.

Schmidt, F. L., Oh, I.-S., and Hayes, T. L. (2009). Fixed- versus random-effects models in meta-analysis: model properties and an empirical comparison of differences in results. *Br. J. Math. Stat. Psychol*. 62, 97–128. doi: 10.1348/000711007X255327

Pubmed Abstract | Pubmed Full Text | CrossRef Full Text | Google Scholar

Takkouche, B., Cadarso-Suárez, C., and Spiegelman, D. (1999). Evaluation of old and new tests of heterogeneity in epidemiologic meta-analysis. *Am. J. Epidemiol*. 150, 206–215. doi: 10.1093/oxfordjournals.aje.a009981

Pubmed Abstract | Pubmed Full Text | CrossRef Full Text | Google Scholar

Van den Noortgate, W., López-López, J. A., Marín-Martínez, F., and Sánchez-Meca, J. (2013). Three-level meta-analysis of dependent effect sizes. *Behav. Res. Methods* 45, 576–594. doi: 10.3758/s13428-012-0261-6

Pubmed Abstract | Pubmed Full Text | CrossRef Full Text | Google Scholar

Viechtbauer, W. (2010). Conducting meta-analyses in R with the metafor package. *J. Stat. Softw*. 36, 1–48.

Viswesvaran, C., and Ones, D. S. (1995). Theory testing: combining psychometric meta-analysis and structural equations modeling. *Pers. Psychol*. 48, 865–885. doi: 10.1111/j.1744-6570.1995.tb01784.x

Whitehead, A. (2002). *Meta-Analysis of Controlled Clinical Trials*. Chichester, UK: John Wiley & Sons. doi: 10.1002/0470854200

Xiong, C., Miller, J. P., and Morris, J. C. (2010). Measuring study-specific heterogeneity in meta-analysis: application to an antecedent biomarker study of alzheimer's disease. *Stat. Biopharm. Res*. 2, 300–309. doi: 10.1198/sbr.2009.0067

Pubmed Abstract | Pubmed Full Text | CrossRef Full Text | Google Scholar

Keywords: meta-analysis, structural equation modeling, meta-analytic structural equation modeling, metaSEM, R

Citation: Cheung MW-L (2015) metaSEM: an R package for meta-analysis using structural equation modeling. *Front. Psychol*. **5**:1521. doi: 10.3389/fpsyg.2014.01521

Received: 30 September 2014; Accepted: 09 December 2014;

Published online: 05 January 2015.

Edited by:

Holmes Finch, Ball State University, USAReviewed by:

Heather M. Buzick, Educational Testing Service, USAHeungsun Hwang, McGill University, Canada

Suzanne Jak, Utrecht University, Netherlands

Copyright © 2015 Cheung. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

*Correspondence: Mike W.-L. Cheung, Department of Psychology, National University of Singapore, Block AS4, 9 Arts Link, Singapore 117570, Singapore e-mail: mikewlcheung@nus.edu.sg