apaMeanVariance.Restricted.Unbounded.LinearEqualityConstraints.Weights.MVP(Covariances, PortfolioExposure, Betas, PortfolioBetas, DoShowVolRetOtherwiseWeightsOnly)
=apaMeanVariance.Restricted.Unbounded.LinearEqualityConstraints.Weights.MVP(Covariances, PortfolioExposure, Betas, PortfolioBetas, DoShowVolRetOtherwiseWeightsOnly)Result
Returns the weights of the restricted and unbounded minimum variance portfolio subject to additional linear equality constraints on portfolio betas. Optionally, the portfolio volatility and expected return are shown in front of the weights.
Syntax
Covariances: n x n covariance matrix
PortfolioExposure: value of the equality constraint on total portfolio exposure, i.e. the sum of constituent exposures
Betas: m x n matrix of betas, with m the number of additional linear equality constraints
PortfolioBetas: m x 1 vector of target portfolio betas
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
