bmem.mi.boot {bmem}R Documentation

Bootstrap for multiple imputation

Description

Bootstrap for multiple imputation

Usage

bmem.mi.boot(x, ram, indirect, v, m = 10, boot = 1000, 
             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

boot

Number of bootstraps. Default is 1000.

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]