Home   >   User Resources   >   Online Help   >   apaCorrels.Jagged
 

 

Function index Version 3.0.0

apaCorrels.Jagged(DataMatrix)

Excel=apaCorrels.Jagged(DataMatrix)

Result

Calculates the correlation matrix from jagged time series data. The result is not necessarily a valid correlation matrix; check its validity before further processing and fix the correlations if desired.

Syntax

DataMatrix: jagged r x c data matrix, each column containing a time series

Remarks

Each correlation coefficient is the Pearson correlation of the joint observations of the pair, i.e. the rows in which both series are numeric; empty cells, text, logical values and error values are skipped. Where fewer than two joint observations exist or one of the series has zero variance on them, #N/A is returned. The diagonal is 1 for every series with at least two observations and non-zero variance and #N/A otherwise.