apaBeta.ExpWeighted(TimeSeriesX, TimeSeriesY, HalfLife)
Excel
=apaBeta.ExpWeighted(TimeSeriesX, TimeSeriesY, HalfLife)Result
Returns the beta of Y relative to X from exponentially weighted observations.
Syntax
TimeSeriesX: r x 1 vector containing the X time series data (e.g. benchmark returns)
TimeSeriesY: r x 1 vector containing the Y time series data (e.g. portfolio returns)
HalfLife: half-life of the exponential weighting scheme, i.e. the number of past observations after which an observation gets half the weight of the most recent observation
Remarks
Exponentially weighted moments; the weights sum to one (population-type, no small-sample correction).
