简体   繁体   English

如何在 Python 中测试分布的对称性?

[英]How to test symmetry of distribution in Python?

Given data I want to test symmetry of their distribution.给定数据我想测试它们分布的对称性。 In R is function symmetry.test(..) https://www.rdocumentation.org/packages/lawstat/versions/3.4/topics/symmetry.test , I tried to google all tests which are included in the documentation.在 R 中是函数 Symmetry.test(..) https://www.rdocumentation.org/packages/lawstat/versions/3.4/topics/symmetry.test ,我试图用谷歌搜索文档中包含的所有测试。 Do you know some Python library in which is the symmetry test implemented or should I choose R instead of Python?你知道一些 Python 库在其中实现了对称性测试,还是我应该选择 R 而不是 Python? :D Or implement it on my own. :D 或者我自己实现它。

Skewness is a measure of symmetry, thus you can implement a test using skewness.偏度是对称性的度量,因此您可以使用偏度来实现测试。

Take a look at scipy https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.skewtest.html看看scipy https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.skewtest.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM