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 21 Jul. 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

netgen  
Network Generator for Combinatorial Graph Problems
Methods for the generation of a wide range of network geographies, e.g., grid networks or clustered ...
Download / Learn more Package Citations See dependency  
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  
splash  
Simple Process-Led Algorithms for Simulating Habitats
This program calculates bioclimatic indices and fluxes (radiation, evapotranspiration, soil moistur ...
Download / Learn more Package Citations See dependency  
beastier  
Call 'BEAST2'
'BEAST2' () is a widely used Bayesian phylogenetic tool, that uses DNA/RNA/ ...
Download / Learn more Package Citations See dependency  
truncnormbayes  
Estimates Moments for a Truncated Normal Distribution using 'Stan'
Finds the posterior modes for the mean and standard deviation for a truncated normal distribution wi ...
Download / Learn more Package Citations See dependency  
OSTE  
Optimal Survival Trees Ensemble
Function for growing survival trees ensemble ('Naz Gul', 'Nosheen Faiz', 'Dan Brawn', 'Rafal Kulakow ...
Download / Learn more Package Citations See dependency  

27,889

R Packages

239,283

Dependencies

74,019

Author Associations

27,890

Publication Badges

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