Home   >   User Resources   >   Online Help   >   apaMeanVariance.Unrestricted.Unbounded.Weights.FromReturn
 

 

Function index Version 3.0.0

apaMeanVariance.Unrestricted.Unbounded.Weights.FromReturn(PortfolioReturn, ExpectedReturns, Covariances, DoShowVolRetOtherwiseWeightsOnly)

Excel=apaMeanVariance.Unrestricted.Unbounded.Weights.FromReturn(PortfolioReturn, ExpectedReturns, Covariances, DoShowVolRetOtherwiseWeightsOnly)

Result

Returns the composition of the portfolio with a given return on the unrestricted and unbounded mean-variance efficient frontier. Optionally, the portfolio volatility and expected return are shown in front of the weights.

Syntax

PortfolioReturn: target return of the portfolio

ExpectedReturns: 1 x n vector of expected constituent returns

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 e'w, and the n constituent weights, i.e. a 1 x (n + 2) row; FALSE returns the weights only; default: FALSE