Home   >   User Resources   >   Online Help   >   apaMeanVariance.Restricted.Unbounded.LinearEqualityConstraints.Axb.Weights.MVP
 

 

Function index Version 3.0.0

apaMeanVariance.Restricted.Unbounded.LinearEqualityConstraints.Axb.Weights.MVP(Covariances, A, b, DoShowVolRetOtherwiseWeightsOnly)

Excel=apaMeanVariance.Restricted.Unbounded.LinearEqualityConstraints.Axb.Weights.MVP(Covariances, A, b, DoShowVolRetOtherwiseWeightsOnly)

Result

Returns the weights of the restricted and unbounded minimum variance portfolio subject to general linear equality constraints A*w = b. Optionally, the portfolio volatility and expected return are shown in front of the weights.

Syntax

Covariances: n x n covariance matrix

A: m x n matrix of left-hand side parameters of the equality constraints A*w = b, with m the number of equality constraints and n the number of assets

b: m x 1 vector of right-hand side parameters of the equality constraints A*w = b

DoShowVolRetOtherwiseWeightsOnly: optional; TRUE returns the portfolio volatility sqrt(w'Σw), calculated from Covariances and therefore a sample or population volatility as Covariances is, the portfolio expected return, which is #N/A because the function has no expected returns argument, and the n constituent weights, i.e. a 1 x (n + 2) row; FALSE returns the weights only; default: FALSE