gpt4 book ai didi

python - R^2 没有出现在 stats.probplot (python) 中

转载 作者:太空宇宙 更新时间:2023-11-03 14:21:38 27 4
gpt4 key购买 nike

有谁知道 stats.probplot 最近是否有任何变化?我正在绘制 qq 图,它工作正常,但不会产生 R^2 统计数据...不知道为什么会这样?

x = stats.norm.rvs(loc=0, scale=1, size=100)
stats.probplot(x, dist='norm', plot=pylab)
plt.show()

enter image description here

最佳答案

您应该添加 rvalue=True 作为 stats.probplot 的参数

关于python - R^2 没有出现在 stats.probplot (python) 中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47908749/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com