平均の Tukey の全対比較検定です (群のサイズが等しくない場合は Tukey-Kramer)。R の PMCMRplus::tukeyTest() と同等です。
PMCMRplus::tukeyTest()
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"];tukeyTest(x, g).pValue; // [[0.03403130149294014, NaN], [0.001492661804896774, 0.04527523376597547]] コピー
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"];tukeyTest(x, g).pValue; // [[0.03403130149294014, NaN], [0.001492661804896774, 0.04527523376597547]]
平均の Tukey の全対比較検定です (群のサイズが等しくない場合は Tukey-Kramer)。R の
PMCMRplus::tukeyTest()と同等です。