apaSingleIndexModel.R2(PortfolioReturns, BenchmarkReturns, IsDualAlpha, IsDualBeta, IsNonLinear, Threshold, ForceZeroAlpha)
Excel
=apaSingleIndexModel.R2(PortfolioReturns, BenchmarkReturns, IsDualAlpha, IsDualBeta, IsNonLinear, Threshold, ForceZeroAlpha)Result
Returns the R-squared of a particular single index model specification.
Syntax
PortfolioReturns: r x 1 vector of portfolio returns
BenchmarkReturns: r x 1 vector of benchmark returns
IsDualAlpha: TRUE for separate alphas for benchmark returns below and above the threshold
IsDualBeta: TRUE for separate betas for benchmark returns below and above the threshold
IsNonLinear: TRUE to include a squared benchmark return term
Threshold: benchmark return threshold separating down and up markets
ForceZeroAlpha: optional; TRUE to force alpha to zero (no intercept); default: FALSE
Algorithm
R-squared is calculated as the squared correlation between the fitted and actual portfolio returns.
