apaStresstest.ExpectedReturns(DataMatrix, SampleSize, nSamples)
Excel
=apaStresstest.ExpectedReturns(DataMatrix, SampleSize, nSamples)Result
Returns bootstrap stressed expected returns: the worst, base and best expected return vectors, stacked vertically.
Syntax
DataMatrix: numeric returns data matrix with observations in rows and assets/series in columns
SampleSize: size of the resampled data sets
nSamples: number of data sets to resample
