stats.py 文件源码

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

项目:cebl 作者: idfah 项目源码 文件源码
def conf(x, width=0.95, axis=None):
    def conf1(v):
        return spstats.t.interval(width, len(v)-1,
                    loc=np.mean(v), scale=spstats.sem(v))

    return conf1(x.ravel()) if axis is None else np.apply_along_axis(conf1, axis, x)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号