Other packages > Find by keyword >

MultisiteMediation  

Causal Mediation Analysis in Multisite Trials
View on CRAN: Click here


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

Install from Github:
library("remotes")
install_github("cran/MultisiteMediation")

Install by package version:
library("remotes")
install_version("MultisiteMediation", "0.0.4")



Attach the package and use:
library("MultisiteMediation")
Maintained by
Xu Qin
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2017-02-26
Latest Update: 2021-09-05
Description:
Multisite causal mediation analysis using the methods proposed by Qin and Hong (2017) , Qin, Hong, Deutsch, and Bein (2019) , and Qin, Deutsch, and Hong (2021) . It enables causal mediation analysis in multisite trials, in which individuals are assigned to a treatment or a control group at each site. It allows for estimation and hypothesis testing for not only the population average but also the between-site variance of direct and indirect effects transmitted through one single mediator or two concurrent (conditionally independent) mediators. This strategy conveniently relaxes the assumption of no treatment-by-mediator interaction while greatly simplifying the outcome model specification without invoking strong distributional assumptions. This package also provides a function that can further incorporate a sample weight and a nonresponse weight for multisite causal mediation analysis in the presence of complex sample and survey designs and non-random nonresponse, to enhance both the internal validity and external validity. The package also provides a weighting-based balance checking function for assessing the remaining overt bias.
How to cite:
Xu Qin (2017). MultisiteMediation: Causal Mediation Analysis in Multisite Trials. R package version 0.0.4, https://cran.r-project.org/web/packages/MultisiteMediation. Accessed 10 Mar. 2026.
Previous versions and publish date:
0.0.1 (2017-02-26 19:56), 0.0.2 (2018-06-15 09:28), 0.0.3 (2020-05-27 16:20)
Other packages that cited MultisiteMediation R package
View MultisiteMediation citation profile
Other R packages that MultisiteMediation depends, imports, suggests or enhances
Complete documentation for MultisiteMediation
Functions, R codes and Examples using the MultisiteMediation R package
Some associated functions: balance . msmediate.concurrent . msmediate . msmediate.weights . sim . sim.weights . vartest.msmediate.concurrent . vartest.msmediate . vartest.msmediate.weights . 
Some associated R codes: msmediate.R .  Full MultisiteMediation package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

gena  
Genetic Algorithm and Particle Swarm Optimization
Implements genetic algorithm and particle swarm algorithm for real-valued functions. Various modific ...
Download / Learn more Package Citations See dependency  
envirem  
Generation of ENVIREM Variables
Generation of bioclimatic rasters that are complementary to the typical 19 bioclim variables. ...
Download / Learn more Package Citations See dependency  
plyr  
Tools for Splitting, Applying and Combining Data
A set of tools that solves a common set of problems: you need to break a big problem down into mana ...
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  

26,293

R Packages

225,784

Dependencies

70,376

Author Associations

26,294

Publication Badges

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