bmem.mi {bmem}R Documentation

Estimate a mediation model based on multiple imputation

Description

Estimate a mediation model based on multiple imputation

Usage

bmem.mi(x, ram, indirect, v, m = 10, moment = FALSE, ...)

Arguments

x

A data set

ram

RAM path for the mediaiton model

indirect

A vector of indirect effec

v

Indices of variables used in the mediation model. If omitted, all variables are used.

m

Number of imputations.

moment

Select mean structure or covariance analysis. moment=FALSE, covariance analysis. moment=TRUE, mean and covariance analysis.

...

Other options for sem function can be used.


[Package bmem version 2.1 Index]