Package: ria.test 0.2.1

Ang Yu

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.

Authors:Ang Yu [aut, cre, cph], Nicholas Williams [aut, cph], Richard Liu [ctb], Iván Díaz [aut, cph]

ria.test_0.2.1.tar.gz
ria.test_0.2.1.tar.gz(r-4.7-any)ria.test_0.2.1.tar.gz(r-4.6-any)
ria.test_0.2.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
ria.test/json (API)

# Install 'ria.test' in R:
install.packages('ria.test', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/ang-yu/ria.test/issues

On CRAN:

Conda:

1.70 score 4 exports 67 dependencies

Last updated from:7cf5ccd155. Checks:4 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK138
source / vignettesOK202
linux-release-x86_64OK137
wasm-releaseOK125

Exports:ria.testria.test.controlsequential_moduletidy

Dependencies:abindassertthatbackportsbitbit64callrcheckmateclicodetoolscollapsecorodata.tabledescdigestevaluatefarverforeachfuturefuture.applygenericsglmnetglobalsglueifeiteratorsjsonlitelabelinglatticelgrlifecyclelistenvmagrittrMatrixmiraimlbenchmlr3mlr3learnersmlr3measuresmlr3miscmlr3superlearnernanonextorigamiotelpalmerpenguinsparadoxparallellyprocessxprogressrPRROCpspurrrR6RColorBrewerRcppRcppEigenrlangRsymphonyS7safetensorsscalesshapesurvivaltorchuuidvctrsviridisLitewithr