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

    Function gamesHowellTest

    • Games-Howell all-pairs test of means with Welch's standard errors and degrees of freedom. Equivalent to PMCMRplus::gamesHowellTest() in R.

      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"];
      gamesHowellTest(x, g).pValue; // [[0.05271565998164183, NaN], [0.009781818487986175, 0.08494498877912128]]