rStats.js v1.3.0
    Preparing search index...

    Function kwManyOneDunnTest

    • Dunn's many-to-one test of mean ranks against the control (the first group). Equivalent to PMCMRplus::kwManyOneDunnTest() in R. With pAdjustMethod "single-step" (the default) the p-values are the exact simultaneous normal probabilities (R approximates them by randomised integration).

      Parameters

      Returns PMCMRResult

      const x = [1.2, 2.3, 1.8, 2.9, 3.1, 3.6, 4.0, 4.4, 5.2];
      const g = ["a", "a", "a", "b", "b", "b", "c", "c", "c"];
      kwManyOneDunnTest(x, g).pValue; // [[0.30272579742071715], [0.013938744281312318]]