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.

ria.test: Testing Equality of Natural Mediation Effects and Their Randomized Interventional Analogues

Implements the empirical test introduced by Yu, Ge, and Elwert (2026) for detecting when randomized interventional analogues should not be interpreted as natural mediation effects. The package estimates natural effects, their randomized interventional analogues, and TE - TE^R, the difference between the total effect and its randomized interventional analogue. Rejecting TE - TE^R = 0 falsifies the composite null that the natural indirect and direct effects equal their randomized interventional analogues. The procedure remains valid in settings where the natural effects themselves are not identified, and |TE - TE^R| provides a lower bound on the total divergence between the natural and randomized interventional decompositions.

Version: 0.2.1
Depends: R (≥ 4.2.0)
Imports: checkmate, Matrix, origami, torch, Rsymphony, purrr, cli, S7, data.table, coro, generics, mlr3superlearner, progressr, ife (≥ 0.2.1)
Suggests: testthat (≥ 3.0.0)
Published: 2026-07-21
DOI: 10.32614/CRAN.package.ria.test (may not be active yet)
Author: Ang Yu [aut, cre, cph] (Author and copyright holder of ria.test-specific extensions), Nicholas Williams ORCID iD [aut, cph] (Author and copyright holder of code derived from crumble), Richard Liu [ctb] (Contributor to code derived from crumble), Iván Díaz ORCID iD [aut, cph] (Author and copyright holder of code derived from crumble)
Maintainer: Ang Yu <ang_yu at outlook.com>
BugReports: https://github.com/ang-yu/ria.test/issues
License: GPL (≥ 3)
URL: https://github.com/ang-yu/ria.test
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: ria.test results

Documentation:

Reference manual: ria.test.html , ria.test.pdf

Downloads:

Package source: ria.test_0.2.1.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): ria.test_0.2.1.tgz, r-oldrel (arm64): ria.test_0.2.1.tgz, r-release (x86_64): ria.test_0.2.1.tgz, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=ria.test 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.