Financial Toolbox
  Go to function:
    Search    Help Desk 
portalloc    Examples   See Also

Optimal capital allocation.

Syntax

Arguments

PortRisk
Variance of each portfolio. A number of portfolios (NPORTS)-by-1 vector.
PortReturn
Expected return of each portfolio. A number of portfolios (NPORTS)-by-1 vector.
PortWts
Weights allocated to each asset. A number of portfolios (NPORTS)-by-number of assets (NASSETS) matrix of weights allocated to each asset. Each row represents a different portfolio. Total of all weights in a portfolio is 1.
RisklessRate
Risk-free rate. A decimal number.
BorrowRate
Borrowing rate. A decimal number. If borrowing is not desired, or not an option, set to NaN (default)
RiskAversion
Coefficient of investor's degree of risk aversion. Higher numbers indicate greater risk aversion. Typical coefficients range between 2.0 and 4.0 (3 = default).

Description

[RiskyRisk, RiskyReturn, RiskyWts, RiskyFraction, OverallRisk, OverallReturn] = portalloc(PortRisk, PortReturn, PortWts, RisklessRate, BorrowRate, RiskAversion) computes the optimal risky portfolio, and the optimal allocation of funds between the risky portfolio and the risk-free asset.

RiskyRisk is the variance of the optimal risky portfolio.

RiskyReturn is the expected return of the optimal risky portfolio.

RiskyWts is a 1-by-number of assets (NASSETS) vector of weights allocated to the optimal risky portfolio. The total of all weights in the portfolio is 1.

RiskyFraction is the fraction of the complete portfolio allocated in the risky portfolio.

OverallRisk is the variance of the optimal overall portfolio.

OverallReturn is the expected rate of return of the optimal overall portfolio.

Example

Generate the efficient frontier from the asset data:

Find the optimal risky portfolio and allocate capital. The risk free investment return is 8%, and the borrowing rate is 12%.

See Also

frontcon, portrand, portror

Reference

Bodie, Kane, and Marcus, Investments, Chapters 6 and 7.



[ Previous | Help Desk | Next ]