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 04 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

shinybusy  
Busy Indicators and Notifications for 'Shiny' Applications
Add indicators (spinner, progress bar, gif) in your 'shiny' applications to show the user that the ...
Download / Learn more Package Citations See dependency  
murphydiagram  
Murphy Diagrams for Forecast Comparisons
Data and code for the paper by Ehm, Gneiting, Jordan and Krueger ('Of Quantiles and Expectiles: Con ...
Download / Learn more Package Citations See dependency  
crplyr  
A 'dplyr' Interface for Crunch
In order to facilitate analysis of datasets hosted on the Crunch data platform ...
Download / Learn more Package Citations See dependency  
AMPLE  
Shiny Apps to Support Capacity Building on Harvest Control Rules
Three Shiny apps are provided that introduce Harvest Control Rules (HCR) for fisheries management. ...
Download / Learn more Package Citations See dependency  
golem  
A Framework for Robust Shiny Applications
An opinionated framework for building a production-ready 'Shiny' application. This package contains ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  

27,268

R Packages

233,548

Dependencies

72,590

Author Associations

27,205

Publication Badges

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