The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
COMMA: COrrecting Misclassified Mediation Analysis
COMMA provides a set of functions for the analysis of mediation models with binary mediator misclassification.
The two main parts are:
The package allows users to compute the probability of the latent
true mediators and the conditional probability of observing a mediator
value given the latent true mediator, based on parameters estimated from
the COMMA_EM
, COMMA_PVW
, and
COMMA_OLS
functions.
Jointly estimate parameters from the true mediator, observed mediator, and outcome mechanisms, respectively, in a mediation analysis with a binary misclassified mediator variable. Three methods are provided for parameter estimation: an ordinary least squares correction procedure, a predictive value weighting approach, and an expectation-maximization algorithm.
# Install from CRAN:
install.packages("COMBO")
# Install the development version from GitHub:
# install.packages("devtools")
::install_github("kimberlywebb/COMMA") devtools
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.