Learn R Programming

metaSEM (version 1.2.4)

osmasem: One-stage meta-analytic structural equation modeling

Description

It fits MASEM with the one-stage MASEM (OSMASEM) approach.

Usage

osmasem(model.name="osmasem", RAM=NULL, Mmatrix=NULL,
        Tmatrix=NULL, Jmatrix=NULL, Ax=NULL, Sx=NULL,
        RE.type=c("Diag", "Symm"), data,
        subset=NULL, intervals.type = c("z", "LB"),
        mxModel.Args=NULL, mxRun.Args=NULL,
        suppressWarnings=TRUE, silent=TRUE, run=TRUE, ...)

Arguments

model.name

A string for the model name in mxModel.

RAM

A RAM object including a list of matrices of the model returned from lavaan2RAM. If it is given, Mmatrix and Tmatrix arguments will be ignored.

Mmatrix

A list of matrices of the model implied correlation matrix created by the create.vechsR. It is only required when RAM is null.

Tmatrix

A list of matrices of the heterogeneity variance-covariance matrix created by the create.Tau2. It is only required when RAM is null.

Jmatrix

The Jacobian matrix of the mean structure in mxMatrix. The covariance structure is Jmatrix %&% Tau2 + Vi. If it is not givin, an identity matrix will be used.

Ax

A Amatrix of a list of Amatrix with definition variables as the moderators of the Amatrix. It is used to create the Mmatrix.

Sx

A Smatrix of a list of Smatrix with definition variables as the moderators of the Smatrix. It is used to create the Mmatrix.

RE.type

Type of the random effects.

data

A list of data created by the Cor2DataFrame.

subset

A character vector of the observed variables selected for the analysis.

intervals.type

Either z (default if missing) or LB. If it is z, it calculates the 95% confidence intervals (CIs) based on the estimated standard error. If it is LB, it calculates the 95% likelihood-based CIs on the parameter estimates.

mxModel.Args

A list of arguments passed to mxModel.

mxRun.Args

A list of arguments passed to mxRun.

suppressWarnings

Logical. If it is TRUE, warnings are suppressed. This argument is passed to mxRun.

silent

Logical. An argument is passed to mxRun

run

Logical. If FALSE, only return the mx model without running the analysis.

Not used yet.

Value

An object of class osmasem

References

Jak, S., & Cheung, M. W.-L. (2019). Meta-analytic structural equation modeling with moderating effects on SEM parameters. Psychological Methods.

See Also

Cor2DataFrame, create.vechsR, create.Tau2, create.V, osmasem, Nohe15