[pymvpa] PDist() - returning correlations > 1
n.n.oosterhof at googlemail.com
Thu Jun 4 09:14:15 UTC 2015
On 04 Jun 2015, at 10:59, Charlotte Murphy <cem552 at york.ac.uk> wrote:
> The PDist() command should return a correlation distance (-1 to +1), however when I run the following command I get values outside of this range (> +1).
Actually the correlation distance returns a value from 0 to 2.
The correlation distance between a and b is computed as 1-corr(a,b), so that a value of 0 means a and b are perfectly correlated, 1 means uncorrelated, and 2 means perfectly anti-correlated.
More information about the Pkg-ExpPsy-PyMVPA