Other packages > Find by keyword >

moderate.mediation  

Causal Moderated Mediation Analysis
View on CRAN: Click here


Download and install moderate.mediation package within the R console
Install from CRAN:
install.packages("moderate.mediation")

Install from Github:
library("remotes")
install_github("cran/moderate.mediation")

Install by package version:
library("remotes")
install_version("moderate.mediation", "0.0.12")



Attach the package and use:
library("moderate.mediation")
Maintained by
Xu Qin
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2023-02-15
Latest Update: 2025-04-03
Description:
Causal moderated mediation analysis using the methods proposed by Qin and Wang (2023) . Causal moderated mediation analysis is crucial for investigating how, for whom, and where a treatment is effective by assessing the heterogeneity of mediation mechanism across individuals and contexts. This package enables researchers to estimate and test the conditional and moderated mediation effects, assess their sensitivity to unmeasured pre-treatment confounding, and visualize the results. The package is built based on the quasi-Bayesian Monte Carlo method, because it has relatively better performance at small sample sizes, and its running speed is the fastest. The package is applicable to a treatment of any scale, a binary or continuous mediator, a binary or continuous outcome, and one or more moderators of any scale.
How to cite:
Xu Qin (2023). moderate.mediation: Causal Moderated Mediation Analysis. R package version 0.0.12, https://cran.r-project.org/web/packages/moderate.mediation. Accessed 11 Aug. 2026.
Previous versions and publish date:
(2026-07-09 06:32), 0.0.1 (2023-02-15 13:00), 0.0.2 (2023-03-18 09:40), 0.0.3 (2023-04-26 19:30), 0.0.4 (2023-04-27 15:10), 0.0.5 (2023-06-06 09:50), 0.0.6 (2023-10-19 16:50), 0.0.7 (2023-11-27 19:30), 0.0.8 (2024-02-29 14:00), 0.0.9 (2024-04-24 04:40), 0.0.10 (2024-05-23 06:50), 0.0.11 (2025-04-04 01:50)
Other packages that cited moderate.mediation R package
View moderate.mediation citation profile
Other R packages that moderate.mediation depends, imports, suggests or enhances
Complete documentation for moderate.mediation
Functions, R codes and Examples using the moderate.mediation R package
Some associated functions: modmed . modmed.plot . modmed.sens . newws . sens.plot . summary_modmed . 
Some associated R codes: moderate.mediation.R .  Full moderate.mediation package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
Rssa  
A Collection of Methods for Singular Spectrum Analysis
Methods and tools for Singular Spectrum Analysis including decomposition, forecasting and gap-filli ...
Download / Learn more Package Citations See dependency  
lactcurves  
Lactation Curve Parameter Estimation
AllCurves() runs multiple lactation curve models and extracts selection criteria for each model. Th ...
Download / Learn more Package Citations See dependency  
phonenumber  
Convert Letters to Numbers and Back as on a Telephone Keypad
Convert English letters to numbers or numbers to English letters as on a telephone keypad. When con ...
Download / Learn more Package Citations See dependency  
gprofiler2  
Interface to the 'g:Profiler' Toolset
A toolset for functional enrichment analysis and visualization, gene/protein/SNP identifier conversi ...
Download / Learn more Package Citations See dependency  

28,313

R Packages

239,283

Dependencies

74,752

Author Associations

28,314

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA