Package: truh 1.0.0

truh: An R package for Two-Sample Nonparametric Testing Under Heterogeneity

This R package implements the TRUH test statistic for two sample testing under heterogeneity. TRUH incorporates the underlying heterogeneity and imbalance in the samples, and provides a conservative test for the composite null hypothesis that the two samples arise from the same mixture distribution but may differ with respect to the mixing weights. See Trambak Banerjee, Bhaswar B. Bhattacharya, Gourab Mukherjee Ann. Appl. Stat. 14(4): 1777-1805 (December 2020). <doi:10.1214/20-AOAS1362> for more details.

Authors:Nathan Smith [aut, cre], Trambak Banerjee [aut], Bhaswar Bhattacharya [aut], Gourab Mukherjee [aut]

truh_1.0.0.tar.gz
truh_1.0.0.zip(r-4.7)truh_1.0.0.zip(r-4.6)truh_1.0.0.zip(r-4.5)
truh_1.0.0.tgz(r-4.6-any)truh_1.0.0.tgz(r-4.5-any)
truh_1.0.0.tar.gz(r-4.7-any)truh_1.0.0.tar.gz(r-4.6-any)
truh_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
truh/json (API)
NEWS

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

Bug tracker:https://github.com/natesmith07/truh/issues

On CRAN:

Conda:

3.70 score 6 scripts 205 downloads 2 exports 23 dependencies

Last updated from:246d871779. Checks:7 WARNING, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64WARNING137
source / vignettesOK229
linux-release-x86_64WARNING128
macos-release-arm64WARNING179
macos-oldrel-arm64WARNING174
windows-develWARNING133
windows-releaseWARNING104
windows-oldrelWARNING85
wasm-releaseOK119

Exports:nearesttruh

Dependencies:classclustercodetoolsDEoptimRdiptestdoParallelflexmixforeachfpciteratorskernlablatticeMASSmclustmodeltoolsnnetprabclusRcppRcppArmadilloRcppParallelRfastrobustbasezigg

demo-truh

Rendered fromdemo-truh.Rmdusingknitr::rmarkdownon May 16 2026.

Last update: 2021-08-17
Started: 2021-08-17