apaSingleIndexModel.Yhat(PortfolioReturns, BenchmarkReturns, IsDualAlpha, IsDualBeta, IsNonLinear, Threshold, ForceZeroAlpha)
=apaSingleIndexModel.Yhat(PortfolioReturns, BenchmarkReturns, IsDualAlpha, IsDualBeta, IsNonLinear, Threshold, ForceZeroAlpha)Result
Returns the vector of fitted portfolio returns 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
The specification of the index model with all flags except ForceZeroAlpha set to TRUE looks like this…
