apaReturns.FromConstWeights(Weights, Returns)
Excel
=apaReturns.FromConstWeights(Weights, Returns)Result
Calculates portfolio return time series from a matrix of constant constituent weights and a matrix of constituent returns. Each column of the result corresponds to a different portfolio.
Syntax
Weights: p x c matrix of constituent weights, each row containing a different portfolio. The sum of each row gives the total exposure (typically one)
Returns: r x c matrix of constituent returns, each column containing a return time series
Algorithm
t = 1, 2, …, T-2, T-1, T
