def trataGroups(objeto):
current = list(filter(None.__ne__, objeto))
mean_ = np.round(np.mean(current, axis=0), 4)
deviation_ = np.round(np.std(current, axis=0, ddof=1), 4)
fivecent = np.round(np.percentile(current, 5.0, axis=0), 4)
# confidence intervals
lowci = np.round(np.percentile(current, 2.5, axis=0), 4)
highci = np.round(np.percentile(current, 97.5, axis=0), 4)
return [mean_, deviation_, fivecent, current, lowci, highci]
评论列表
文章目录