apaMeanVariance.Strategies.MostDiversified.Weights.FromCovars(Covariances, DoShowVolRetOtherwiseWeightsOnly)
=apaMeanVariance.Strategies.MostDiversified.Weights.FromCovars(Covariances, DoShowVolRetOtherwiseWeightsOnly)Result
Returns the constituent weights of the fully invested and long-only “most diversified” portfolio, i.e. the portfolio which maximizes the risk reduction from imperfectly correlated assets. Optionally, the portfolio volatility and expected return are shown in front of the weights.
Syntax
Covariances: n x n covariance matrix
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
Algorithm
A numerical algorithm is used to determine the constituent weights.
Remarks
The “most diversified” portfolio is the portfolio with the maximum diversification ratio. See apaDiversificationRatio for more details.
Pressing Esc aborts the calculation; the function then returns "Calculation aborted by user."
Related functions
apaMeanVariance.AssetsReturns a 2 x nAssets matrix with the average return of each asset in the first row and its volatility in the second row.apaMeanVariance.Restricted.Bounded.FrontierCalculates the mean-variance efficient frontier with Markowitz’s Critical Line Algorithm.apaMeanVariance.Restricted.Bounded.Frontier.AxbCalculates the bounded mean-variance efficient frontier with optional linear equality constraints A*w = b and optional linear inequality constraints, using the critical line algorithm.apaMeanVariance.Restricted.Bounded.Frontier.Axb.xQxcCalculates the bounded mean-variance efficient frontier with a quadratic constraint w'Q*w <= c and optional linear equality and inequality constraints, using the quadratic critical line algorithm.apaMeanVariance.Restricted.Bounded.Frontier.ResampledResamples points on the mean-variance efficient frontier generated by Markowitz’s Critical Line Algorithm.apaMeanVariance.Restricted.Bounded.Frontier.MorphingMorphs between a set of mean-variance efficient frontiers (Critical Line Algorithm).apaMeanVariance.Restricted.Bounded.Frontier.TrailingCalculates the mean-variance efficient frontier with Markowitz’s Critical Line Algorithm in a sequential (“trailing”) manner, one frontier per row of inputs.apaMeanVariance.Restricted.Bounded.Frontier.xQxcCalculates the bounded mean-variance efficient frontier with one additional quadratic constraint w'Q*w <= c.apaMeanVariance.Restricted.Bounded.Weights.FromReturnReturns the 1 x n weights (optionally preceded by the portfolio volatility and expected return) of the restricted and bounded mean-variance efficient portfolio with a given expected return, i.e.…apaMeanVariance.Transform.TurnoverReturns one input of a bounded mean-variance problem with current weights w0 and proportional transaction costs, transformed so that it can be solved with the…apaMeanVariance.Transform.Turnover.CollapseConverts the results of a problem transformed with apaMeanVariance.Transform.Turnover into final weights, trades, buys, sells or turnover.apaMeanVariance.Restricted.Bounded.Weights.FromRiskToleranceReturns the 1 x n weights (optionally preceded by the portfolio volatility and expected return) of the restricted and bounded mean-variance efficient portfolio for a given risk tolerance, i.e. the…apaMeanVariance.Restricted.Bnbounded.Weights.FromRiskToleranceReturns the weights of the restricted mean-variance efficient portfolio for a given risk tolerance, without bounds on the constituent weights.apaMeanVariance.Restricted.Bounded.Weights.FromVolatilityReturns the 1 x n weights (optionally preceded by the portfolio volatility and expected return) of the restricted and bounded mean-variance efficient portfolio with a given volatility, with…apaMeanVariance.Restricted.Bounded.Weights.MRPReturns the 1 x n weights (optionally preceded by the portfolio volatility and expected return) of the restricted and bounded maximum return portfolio with optional linear equality and inequality…apaMeanVariance.Restricted.Bounded.Weights.MSRReturns the 1 x n weights (optionally preceded by the portfolio volatility and expected return) of the restricted and bounded maximum Sharpe ratio portfolio with optional linear equality and…apaMeanVariance.Restricted.Bounded.Weights.MVPReturns the 1 x n weights (optionally preceded by the portfolio volatility and expected return) of the restricted and bounded minimum variance portfolio with optional linear equality and…apaMeanVariance.Restricted.Bounded.Weights.Resampled.FromRiskToleranceCalculates the composition of a resampled portfolio on the Markowitz mean-variance efficient frontier for a given risk tolerance, i.e. the average of the optimal portfolios across resampled inputs.apaMeanVariance.Restricted.Unbounded.FrontierCalculates the restricted and unbounded mean-variance efficient frontier, from the minimum variance portfolio up to a given maximum return.apaMeanVariance.Restricted.Unbounded.Hyperbola.CenterReturns the coordinates of the center of the hyperbola which describes the restricted and unbounded efficient frontier in return/volatility space.apaMeanVariance.Restricted.Unbounded.Hyperbola.SlopeReturns the slope of the asymptote of the hyperbola which describes the restricted and unbounded efficient frontier in return/volatility space.apaMeanVariance.Restricted.Unbounded.IR.FrontierCalculates the information ratio efficient frontier, i.e. the frontier of portfolios with maximum active return per unit of tracking error (TE) relative to a benchmark, in return/volatility space.apaMeanVariance.Restricted.Unbounded.IR.Frontier.ActiveReturnTESpaceCalculates the information ratio efficient frontier in active return/tracking error (TE) space.apaMeanVariance.Restricted.Unbounded.LinearEqualityConstraints.Axb.FrontierCalculates the restricted and unbounded mean-variance efficient frontier subject to general linear equality constraints A*w = b.apaMeanVariance.Restricted.Unbounded.LinearEqualityConstraints.Axb.Weights.FromReturnReturns the weights of the restricted and unbounded mean-variance efficient portfolio with a given return, subject to general linear equality constraints A*w = b.apaMeanVariance.Restricted.Unbounded.LinearEqualityConstraints.Axb.Weights.MVPReturns the weights of the restricted and unbounded minimum variance portfolio subject to general linear equality constraints A*w = b.apaMeanVariance.Restricted.Unbounded.LinearEqualityConstraints.FrontierCalculates the restricted and unbounded mean-variance efficient frontier subject to additional linear equality constraints on portfolio betas.apaMeanVariance.Restricted.Unbounded.LinearEqualityConstraints.Weights.FromReturnReturns the weights of the restricted and unbounded mean-variance efficient portfolio with a given return, subject to additional linear equality constraints on portfolio betas.apaMeanVariance.Restricted.Unbounded.LinearEqualityConstraints.Weights.MVPReturns the weights of the restricted and unbounded minimum variance portfolio subject to additional linear equality constraints on portfolio betas.apaMeanVariance.Restricted.Unbounded.Return.FromVolatilityCalculates the return of the restricted and unbounded frontier portfolio with a given volatility.apaMeanVariance.Restricted.Unbounded.TE.FrontierCalculates the constant tracking error (TE) frontier in return/volatility space, i.e. the efficient part of the TE ellipse around the benchmark.apaMeanVariance.Restricted.Unbounded.TE.Frontier.EllipseCalculates the constant tracking error (TE) ellipse around a benchmark portfolio in return/volatility space.apaMeanVariance.Restricted.Unbounded.TE.Frontier.SpecialPortfoliosReturns the volatility, return and composition of special portfolios on the constant tracking error (TE) frontier:apaMeanVariance.Restricted.Unbounded.TE.Weights.FromVolatilityReturns the composition of the portfolio on the constant tracking error (TE) frontier with a given volatility.apaMeanVariance.Restricted.Unbounded.Volatility.FromReturnCalculates the volatility of the restricted and unbounded frontier portfolio with a given return.apaMeanVariance.Restricted.Unbounded.Weights.FromVolatilityReturns the weights of the restricted and unbounded mean-variance efficient portfolio with a given volatility.apaMeanVariance.Restricted.Unbounded.Weights.FromReturnReturns the weights of the restricted and unbounded mean-variance efficient portfolio with a given return.apaMeanVariance.Restricted.Unbounded.Weights.FromRiskToleranceReturns the weights of the restricted and unbounded mean-variance efficient portfolio for a given risk tolerance.apaMeanVariance.Restricted.Unbounded.Weights.MSRReturns the weights of the restricted and unbounded maximum Sharpe ratio portfolio.apaMeanVariance.Restricted.Unbounded.Weights.MVPReturns the weights of the restricted and unbounded minimum variance portfolio.
