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 25 Jul. 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), (2026-07-09 08:11)
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

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  
dendroextras  
Extra Functions to Cut, Label and Colour Dendrogram Clusters
Provides extra functions to manipulate dendrograms that build on the base functions provided by the ...
Download / Learn more Package Citations See dependency  
lomb  
Lomb-Scargle Periodogram
Computes the Lomb-Scargle Periodogram and actogram for evenly or unevenly sampled time series. Inclu ...
Download / Learn more Package Citations See dependency  
UnitStat  
Performs Unit Root Test Statistics
A test to understand the stability of the underlying stochastic data. Helps the user’s understand ...
Download / Learn more Package Citations See dependency  

27,987

R Packages

239,283

Dependencies

74,234

Author Associations

27,988

Publication Badges

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