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

 

Function index Version 3.0.0

apaMeanVariance.Restricted.Bounded.Frontier.Axb(nPointsInbetween, ExpectedReturns, Covariances, LowerBounds, UpperBounds, PortfolioExposure, A, b, LowerPickMatrix, LowerValues, UpperPickMatrix, UpperValues)

Excel=apaMeanVariance.Restricted.Bounded.Frontier.Axb(nPointsInbetween, ExpectedReturns, Covariances, LowerBounds, UpperBounds, PortfolioExposure, A, b, LowerPickMatrix, LowerValues, UpperPickMatrix, UpperValues)

Result

Calculates the bounded mean-variance efficient frontier with optional linear equality constraints A*w = b and optional linear inequality constraints, using the critical line algorithm. Columns: volatility, return and constituent weights of the frontier portfolios, from the minimum variance to the maximum return portfolio.

Syntax

nPointsInbetween: number of frontier portfolios to calculate between two adjacent corner portfolios

ExpectedReturns: 1 x n vector with expected constituent returns

Covariances: n x n covariance matrix. Singular matrices are allowed if the efficient portfolios are unique, e.g. zero-variance cash assets

LowerBounds: 1 x n vector with lower constituent exposure bounds

UpperBounds: 1 x n vector with upper constituent exposure bounds

PortfolioExposure: value of the equality constraint on total portfolio exposure, i.e. the sum of constituent exposures

A: optional; m x n matrix of the additional linear equality constraints A*w = b, with m the number of equality constraints; default: no equality constraints

b: optional; vector of the m values of the equality constraints A*w = b, supplied together with A; default: no equality constraints

LowerPickMatrix: optional; mL x n matrix of the inequality constraints LowerPickMatrix*w >= LowerValues, e.g. minimum group weights; default: no lower inequality constraints

LowerValues: optional; vector of the mL lower constraint values, supplied together with LowerPickMatrix; default: no lower inequality constraints

UpperPickMatrix: optional; mU x n matrix of the inequality constraints UpperPickMatrix*w <= UpperValues, e.g. maximum group weights or a limit on the short book; default: no upper inequality constraints

UpperValues: optional; vector of the mU upper constraint values, supplied together with UpperPickMatrix; default: no upper inequality constraints

Algorithm

The corner portfolios are calculated with the critical line algorithm generalized to linear equality and inequality constraints, following Niedermayer and Niedermayer.

Remarks

The total exposure constraint and the bounds are combined with the optional constraints A*w = b, LowerPickMatrix*w >= LowerValues and UpperPickMatrix*w <= UpperValues. The equality constraints must be linearly independent, and all constraints must be jointly feasible. Without A, b and inequality constraints, the result equals apaMeanVariance.Restricted.Bounded.Frontier.

Each row of a pick matrix defines one constraint, e.g. a row with ones for the equity constituents and zeros elsewhere limits the total equity weight. Leave A and b empty if only inequality constraints are needed.

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