Learn R Programming

SetTest (version 0.3.1)

Group Testing Procedures for Signal Detection and Goodness-of-Fit

Description

It provides cumulative distribution function (CDF), quantile, p-value, statistical power calculator and random number generator for a collection of group-testing procedures, including the Higher Criticism tests, the one-sided Kolmogorov-Smirnov tests, the one-sided Berk-Jones tests, the one-sided phi-divergence tests, etc. The input are a group of p-values. The null hypothesis is that they are i.i.d. Uniform(0,1). In the context of signal detection, the null hypothesis means no signals. In the context of the goodness-of-fit testing, which contrasts a group of i.i.d. random variables to a given continuous distribution, the input p-values can be obtained by the CDF transformation. The null hypothesis means that these random variables follow the given distribution. For reference, see [1]Hong Zhang, Jiashun Jin and Zheyang Wu. "Distributions and power of optimal signal-detection statistics in finite case", IEEE Transactions on Signal Processing (2020) 68, 1021-1033; [2] Hong Zhang and Zheyang Wu. "The general goodness-of-fit tests for correlated data", Computational Statistics & Data Analysis (2022) 167, 107379.

Copy Link

Version

Install

install.packages('SetTest')

Monthly Downloads

176

Version

0.3.1

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Zheyang Wu

Last Published

August 24th, 2026

Functions in SetTest (0.3.1)

power.phi

Statistical power of phi-divergence test.
test.phi

Multiple comparison test using phi-divergence statistics.
test.bj

Multiple comparison test using Berk and Jones (BJ) statitics.
stat.phi.omni

calculate the omnibus phi-divergence statistics under general correlation matrix.
stat.bj

Construct Berk and Jones (BJ) statistics.
test.phi.omni

calculate the right-tail probability of omnibus phi-divergence statistics under general correlation matrix.
stat.hc

Construct Higher Criticism (HC) statistics.
stat.phi

Construct phi-divergence statistics.
test.hc

Multiple comparison test using Higher Criticism (HC) statitics.
qbj

Quantile of Berk-Jones statistic under the null hypothesis.
pphi.omni

calculate the left-tail probability of omnibus phi-divergence statistics under general correlation matrix.
pbj

CDF of Berk-Jones statitic under the null hypothesis.
power.hc

Statistical power of Higher Criticism test.
power.bj

Statistical power of Berk and Jones test.
qhc

Quantile of Higher Criticism statistics under the null hypothesis.
pphi

calculate the left-tail probability of phi-divergence under general correlation matrix.
qphi

Quantile of phi-divergence statistic under the null hypothesis.
phc

CDF of Higher Criticism statistic under the null hypothesis.