Re: [Tutor] correlation matrix

2007-07-21 Thread Noufal Ibrahim
Beanan O Loughlin wrote: > hi all, > > I am new to python, and indeed to programming, but i have a question > regarding correlation matrices. > > If i have a column vector > > x=[1;2;3;4;5] > > and its transpose row vector > > xt=[1,2,3,4,5] > > is there a simple way in python to create a 5x

Re: [Tutor] correlation matrix

2007-07-21 Thread Terry Carroll
On Sat, 21 Jul 2007, Beanan O Loughlin wrote: > I am new to python, and indeed to programming, but i have a question > regarding correlation matrices. Beanan, I never did get this kind of math, but have you looked at Numerical Python (NumPy), http://numpy.scipy.org/numpydoc/numpy.html ? Every

[Tutor] correlation matrix

2007-07-21 Thread Beanan O Loughlin
hi all, I am new to python, and indeed to programming, but i have a question regarding correlation matrices. If i have a column vector x=[1;2;3;4;5] and its transpose row vector xt=[1,2,3,4,5] is there a simple way in python to create a 5x5 correlation matrix, obviously symmetric and having