Top "Scipy" questions

SciPy is an open source library of algorithms and mathematical tools for the Python programming language.

Multivariate normal density in Python?

Is there any python package that allows the efficient computation of the PDF (probability density function) of a multivariate normal …

python numpy scipy probability
Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000

I want to make an logharitmic fit. But I keep getting the a runtime error: Optimal parameters not found: Number …

python scipy curve-fitting
Two-sample Kolmogorov-Smirnov Test in Python Scipy

I can't figure out how to do a Two-sample KS test in Scipy. After reading the documentation scipy kstest I …

python numpy scipy statistics distribution
Simplest way to solve mathematical equations in Python

I want to solve a set of equations, linear, or sometimes quadratic. I don't have a specific problem, but often, …

python math numpy scipy equation
Multiple variables in SciPy's optimize.minimize

According to the SciPy documentation it is possible to minimize functions with multiple variables, yet it doesn't tell how to …

python math scipy
python numpy euclidean distance calculation between matrices of row vectors

I am new to Numpy and I would like to ask you how to calculate euclidean distance between points stored …

python vector numpy scipy euclidean-distance
How to perform cubic spline interpolation in python?

I have two lists to describe the function y(x): x = [0,1,2,3,4,5] y = [12,14,22,39,58,77] I would like to perform cubic spline interpolation …

python scipy interpolation spline cubic-spline
Convert Z-score (Z-value, standard score) to p-value for normal distribution in Python

How does one convert a Z-score from the Z-distribution (standard normal distribution, Gaussian distribution) to a p-value? I have yet …

python statistics scipy
Getting standard errors on fitted parameters using the optimize.leastsq method in python

I have a set of data (displacement vs time) which I have fitted to a couple of equations using the …

python scipy data-fitting
Stepwise Regression in Python

How to perform stepwise regression in python? There are methods for OLS in SCIPY but I am not able to …

python scipy regression