Home   >   User Resources   >   Online Help   >   apaCorrels.IsValid
 

 

Function index Version 3.0.0

apaCorrels.IsValid(Correls)

Excel=apaCorrels.IsValid(Correls)

Result

Returns TRUE if the input matrix is a valid correlation matrix, otherwise FALSE.

Syntax

Correls: correlation matrix

Algorithm

Five criteria are tested:

  1. Is the matrix square?

  2. Are all entries of the matrix between -1 and 1?

  3. Are all entries on the main diagonal equal to 1?

  4. Is the matrix symmetric, i.e. are all entries above the main diagonal equal to the entries below?

  5. Is the matrix positive semi-definite?