Package: ria.test 0.2.1

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.zip(r-4.7-any)ria.test_0.2.1.zip(r-4.6-any)ria.test_0.2.1.zip(r-4.5-any)
ria.test_0.2.1.tgz(r-4.6-any)ria.test_0.2.1.tgz(r-4.5-any)
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://ang-yu.r-universe.dev', 'https://cloud.r-project.org'))

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

On CRAN:

Conda:

2.70 score 4 exports 67 dependencies

Last updated from:fa65f858b7. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK145
source / vignettesOK243
linux-release-x86_64OK143
macos-release-arm64OK97
macos-oldrel-arm64OK102
windows-develOK85
windows-releaseOK75
windows-oldrelOK78
wasm-releaseOK126

Exports:ria.testria.test.controlsequential_moduletidy

Dependencies:abindassertthatbackportsbitbit64callrcheckmateclicodetoolscollapsecorodata.tabledescdigestevaluatefarverforeachfuturefuture.applygenericsglmnetglobalsglueifeiteratorsjsonlitelabelinglatticelgrlifecyclelistenvmagrittrMatrixmiraimlbenchmlr3mlr3learnersmlr3measuresmlr3miscmlr3superlearnernanonextorigamiotelpalmerpenguinsparadoxparallellyprocessxprogressrPRROCpspurrrR6RColorBrewerRcppRcppEigenrlangRsymphonyS7safetensorsscalesshapesurvivaltorchuuidvctrsviridisLitewithr