apaBeta(PortfolioReturns, BenchmarkReturns)
Excel
=apaBeta(PortfolioReturns, BenchmarkReturns)Result
Returns the beta of one or several portfolios relative to a benchmark.
Syntax
PortfolioReturns: r x c matrix of portfolios returns, each column containing a portfolio. All portfolios are assumed to have the same benchmark.
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.
