Turkey HSD检验法/W法
python机器学习-乳腺癌细胞挖掘(博主亲自录制视频) https://study.163.com/course/introduction.htm?courseId=1005269003&utm_campaign=commission&utm_source=cp-400000000398149&utm_medium=share 项目联系QQ:231469242 python 2.7 # -*- coding: utf-8 -*- from statsmodels.stats.multicomp import (pairwise_tukeyhsd, MultiComparison) # Import standard packages import numpy as np from scipy import stats import pandas as pd import variance_check #数据excel名 excel="sample.xlsx" #读取数据 df=pd.read_excel(excel) #获取第一组数据,结构为列表 group_mentaln=list(df.StressReduction[(df.Treatment=="mental")]) group_physical=list(df.StressReduction[(df.Treatment=