bmem2.1 package

Mediation Analysis with Missing Data Using Bootstrap

bmem-package

Mediation analysis with missing data using bootstrap

bmem.bs

Bootstrap but using the Bollen-Stine method

bmem.ci.bc

Bias-corrected confidence intervals

bmem.ci.bc1

Bias-corrected confidence intervals (for a single variable)

bmem.ci.bca

Bias-corrected and accelerated confidence intervals

bmem.ci.bca1

BCa for a single variable

bmem.ci.norm

Confidence interval based on normal approximation

bmem.ci.p

Percentile confidence interval

bmem.cov

Calculate the covariance matrix based on a given ram model

bmem.em.boot

Bootstrap for EM

bmem.em.cov

Covariance matrix from EM

bmem.em.jack

Jackknife estimate using EM

bmem.em.rcov

Estimation of robust covariance matrix

bmem.em

Estimate a mediation model based on EM covariance matrix

bmem.list.boot

Bootstrap for listwise deletion method

bmem.list.cov

Covariance matrix for listwise deletion

bmem.list.jack

Jackknife for listwise deletion

bmem.list

Estimate a mediaiton model based on listwise deletion

bmem.mi.boot

Bootstrap for multiple imputation

bmem.mi.cov

Covariance estimation for multiple imputation

bmem.mi.jack

Jackknife for multiple imputation

bmem.mi

Estimate a mediation model based on multiple imputation

bmem.moments

Calculate the moments of a data set

bmem.pair.boot

Bootstrap for pairwise deletion

bmem.pair.cov

Covariance matrix estimation based on pairwise deletion

bmem.pair.jack

Jackknife for pairwise deletion

bmem.pair

Estimate a mediaiton model based on pairwise deletion

bmem.pattern

Obtain missing data pattern information

bmem.plot

Plot of the bootstrap distribution. This function is replaced by plot.

bmem.raw2cov

Convert a raw moment matrix to covariance matrix

bmem

Mediation analysis based on bootstrap

bmem.sem

Estimate a mediaiton model using SEM technique

bmem.sobel.ind

Mediation analysis using sobel test for one indirect effect

bmem.sobel

Mediation analysis using sobel test (for complete data only)

bmem.ssq

Sum square of a matrix

bmem.v

Select data according to a vector of indices

plot.bmem

Plot of the bootstrap distribution

popPar

Get the population parameter values

power.basic

Conducting power analysis based on Sobel test

power.boot

Conducting power analysis based on bootstrap

power.curve

Generate a power curve

summary.bmem

Calculate bootstrap confidence intervals

summary.power

Organize the results into a table

Four methods for mediation analysis with missing data: Listwise deletion, Pairwise deletion, Multiple imputation, and Two Stage Maximum Likelihood algorithm. For MI and TS-ML, auxiliary variables can be included. Bootstrap confidence intervals for mediation effects are obtained. The robust method is also implemented for TS-ML. Since version 1.4, bmem adds the capability to conduct power analysis for mediation models. Details about the methods used can be found in these articles. Zhang and Wang (2003) <doi:10.1007/s11336-012-9301-5>. Zhang (2014) <doi:10.3758/s13428-013-0424-0>.