apaPortfolio.Resampled.MeanReturn(Weights, ReturnMatrix, ConfidenceLevel, SampleSize, NumberOfResamples)
Excel
=apaPortfolio.Resampled.MeanReturn(Weights, ReturnMatrix, ConfidenceLevel, SampleSize, NumberOfResamples)Result
Resamples the asset returns and calculates the mean and the lower/upper confidence bounds of the portfolio mean return.
Syntax
Weights: 1 x c vector of portfolio constituent weights
ReturnMatrix: r x c matrix of asset returns, each column containing a times series
ConfidenceLevel: confidence level of the confidence interval, e.g. 95%
SampleSize: number of observations per resample. A good starting point is the number of observations in the return matrix
NumberOfResamples: number of times to resample. 1000 is a good starting point
