Have a personal or library account? Click to login
mma: An R Package for Mediation Analysis with Multiple Mediators Cover

mma: An R Package for Mediation Analysis with Multiple Mediators

By: Qingzhao Yu and  Bin Li  
Open Access
|Apr 2017

Figures & Tables

jors-5-160-g1.png
Figure 1

Mediation Diagram.

Table 1

Variables in data set “Weight_Behavior”.

Variable NameDescription
bmiBody mass index
ageAge at survey
sexMale or female
raceAfrican American, Caucasian, Indian, Mixed or Other
numpeopleNumber of people in family
carNumber of cars in family
gotoschFour levels of methods to go to school
snackEat a snack in a day or not
tvhoursNumber of hours watching TV per week
cmpthoursNumber of hours using computer per week
cellhoursNumber of hours playing with cell phones per week
sportsIn a sport team or not
exerciseNumber of hours of exercises per week
sweatNumber of hours of sweat-producing activities per week
overweighThe child is overweight or not
jors-5-160-g2.png
Figure 2

Output from summary (mma).

jors-5-160-g3.png
Figure 3

Output from plot(mma) on “sports”.

jors-5-160-g4.png
Figure 4

Output from plot(mma) on “exercise”.

DOI: https://doi.org/10.5334/jors.160 | Journal eISSN: 2049-9647
Language: English
Submitted on: Dec 28, 2016
|
Accepted on: Feb 28, 2017
|
Published on: Apr 12, 2017
Published by: Ubiquity Press
In partnership with: Paradigm Publishing Services
Publication frequency: 1 issue per year

© 2017 Qingzhao Yu, Bin Li, published by Ubiquity Press
This work is licensed under the Creative Commons Attribution 4.0 License.