WLJS LogoWLJS Notebook

HoeffdingDTest

HoeffdingDTest[v1, v2] tests whether the vectors v1 and v2 are independent.

  • HoeffdingDTest[..., "property"] returns the value of "property".

Examples

Test independence:

v1 = RandomReal[1, 100];
v2 = RandomReal[1, 100];
HoeffdingDTest[v1, v2]

Get p-value:

HoeffdingDTest[v1, v2, "PValue"]

Test statistic:

HoeffdingDTest[v1, v2, "TestStatistic"]

Please visit the official Wolfram Language Reference for more details.

On this page