多元斯皮尔曼等级相关的现成实施
我正在寻找一种方法来计算 Spearman 等级相关性 $\rho$ 的多元版本。有没有我可以使用的现成 Python 实现?
I'm looking for a way to calculate multivariate version of Spearman rank correlation $\rho$. Are there any ready to use Python implementation I can use?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
scipy 中有一个。
There is one in scipy.
如果现在或将来您想要访问一些高级统计包,还可以考虑在需要时通过 RPy2。
然后你可以使用诸如 this 之类的包来计算 Spearman 。
If now or in the future you will want access to some advanced statistical packages, also consider calling R libraries from Python when needed via the RPy2.
And then you can compute spearman using a package such as this.