Home   >   User Resources   >   Online Help   >   apaMeanVariance.Restricted.Bounded.Frontier
 

 

Function index Version 3.0.0

apaMeanVariance.Restricted.Bounded.Frontier(nPointsInbetween, ExpectedReturns, Covariances, LowerBounds, UpperBounds, PortfolioExposure)

Excel=apaMeanVariance.Restricted.Bounded.Frontier(nPointsInbetween, ExpectedReturns, Covariances, LowerBounds, UpperBounds, PortfolioExposure)

Result

Calculates the mean-variance efficient frontier with Markowitz’s Critical Line Algorithm. The first two columns of the result contain the volatilities and returns of the frontier portfolios, the remaining columns the constituent weights.

Syntax

nPointsInbetween: number of frontier portfolios to calculate between corner portfolios

ExpectedReturns: 1 x n vector with expected constituent returns

Covariances: n x n covariance matrix

LowerBounds: 1 x n vector of lower constituent exposure bounds (a vector of zeros, for example, is the “long-only” constraint)

UpperBounds: 1 x n vector of upper constituent exposure bounds

PortfolioExposure: value of the equality constraint on total portfolio exposure, i.e. the sum of constituent exposures (a value of 1 is the “no leverage” constraint)

Algorithm

The Critical Line Algorithm is an “exact” method to generate the efficient frontier. Compared to other methods, the algorithm determines all corner portfolios directly.

Remarks

  • See various publications by Harry Markowitz for details.

Pressing Esc aborts the calculation; the function then returns "Calculation aborted by user."