我正在尝试使用包含5个值列表的列表(它是列表列表)来计算多比较Tukey测试。我正在阅读一些关于numpy.recarray
的文档,它似乎适合这个主题,但我真的不知道它是如何工作的。
我们假设我的列表列表如下:
my_list_of_lists = [[0.75,0.78,0.80,0.77,0.71,0.69,0.73],[0.76,0.73,0.88,0.71,0.72,0.80,0.72],[0.71,0.75,0.77,0.79,0.68,0.0.77,0.66],[0.72,0.79,0.82,0.73,0.75,0.60,0.72],[0.73,0.71,0.66,0.79,0.72,0.67,0.71]]
输出应该是这样的,有3个要比较的元素:
Multiple Comparison of Means - Tukey HSD, FWER=0.05
============================================
group1 group2 meandiff lower upper reject
--------------------------------------------
0 1 1.5 0.3217 2.6783 True
0 2 1.0 -0.1783 2.1783 False
1 2 -0.5 -1.6783 0.6783 False
--------------------------------------------
此外,有没有办法在手段上绘制多个比较图? 提前致谢