![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
统计
文章平均质量分 60
kind_soso
这个作者很懒,什么都没留下…
展开
-
python 多样本Ridit分析程序
import numpy as npfrom scipy import statsgroup = 3 #输入组数为2rank = 4 #输入等级数data = '147 72 28 37 17 9 10 5 4 8 2 3'table = data.split(' ')table = [int(x) for x in table]aaa = np.array(table).reshape(rank, group)print(aaa)bbb = np.cumsum(aaa, axis=1)原创 2021-12-22 12:25:47 · 723 阅读 · 1 评论 -
python 两样本Ridit分析程序
#python 两样本Ridit分析程序import numpy as npfrom scipy import statsgroup = 2 #输入组数为2rank = 4 #输入等级数data = '1 5 18 35 26 9 10 5'table = data.split(' ')table = [int(x) for x in table]aaa = np.array(table).reshape(rank, group)print(aaa)bbb = np.cumsum(aaa原创 2021-12-22 12:24:17 · 1010 阅读 · 1 评论