TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Probability distributions fitting with Python

55 点作者 Manuelito将近 13 年前
This post shows how to fit a probability distribution using the Scipy Library.

4 条评论

imurray将近 13 年前
Summary: The <i>fit</i> method of the distributions in SciPy does maximum likelihood fitting of parameters to data. This blog post gives a couple of nice quick examples.<p>To see what else is available, one would go here: <a href="http://docs.scipy.org/doc/scipy/reference/stats.html" rel="nofollow">http://docs.scipy.org/doc/scipy/reference/stats.html</a>
sirclueless将近 13 年前
I just want to point out that "we can observe that they are really similar" isn't likely to impress a statistician. It's possible to make a ballpark estimate of how close they actually are because there is a graph with marked axes, but the real derived parameters would be nice to know, and maybe even do the legwork and calculate the expected error for your sample size.
the_cat_kittles将近 13 年前
Thanks for the heads up on a "Rayleigh distribution" (from <a href="http://en.wikipedia.org/wiki/Rayleigh_distribution" rel="nofollow">http://en.wikipedia.org/wiki/Rayleigh_distribution</a>):<p>"One example where the Rayleigh distribution naturally arises is when wind speed is analyzed into its orthogonal 2-dimensional vector components. Assuming that the magnitude of each component is uncorrelated and normally distributed with equal variance, then the overall wind speed (vector magnitude) will be characterized by a Rayleigh distribution."<p>That is cool, I wonder if I will ever use it.
probably将近 13 年前
This is regularly done in R using the MASS library.