stats.py 文件源码

python
阅读 34 收藏 0 点赞 0 评论 0

项目:ISM2017 作者: ybayle 项目源码 文件源码
def main(stats_dir):
    utils.print_success("Statistical analysis")
    stats_file = listdir(utils.abs_path_dir(stats_dir))
    for filen in stats_file:
        utils.print_info(filen)
        data, names = read_data_2(stats_dir, filen)
        if assert_homoscedasticity(data):
            if anova(data):
                tukey(data, names)
            else:
                print("All means are the same")
        else:
            if kruskal(data):
                print("cf R")
                # Dunn
                # Conover-Iman
                # Dwass-Steel-Citchlow-Fligner
            else:
                print("All means are the same")
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号