Package: JSmediation 0.2.3

JSmediation: Mediation Analysis Using Joint Significance

A set of helper functions to conduct joint-significance tests for mediation analysis, as recommended by Yzerbyt, Muller, Batailler, & Judd. (2018) <doi:10.1037/pspa0000132>.

Authors:Cédric Batailler [aut, cre], Dominique Muller [aut], Vincent Yzerbyt [aut], Charles Judd [aut], Yoann Julliard [ctb], Arnold Ho [dtc], Nour Kteily [dtc], Jacqueline Chen [dtc], Simone Dohle [dtc], Michael Siegrist [dtc]

JSmediation_0.2.3.tar.gz
JSmediation_0.2.3.zip(r-4.7)JSmediation_0.2.3.zip(r-4.6)JSmediation_0.2.3.zip(r-4.5)
JSmediation_0.2.3.tgz(r-4.6-any)JSmediation_0.2.3.tgz(r-4.5-any)
JSmediation_0.2.3.tar.gz(r-4.7-any)JSmediation_0.2.3.tar.gz(r-4.6-any)
JSmediation_0.2.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
JSmediation/json (API)

# Install 'JSmediation' in R:
install.packages('JSmediation', repos = c('https://cedricbatailler.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/cedricbatailler/jsmediation/issues

Pkgdown/docs site:https://jsmediation.cedricbatailler.me

Datasets:

On CRAN:

Conda:

mediationmediation-analysispsychology

5.81 score 8 stars 40 scripts 332 downloads 2 mentions 17 exports 29 dependencies

Last updated from:946212b0ac. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK202
source / vignettesOK205
linux-release-x86_64OK202
macos-release-arm64OK201
macos-oldrel-arm64OK169
windows-develOK153
windows-releaseOK165
windows-oldrelOK159
wasm-releaseOK137

Exports:%>%add_indexapastylrbuild_contrastcheck_assumptionscompute_indirect_effect_fordisplay_modelsextract_modelextract_modelsextract_tidy_modelsmdt_moderatedmdt_simplemdt_withinmdt_within_wideplot_assumptionsstandardise_variablestandardize_variable

Dependencies:backportsbroomclicpp11data.tabledplyrevaluategenericsgluehighrknitrlifecyclemagrittrMASSpillarpkgconfigpurrrR6rlangstringistringrtibbletidyrtidyselectutf8vctrswithrxfunyaml

Introduction to mediation analysis with JSmediation
Overview | Conducting a Simple Mediation | Formalization of Simple Mediation | Data Preparation | Using mdt_fit | Working with mediation_model Objects | Interpreting the Results of a Mediation Model | Reporting a Simple Mediation | Miscellaneous | References

Last update: 2024-02-27
Started: 2018-12-15

Conducting a moderated mediation analysis
Overview | Conducting a Moderated Mediation Analysis | Data Preparation | Fitting the moderated mediation model | Moderated mediation formalization | Running the Analysis with mdt_moderated | Reporting Moderated Mediation | Compute the indirect effect for a moderator's value | References

Last update: 2021-09-02
Started: 2021-09-01

Readme and manuals

Help Manual

Help pageTopics
Adds an indirect effect index to a fitted mediation modeladd_index
add_index method for moderated mediationadd_index.moderated_mediation
add_index method for simple mediationadd_index.simple_mediation
add_index method for within-participant mediationadd_index.within_participant_mediation
Creates an APA formatted report from a significance testapastylr
Builds a contrast code from character vectorbuild_contrast
Test assumptions for models underlying the mediationcheck_assumptions
Compute the indirect effect index for a specific value of the moderatorcompute_indirect_effect_for
Displays models from a mediation objectdisplay_models
Dohle and Siegrist (2014, Exp 1) illustrating within-subject analysis (long-format)dohle_siegrist
Dohle and Siegrist (2014, Exp 1) illustrating within-subject analysis (wide-format)dohle_siegrist_wide
Extracts a single model from a mediation_model objectextract_model
Extracts models from a mediation_model objectextract_models
Extracts models from a mediation object as a data frameextract_tidy_models
Data set showing simple and moderated mediation analysisho_et_al
Fits a moderated mediation modelmdt_moderated
Joint-significance test for simple mediationmdt_simple
Joint-significance test for within-participant mediationmdt_within
Joint-significance test for simple mediation (wide-format input)mdt_within_wide
Returns diagnostic plots for the linear model used in a mediationplot_assumptions
Print method for object of class 'mediation_model'print.mediation_model
Standardize variables in a data set.standardise_variable standardize_variable