Jun
29
revised Python : generating random numbers from a power law distribution
fix a typo in a formula
Jun
29
comment Calculate beta distribution confidence intervals efficiently
On my laptop, which is not the fastest thing on earth, stats.beta.ppf(0.9, np.random.random(1000000), np.random.random(1000000)) takes about twelve seconds. You are probably looking for something else, so it's best if you edit it into your answer.
Jun
29
answered How to set first and last slope of cubic spline interpolation in scipy.interpolate?
Jun
29
answered SciPy Sparse Array: Get index for a data point
Jun
29
revised Python : generating random numbers from a power law distribution
added 302 characters in body
Jun
29
answered Python : generating random numbers from a power law distribution
Jun
29
revised How to use scipy.integrate tplquad for a function that requires more than three (3) arguments
added 1 character in body
Jun
29
answered How to use scipy.integrate tplquad for a function that requires more than three (3) arguments
Jun
27
answered Piecewise constant or 0-degree spline interpolation in Python/Scipy
Jun
24
revised Python Custom Zipf Number Generator Performing Poorly
added 677 characters in body
Jun
24
answered Python Custom Zipf Number Generator Performing Poorly
Jun
24
comment fmin_l_bfgs_b returns NaN as function value, but I don't get that
You've seen the description of 'warnflag' and 'task' keys of the result dict, have you? docs.scipy.org/doc/scipy-0.15.1/reference/generated/… I suspect "LNSRCH" stands for "line search".
Jun
23
comment Weird numpy.sum behavior when adding zeros
I'd venture a guess that it's pairwise summation, github.com/numpy/numpy/pull/3685
Jun
23
answered Wrong Exponential Power Plot - How to improve curve fit
Jun
18
answered python interpolation and data comparison
Jun
15
comment Python import statement in a loop: does import run every loop iteration?
Possible duplicates: stackoverflow.com/questions/296036/…, stackoverflow.com/questions/12487549/…
Jun
8
answered Python p value from t-statistic giving nan
Jun
5
comment Why are errors sometimes larger when using spo.curve_fit with absolute_sigma = False?
@DanielMarx This is not what it's doing. The source code is here: github.com/scipy/scipy/blob/master/scipy/optimize/…
Jun
4
comment No module named scipy.misc
What does $ python -c "import scipy; scipy.test()" output?
May
30
comment Getting the parameter names of scipy.stats distributions
FWIW, Each distribution in scipy stats has an attribute shapes.
1 2 3 4 5