News for hackers. Stuff that matters.
Re:Probability distributions fitting with Python by imurray on Friday July 20, 2012 @03:11PM (#4272419)
Summary: The fit method of the distributions in SciPy does maximum likelihood fitting of parameters to data. This blog post gives a couple of nice quick examples.

To see what else is available, one would go here: http://docs.scipy.org/doc/scipy/reference/stats.html

Re:Probability distributions fitting with Python by sirclueless on Friday July 20, 2012 @04:08PM (#4272662)
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.
Re:Probability distributions fitting with Python by the_cat_kittles on Friday July 20, 2012 @08:08PM (#4273457)
Thanks for the heads up on a "Rayleigh distribution" (from http://en.wikipedia.org/wiki/Rayleigh_distribution):

"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."

That is cool, I wonder if I will ever use it.

Re:Probability distributions fitting with Python by probably on Saturday July 21, 2012 @04:24AM (#4274330)
This is regularly done in R using the MASS library.