Home   >   User Resources   >   Online Help   >   apaCorrels.Gerber.Table
 

 

Function index Version 3.0.0

apaCorrels.Gerber.Table(TimeSeries1, TimeSeries2, c, IsPercentOtherwiseAbs)

Excel=apaCorrels.Gerber.Table(TimeSeries1, TimeSeries2, c, IsPercentOtherwiseAbs)

Result

Calculates the Gerber table, i.e. the number (or percentage) of observations in which the two time series move jointly up, jointly down, or in opposite directions beyond the threshold.

Syntax

TimeSeries1: r x 1 vector containing the first time series

TimeSeries2: r x 1 vector containing the second time series

c: number of standard deviations around the mean within which observations are excluded

IsPercentOtherwiseAbs: TRUE to return percentages of observations, FALSE to return the absolute number of observations

Remarks

The thresholds use the sample standard deviation (denominator n − 1).