Portfolio Optimization Theory
Portfolio Optimization Problems
Portfolio optimization problems involve identifying portfolios that satisfy three criteria:
Minimize a proxy for risk.
Match or exceed a proxy for return.
Satisfy basic feasibility requirements.
Portfolios are points from a feasible set of assets that constitute an asset universe. A portfolio specifies either holdings or weights in each individual asset in the asset universe. The convention is to specify portfolios in terms of weights, although the portfolio optimization tools work with holdings as well.
The set of feasible portfolios is necessarily a nonempty, closed, and bounded set. The proxy for risk is a function that characterizes either the variability or losses associated with portfolio choices. The proxy for return is a function that characterizes either the gross or net benefits associated with portfolio choices. The terms “risk” and “risk proxy” and “return” and “return proxy” are interchangeable. The fundamental insight of Markowitz (see Portfolio Optimization) is that the goal of the portfolio choice problem is to seek minimum risk for a given level of return and to seek maximum return for a given level of risk. Portfolios satisfying these criteria are efficient portfolios and the graph of the risks and returns of these portfolios forms a curve called the efficient frontier.
Portfolio Problem Specification
To specify a portfolio optimization problem, you need the following:
Proxy for portfolio return (μ)
Proxy for portfolio risk (σ)
Set of feasible portfolios (X), called a portfolio set
Financial Toolbox™ has three objects to solve specific types of portfolio optimization problems:
The
Portfolio
object supports mean-variance portfolio optimization (see Markowitz [46], [47] at Portfolio Optimization). This object has either gross or net portfolio returns as the return proxy, the variance of portfolio returns as the risk proxy, and a portfolio set that is any combination of the specified constraints to form a portfolio set.The
PortfolioCVaR
object implements what is known as conditional value-at-risk portfolio optimization (see Rockafellar and Uryasev [48], [49] at Portfolio Optimization), which is generally referred to as CVaR portfolio optimization. CVaR portfolio optimization works with the same return proxies and portfolio sets as mean-variance portfolio optimization but uses conditional value-at-risk of portfolio returns as the risk proxy.The
PortfolioMAD
object implements what is known as mean-absolute deviation portfolio optimization (see Konno and Yamazaki [50] at Portfolio Optimization), which is referred to as MAD portfolio optimization. MAD portfolio optimization works with the same return proxies and portfolio sets as mean-variance portfolio optimization but uses mean-absolute deviation portfolio returns as the risk proxy.
Return Proxy
The proxy for portfolio return is a function on a portfolio set that characterizes the rewards associated with portfolio choices. Usually, the proxy for portfolio return has two general forms, gross and net portfolio returns. Both portfolio return forms separate the risk-free rate r0 so that the portfolio contains only risky assets.
Regardless of the underlying distribution of asset returns, a collection of S asset returns y1,...,yS has a mean of asset returns
and (sample) covariance of asset returns
These moments (or alternative estimators that characterize these moments) are used directly in mean-variance portfolio optimization to form proxies for portfolio risk and return.
Gross Portfolio Returns
The gross portfolio return for a portfolio is
where:
r0 is the risk-free rate (scalar).
m is the mean of asset returns (n vector).
If the portfolio weights sum to 1
, the risk-free rate is
irrelevant. The properties in the Portfolio
object to specify
gross portfolio returns are:
RiskFreeRate
for r0AssetMean
for m
Net Portfolio Returns
The net portfolio return for a portfolio is
where:
r0 is the risk-free rate (scalar).
m is the mean of asset returns (n vector).
b is the proportional cost to purchase assets (n vector).
s is the proportional cost to sell assets (n vector).
You can incorporate fixed transaction costs in this model also. Though in this
case, it is necessary to incorporate prices into such costs. The properties in
the Portfolio
object to specify net portfolio returns are:
RiskFreeRate
for r0AssetMean
for mInitPort
for x0BuyCost
for bSellCost
for s
Risk Proxy
The proxy for portfolio risk is a function on a portfolio set that characterizes the risks associated with portfolio choices.
Variance
The variance of portfolio returns for a portfolio is
where C is the covariance of asset
returns (n
-by-n
positive-semidefinite
matrix). Covariance is a measure of the degree to which
returns on two assets move in tandem. A positive covariance means that asset
returns move together; a negative covariance means they vary inversely.
The property in the Portfolio
object to specify the
variance of portfolio returns is AssetCovar
for
C.
Although the risk proxy in mean-variance portfolio optimization is the variance of portfolio returns, the square root, which is the standard deviation of portfolio returns, is often reported and displayed. Moreover, this quantity is often called the “risk” of the portfolio. For details, see Markowitz (Portfolio Optimization).
Conditional Value-at-Risk
The conditional value-at-risk for a portfolio , which is also known as expected shortfall, is defined as
where:
α is the probability level such that 0
< α < 1
.
f(x,y) is the loss function for a portfolio x and asset return y.
p(y) is the probability density function for asset return y.
VaRα is the value-at-risk of portfolio x at probability level α.
The value-at-risk is defined as
An alternative formulation for CVaR has the form:
The choice for the probability level α is typically 0.9 or
0.95. Choosing α implies that the value-at-risk
VaRα(x)
for portfolio x is the portfolio return such that the
probability of portfolio returns falling below this level is
(1
–α). Given
VaRα(x)
for a portfolio x, the conditional value-at-risk of the
portfolio is the expected loss of portfolio returns above the value-at-risk return.
Note
Value-at-risk is a positive value for losses so that the probability level α indicates the probability that portfolio returns are below the negative of the value-at-risk.
To describe the probability distribution of returns, the
PortfolioCVaR
object takes a finite sample of return
scenarios ys, with
s = 1
,...,S. Each
ys is an
n vector that contains the returns for each of the
n assets under the scenario s. This
sample of S scenarios is stored as a scenario matrix of size
S-by-n. Then, the risk proxy for CVaR
portfolio optimization, for a given portfolio and , is computed as
The value-at-risk, VaRα(x), is estimated whenever the CVaR is estimated. The loss function is , which is the portfolio loss under scenario s.
Under this definition, VaR and CVaR are sample estimators for VaR and CVaR based on the given scenarios. Better scenario samples yield more reliable estimates of VaR and CVaR.
For more information, see Rockafellar and Uryasev [48], [49], and Cornuejols and Tütüncü, [51], at Portfolio Optimization.
Mean Absolute-Deviation
The mean-absolute deviation (MAD) for a portfolio is defined as
where:
ys are asset returns with scenarios s = 1,...S (S collection of n vectors).
f(x,y) is the loss function for a portfolio x and asset return y.
m is the mean of asset returns (n vector).
such that
For more information, see Konno and Yamazaki [50] at Portfolio Optimization.
See Also
Portfolio
| PortfolioCVaR
| PortfolioMAD
Related Examples
More About
- PortfolioCVaR Object
- Supported Constraints for Portfolio Optimization Using PortfolioCVaR Object
- Default Portfolio Problem
- PortfolioCVaR Object Workflow