The HHG test (Heller, Heller, Kaufman, Brill and Gorfine 2016) is run in its
equipartition version: the pooled sample is split into natoms groups of
consecutive order statistics (continuous data) or into its distinct values
(discrete data), the likelihood ratio statistics of all partitions of these
atoms into m contiguous cells are averaged, for m=2,..,mmax, and the
results are combined with the MinP rule. For this the null distribution of each
statistic is found once, from Bnull random relabelings of the pooled sample.
hhg_settings