擅长:python、mysql、java
<p>问题是,正如您链接到的文档所建议的那样:<code>"The KS test is only valid for continuous distributions."</code>而泊松分布是离散的。在</p>
<p>我建议你用这个链接中的例子:
<a href="http://nbviewer.ipython.org/urls/raw.github.com/CamDavidsonPilon/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers/master/Chapter1_Introduction/Chapter1_Introduction.ipynb" rel="nofollow">http://nbviewer.ipython.org/urls/raw.github.com/CamDavidsonPilon/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers/master/Chapter1_Introduction/Chapter1_Introduction.ipynb</a>
(查找“示例:从短信数据推断行为”)</p>
<p>在该链接中,他们检查特定数据集的适当lambda(s)<em>假设</em>根据poisson过程分布。在</p>