apaDistances.Covar(DataMatrix)
Excel
=apaDistances.Covar(DataMatrix)Result
Derives a distance matrix from the covariance structure of a data matrix. Uses d = sqrt(2*(1-covar_normalized)) to convert, with the normalized covariances within [0,1].
Syntax
DataMatrix: r x c matrix of observations, each column containing a variable
Remarks
Uses population covariances (denominator n).
