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 01 Sep. 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

reproj  
Coordinate System Transformations for Generic Map Data
Transform coordinates from a specified source to a specified target map projection. This uses the ' ...
Download / Learn more Package Citations See dependency  
fANCOVA  
Nonparametric Analysis of Covariance
A collection of R functions to perform nonparametric analysis of covariance for regression curves o ...
Download / Learn more Package Citations See dependency  
flood  
Statistical Methods for the (Regional) Analysis of Flood Frequency
Includes several statistical methods for the estimation of parameters and high quantiles of river fl ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
markets  
Estimation Methods for Markets in Equilibrium and Disequilibrium
Provides estimation methods for markets in equilibrium and disequilibrium. Supports the estimation ...
Download / Learn more Package Citations See dependency  

28,400

R Packages

239,283

Dependencies

75,283

Author Associations

28,401

Publication Badges

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