Package: manymome 0.2.5
manymome: Mediation, Moderation and Moderated-Mediation After Model Fitting
Computes indirect effects, conditional effects, and conditional indirect effects in a structural equation model or path model after model fitting, with no need to define any user parameters or label any paths in the model syntax, using the approach presented in Cheung and Cheung (2023) <doi:10.3758/s13428-023-02224-z>. Can also form bootstrap confidence intervals by doing bootstrapping only once and reusing the bootstrap estimates in all subsequent computations. Supports bootstrap confidence intervals for standardized (partially or completely) indirect effects, conditional effects, and conditional indirect effects as described in Cheung (2009) <doi:10.3758/BRM.41.2.425> and Cheung, Cheung, Lau, Hui, and Vong (2022) <doi:10.1037/hea0001188>. Model fitting can be done by structural equation modeling using lavaan() or regression using lm().
Authors:
manymome_0.2.5.tar.gz
manymome_0.2.5.tar.gz(r-4.5-noble)manymome_0.2.5.tar.gz(r-4.4-noble)
manymome_0.2.5.tgz(r-4.4-emscripten)manymome_0.2.5.tgz(r-4.3-emscripten)
manymome.pdf |manymome.html✨
manymome/json (API)
NEWS
# Install 'manymome' in R: |
install.packages('manymome', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/sfcheung/manymome/issues
Pkgdown site:https://sfcheung.github.io
- data_med - Sample Dataset: Simple Mediation
- data_med_complicated - Sample Dataset: A Complicated Mediation Model
- data_med_complicated_mg - Sample Dataset: A Complicated Mediation Model With Two Groups
- data_med_mg - Sample Dataset: Simple Mediation With Two Groups
- data_med_mod_a - Sample Dataset: Simple Mediation with a-Path Moderated
- data_med_mod_ab - Sample Dataset: Simple Mediation with Both Paths Moderated
- data_med_mod_ab1 - Sample Dataset: Simple Mediation with Both Paths Moderated By a Moderator
- data_med_mod_b - Sample Dataset: Simple Mediation with b-Path Moderated
- data_med_mod_b_mod - Sample Dataset: A Simple Mediation Model with b-Path Moderated-Moderation
- data_med_mod_parallel - Sample Dataset: Parallel Mediation with Two Moderators
- data_med_mod_parallel_cat - Sample Dataset: Parallel Moderated Mediation with Two Categorical Moderators
- data_med_mod_serial - Sample Dataset: Serial Mediation with Two Moderators
- data_med_mod_serial_cat - Sample Dataset: Serial Moderated Mediation with Two Categorical Moderators
- data_med_mod_serial_parallel - Sample Dataset: Serial-Parallel Mediation with Two Moderators
- data_med_mod_serial_parallel_cat - Sample Dataset: Serial-Parallel Moderated Mediation with Two Categorical Moderators
- data_mod - Sample Dataset: One Moderator
- data_mod2 - Sample Dataset: Two Moderators
- data_mod_cat - Sample Dataset: Moderation with One Categorical Moderator
- data_mome_demo - Sample Dataset: A Complicated Moderated-Mediation Model
- data_mome_demo_missing - Sample Dataset: A Complicated Moderated-Mediation Model With Missing Data
- data_parallel - Sample Dataset: Parallel Mediation
- data_sem - Sample Dataset: A Latent Variable Mediation Model With 4 Factors
- data_serial - Sample Dataset: Serial Mediation
- data_serial_parallel - Sample Dataset: Serial-Parallel Mediation
- data_serial_parallel_latent - Sample Dataset: A Latent Mediation Model With Three Mediators
- modmed_x1m3w4y1 - Sample Dataset: Moderated Serial Mediation
- simple_mediation_latent - Sample Dataset: A Simple Latent Mediation Model
Last updated 18 days agofrom:b779f48e4f. Checks:OK: 2. Indexed: no.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Dec 09 2024 |
R-4.5-linux | OK | Dec 09 2024 |
Exports:all_indirect_pathsall_paths_to_dfcheck_pathcond_effectscond_indirectcond_indirect_diffcond_indirect_effectsdelta_meddo_bootdo_mcfactor2varfill_wlevelsfit2boot_outfit2boot_out_do_bootfit2mc_outgen_mc_estget_one_cond_effectget_one_cond_indirect_effectget_prodindex_of_momeindex_of_momomeindirect_effectindirect_effects_from_listindirect_iindirect_proportionjohnson_neymanlm_from_lavaan_listlm2boot_outlm2boot_out_parallellm2listmany_indirect_effectsmerge_mod_levelsmod_levelsmod_levels_listplot_effect_vs_wprint_all_cond_effectsprint_all_cond_indirect_effectspseudo_johnson_neymantotal_indirect_effect
Dependencies:bootclicolorspacecpp11fansifarverggplot2gluegtableigraphisobandlabelinglatticelavaanlifecyclemagrittrMASSMatrixmgcvmnormtmunsellnlmenumDerivpbapplypbivnormpillarpkgconfigquadprogR6RColorBrewerrlangscalestibbleutf8vctrsviridisLitewithr
Generate Bootstrap Estimates
Rendered fromdo_boot.Rmd
usingknitr::rmarkdown
on Dec 09 2024.Last update: 2024-12-08
Started: 2022-09-06
Generate Monte Carlo Estimates
Rendered fromdo_mc.Rmd
usingknitr::rmarkdown
on Dec 09 2024.Last update: 2024-12-08
Started: 2023-06-08
manymome
Rendered frommanymome.Rmd
usingknitr::rmarkdown
on Dec 09 2024.Last update: 2024-12-08
Started: 2022-09-06
Mediation Analysis by Multiple Regression
Rendered frommed_lm.Rmd
usingknitr::rmarkdown
on Dec 09 2024.Last update: 2024-12-08
Started: 2022-09-06
Mediation Models with Latent Variables
Rendered frommed_lav.Rmd
usingknitr::rmarkdown
on Dec 09 2024.Last update: 2024-12-08
Started: 2022-09-06
Moderated Mediation Analysis by Multiple Regression
Rendered frommome_lm.Rmd
usingknitr::rmarkdown
on Dec 09 2024.Last update: 2024-12-08
Started: 2022-09-06
Monte Carlo Confidence Intervals with Multiple Imputation
Rendered fromdo_mc_lavaan_mi.Rmd
usingknitr::rmarkdown
on Dec 09 2024.Last update: 2024-12-08
Started: 2023-06-08
Set Moderator Levels
Rendered frommod_levels.Rmd
usingknitr::rmarkdown
on Dec 09 2024.Last update: 2024-05-08
Started: 2022-09-06