Skip to content

truh

1.0.0

Two-Sample Nonparametric Testing Under Heterogeneity

0packages depend
2.3Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Nathan SmithFirst published 2021-09-081 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
13OK
Slowest check: 5.7 min · r-devel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
7
Dependencies · direct
Check history
  • OK2026-08-04
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 32 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 0% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
50%

Downloads

2.3K
CRAN downloads in the past year
Rank #20,023 · ~6/day · ~195/mo
Daily download trend is not available in this view yet.
11730 days
54990 days
2.3K1 year
Compare downloads with other packages →
Also on93 r2u1 autocran

Repository

Repository
0Stars
0Forks
0Open issues
0Open PRs
0Releases
License GPL-3.0 · Last activity 2021-08-30

Repository practices

Upstream repositoryBeta

3 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/natesmith07/truh on 2026-08-16.

CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
7 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (7)
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (4)
Maintainer (1)
Author, Maintainer
Authors (4)
Author, Maintainer
Package Timeline

1 release. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.0Latest
    2026-03-10 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2021-09-08
Total releases
1 / 5 yrs
License
GPL (>= 3) OSI
Download size
37 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("truh")
Smith, N., Banerjee, T., Bhattacharya, B., & Mukherjee, G. (2021). truh: Two-Sample Nonparametric Testing Under Heterogeneity (Version 1.0.0) [Computer software]. https://doi.org/10.32614/CRAN.package.truh

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for truh version 1.0.0 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy