Home   >   User Resources   >   Online Help   >   apaCovar.ExpWeighted
 

 

Function index Version 3.0.0

apaCovar.ExpWeighted(TimeSeries1, TimeSeries2, HalfLife)

Excel=apaCovar.ExpWeighted(TimeSeries1, TimeSeries2, HalfLife)

Result

Returns the exponentially weighted covariance between two time series.

Syntax

TimeSeries1: vector with time series data

TimeSeries2: vector with time series data

HalfLife: half-life of the exponential weighting scheme

Remarks

The means of both series are exponentially weighted with the same weights as the covariance, see apaExponentialWeights.

Exponentially weighted moments; the weights sum to one (population-type, no small-sample correction).