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 Jun. 2026.
Previous versions and publish date:
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

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  
Voss  
Generic Voss Algorithm (Random Sequential Additions)
Generating realizations of a fractal Brownian function on uniform 1D & 2D grid with classic and ...
Download / Learn more Package Citations See dependency  
hsphase  
Phasing, Pedigree Reconstruction, Sire Imputation and Recombination Events Identification of Half-sib Families Using SNP Data
Identification of recombination events, haplotype reconstruction, sire imputation and pedigree recon ...
Download / Learn more Package Citations See dependency  
leontief  
Input-Output Analysis
An implementation of the Input-Output model developed by Wassily Leontief that represents the inter ...
Download / Learn more Package Citations See dependency  
clusrank  
Wilcoxon Rank Tests for Clustered Data
Non-parametric tests (Wilcoxon rank sum test and Wilcoxon signed rank test) for clustered data docu ...
Download / Learn more Package Citations See dependency  
stevedata  
Steve's Toy Data for Teaching About a Variety of Methodological, Social, and Political Topics
This is a collection of various kinds of data with broad uses for teaching. My students, and academ ...
Download / Learn more Package Citations See dependency  

27,372

R Packages

233,548

Dependencies

72,820

Author Associations

27,205

Publication Badges

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