apaCovars.ExpWeighted(TimeSeries, HalfLife)
Excel
=apaCovars.ExpWeighted(TimeSeries, HalfLife)Result
Calculates the exponentially weighted covariance matrix from a time series matrix.
Syntax
TimeSeries: r x c matrix of time series data, each column containing a series
HalfLife: half-life of the exponential weighting scheme
Remarks
Exponentially weighted moments; the weights sum to one (population-type, no small-sample correction).
