Tested it and it works like a charm! Thank you very much for fixing
this. Not knowing what an SVN is, I simply copied the code into the
appropriate library files and it works perfectly well.
May I suggest a simple enhancement: modify corrcoef so that if it is
fed two 1 dimensional arrays, it retur
[EMAIL PROTECTED] wrote:
> I want to compute the correlation between two sequences X and Y, and
> tried using SciPy to do so without success.l Here's what I have, how
> can I correct it?
>
This was a bug in NumPy (inherited from Numeric actually). The fix is
in SVN of NumPy.
Here are the new v
> "tkpmep" == tkpmep <[EMAIL PROTECTED]> writes:
tkpmep> I want to compute the correlation between two sequences X
tkpmep> and Y, and tried using SciPy to do so without success.l
tkpmep> Here's what I have, how can I correct it?
X = [1, 2, 3, 4, 5] Y = [5, 4, 3, 2, 1] im
Em Qui, 2006-03-16 às 07:49 -0800, [EMAIL PROTECTED] escreveu:
> I want to compute the correlation between two sequences X and Y, and
> tried using SciPy to do so without success.l Here's what I have, how
> can I correct it?
$ python2.4
Python 2.4.2 (#2, Nov 20 2005, 17:04:48)
[GCC 4.0.3 2005
I want to compute the correlation between two sequences X and Y, and
tried using SciPy to do so without success.l Here's what I have, how
can I correct it?
>>> X = [1, 2, 3, 4, 5]
>>> Y = [5, 4, 3, 2, 1]
>>> import scipy
>>> scipy.corrcoef(X,Y)
Traceback (most recent call last):
File "", line 1,