Learn R Programming

mma (version 10.8-1)

Multiple Mediation Analysis

Description

Used for general multiple mediation analysis. The analysis method is described in Yu and Li (2022) (ISBN: 9780367365479) "Statistical Methods for Mediation, Confounding and Moderation Analysis Using R and SAS", published by Chapman and Hall/CRC; and Yu et al.(2017) "Exploring racial disparity in obesity: a mediation analysis considering geo-coded environmental factors", published on Spatial and Spatio-temporal Epidemiology, 21, 13-23.

Copy Link

Version

Install

install.packages('mma')

Monthly Downloads

483

Version

10.8-1

License

GPL (>= 2)

Maintainer

Qingzhao Yu

Last Published

April 30th, 2025

Functions in mma (10.8-1)

moderate

Calculate and plot the direct effect of the selected exposure variable at each level of the moderator.
plot.med

Plot the mediation effect on the fitted med object
med

Mediation Analysis with Binary or Continuous Predictor
form.interaction

Create interaction terms of predictor(s) and potential moderator(s).
mma-package

Mediation Analysis Package
boot.med

Statistical Inference on Mediation Analysis with Continuous or Binary Predictor
data.org

Data Organization and Identify Potential Mediators
mma

Multiple Mediation Analysis
boot.mod

Statistical Inference on Mediation Analysis with Continuous or Binary Predictor at different level of the moderator
summary.med_iden

Summary method for class "med_iden".
print.med

Print an med object
print.mma

Print a mma object
summary.mma

Summary of an mma project
plot.mma

Relative effects plot of the fitted mma object
plot2.mma

Relative effects plot of the fitted mma object with moderator
test.moderation

Test for moderation effects.
weight_behavior

Weight_Behavior Data Set
cgd1

cgd1 Data Set