The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
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[@]dogado.de.

unvs.med: A Universal Approach for Causal Mediation Analysis

This program realizes a universal estimation approach that accommodates multi-category variables and effect scales, making up for the deficiencies of the existing approaches when dealing with non-binary exposures and complex models. The estimation via bootstrapping can simultaneously provide results of causal mediation on risk difference (RD), odds ratio (OR) and risk ratio (RR) scales with tests of the effects' difference. The estimation is also applicable to many other settings, e.g., moderated mediation, inconsistent covariates, panel data, etc. The high flexibility and compatibility make it possible to apply for any type of model, greatly meeting the needs of current empirical researches.

Version: 1.0.0
Depends: R (≥ 3.5.0), data.table, parallel, snowfall
Suggests: fixest, lme4, MASS, ordinal, pglm
Published: 2025-06-04
DOI: 10.32614/CRAN.package.unvs.med
Author: Tianbao Zhou [aut, cre], Xinghao Li [aut], Lin Liu* [aut]
Maintainer: Tianbao Zhou <michaelzhou at buaa.edu.cn>
License: GPL-3
NeedsCompilation: no
Materials: README NEWS
CRAN checks: unvs.med results

Documentation:

Reference manual: unvs.med.pdf

Downloads:

Package source: unvs.med_1.0.0.tar.gz
Windows binaries: r-devel: unvs.med_1.0.0.zip, r-release: unvs.med_1.0.0.zip, r-oldrel: unvs.med_1.0.0.zip
macOS binaries: r-release (arm64): unvs.med_1.0.0.tgz, r-oldrel (arm64): unvs.med_1.0.0.tgz, r-release (x86_64): unvs.med_1.0.0.tgz, r-oldrel (x86_64): unvs.med_1.0.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=unvs.med to link to this page.

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.
Health stats visible at Monitor.