Home   >   User Resources   >   Online Help   >   apaCorrels.Analyze
 

 

Function index Version 3.0.0

apaCorrels.Analyze(Correls)

Excel=apaCorrels.Analyze(Correls)

Result

Returns a text string containing information about the validity of a correlation matrix: valid, invalid or problematic.

Syntax

Correls: correlation matrix

Algorithm

Six criteria are analyzed:

  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?

  6. Is the matrix near-singular?

Remarks

A hard criterion whether a matrix is singular or not does not exist. Singularity is considered an issue if the matrix determinant is smaller than 0.0001. Absolute numbers smaller than 1e-12 are considered zero, absolute numbers between 1e-12 and 1e-6 are considered near-zero.