apaContribution.Beta(AssetWeights, AssetReturns, BenchmarkReturns)
Excel
=apaContribution.Beta(AssetWeights, AssetReturns, BenchmarkReturns)Result
Calculates the ex post contributions to portfolio beta, based on time-variable asset weights.
Syntax
AssetWeights: r x n matrix of time-variable asset weights
AssetReturns: r x n matrix of asset returns, each column containing a time series
BenchmarkReturns: r x 1 vector of benchmark returns
Algorithm
Remarks
Ratio of sample covariance to sample variance (denominator n − 1); population moments give the same beta.
