Table of Contents

PortfolioOptimizationJupyterProgramming

PortfolioOptimizationReadMe

1 Black litterman model step-by-step

1.1 Modern Portfolio Optimization

Markowitz mean-variance optimization: \[max: \omega\mu - \omega\Sigma\omega'/2\]

Lagrange multiplier solution: \(\omega=(\lambda\Sigma)^{-1}\mu\)

Two most important elements: Expected return \(\mu\), Covariance matrix \(\Sigma\).

1.2 Problem of mean-variance optimization

  • Extreme long or short positions

It could bring extreme long or short positions without constraint(excluding risk exposure constraint, weight constraint).

  • Heavy weight on a small number of assets

When subject to a long only constraint, portfolios will concentrate in a relatively small number of assets.

  • Importance of expected return

A small increase in the expected return of one of the portfolio's assets can force half of the assets from the portfolio.

  • Lack of investor views

Expected return estimate is based on the historical return performance.

If the political risk shows up, macro economy forecast changes, or the fund changes policy or manager, the corporate or the fund performance may change. Investor views can't be integrated into the problem.

1.3 Introduction

The Black-Litterman model uses a Bayesian approach to combine the subjective views of an investor regarding the expected returns of one or more assets with the market equilibrium vector of expected returns (the prior distribution) to form a new, mixed estimate of expected returns.

prior return distribution -> posterior expected return estimated distribution.

Black–Litterman model is a mathematical model for portfolio allocation developed in 1990 at Goldman Sachs by Fischer Black and Robert Litterman, and published in 1992. It seeks to overcome problems that institutional investors have encountered in applying modern portfolio theory in practice, although the covariances of a few assets can be adequately estimated, it is difficult to come up with reasonable estimates of expected returns. The model starts with the equilibrium assumption that the asset allocation of a representative agent should be proportional to the market values of the available assets, and then modifies that to take into account the 'views' (i.e., the specific opinions about asset returns) of the investor in question to arrive at a bespoke asset allocation.

Black–Litterman overcame this problem by not requiring the user to input estimates of expected return; instead it assumes that the initial expected returns are whatever is required so that the equilibrium asset allocation is equal to what we observe in the markets. The user is only required to state how his assumptions about expected returns differ from the market's and to state his degree of confidence in the alternative assumptions. From this, the Black–Litterman method computes the desired (mean-variance efficient) asset allocation.

In general, when there are portfolio constraints - for example, when short sales are not allowed.

  • the easiest way to find the optimal portfolio is to use the Black–Litterman model to generate the expected returns for the assets,
  • and then use a mean-variance optimizer to solve the constrained optimization problem.

1.3.1 reverse optimization to mitigate this problem for unconstrainted solution

\[\Pi = \lambda\Sigma\omega_{mkt}\] where

\(\Pi\) is the implied excess equilibrium return vector(Nx1 vector);

\(\lambda\) is the risk aversion coefficient, \(\lambda=\frac{E(r)-r_f}{\sigma^2}\);

\(\Sigma\) is the covariance matrix of excess returns(NxN matrix);

\(\omega_{mkt}\) is the market capitalization asset weight(Nx1 vector).

Finally, \[\omega^* = (\lambda\Sigma)^{-1}\Pi\]

1.4 Black-Litterman model and the process of building the required inputs.

1.4.1 Black-Litterman model

  1. Posterior distribution of expected return combining Prior distribution of equilibrium excess return and investor views.

    One of the core assumptions of the model is that the security returns are normally distributed.

    1. Prior equilibrium excess return distribution

    Because of this reason during the implementation of model the prior and conditional probabilities are considered to be normally distributed. \[N~(\Pi, \tau\Sigma)\]

    1. View distribution

    \[N~(Q, \Omega)\]

    1. New combined return distribution(Posterior distribution)

    Now as the inputs in the Bayes’ rule are normally distributed so will be the posterior probability. \[N~(E[R], [(\tau\Sigma)^{-1}+(P'\Omega^{-1}P)]^{-1})\]

    One can assume different distributions for each of these probabilities and hence create different variants of Black Litterman model.

  2. Formula

    \[E(R)=[(\tau\Sigma)^{-1}+P'\Omega^{-1}P]^{-1}[(\tau\Sigma)^{-1}\Pi+P'\Omega^{-1}P]\] where

    \(E(R)\) is the new(posterior) combined return vector(Nx1);

    \(\tau\) is a scalar;

    \(\Sigma\) is the covariance matrix of excess returns(NxN matrix);

    \(P\) is a matrix that identifies the assets involved in the views(KxN);

    \(\Omega\) The level of confidence, expressed as the standard deviation around the expected return of the view. The weaker confidence that is set to a view, the less the view is to affect the portfolio weights.

    Is a diagonal covariance matrix of error terms from the expressed views representing the uncertainty in each view(KxK);对第 i 个观点设置信心水平 LCi,根据信心水平和标准刻度因子 CF 来构建观点误差矩阵Ω.

    A view has the form \(Q+\epsilon\): \[\begin{bmatrix} w1 & 0 & 0\\ 0 & ... & 0\\ 0 & 0 & w3 \end{bmatrix}\]

    \(\Pi\) is the implied equilibrium return vector(Nx1); Equilibrium is an idealized state in which supply equals demand. \[\begin{cases} Litterman & \text {percentage} \\ Satchell and Scowcroft & \text{ equal weight } \\ Thomas Idzorek & \text{ market capital weight } \end{cases}\] The relative weighting of each individual asset is proportional to the asset’s market capitalization divided by the total market capitalization of either the outperforming or underperforming assets of that particular view.

    It has three factors: 1. the views; 2. the level of condence assigned to each view; 3.the weight-on-views.

    The net long positions less the net short positions equal 0.

    Thus one can calculate the variance of each individual view portfolio \(p_k\Sigma p'_k\).

    \(Q\) is the view vector(Kx1);

    1. Idzorek method.

    \[Q=\begin{bmatrix} CF/LC_1 &0 &0 \\0 &... &0 \\0 &0 &CF/LC_k \end{bmatrix}\], where \[CF=P^*\Sigma P^{*t}/(100/50), LC_k=\text {level of confidence of kth view}, P^* \text {1xn vector, sum of each column from P}\]

  3. Investor views

    Absolute or relative manager views regarding the expected return of some of the assets in the portfolio.

    • absolute view:

    Asset A will have an absolute excess return of x%;

    • relative view 1:

    Asset A will outperform/underperform asset B by xx basis point;

    • relative view 2:

    Assets A and B will outperform/underperform assets C and D by xx basis points; Equivallently a mini long/short portfolio including A and B vesus a mini short/long portfolio.

    1. Assessing views
      1. Objective
        • 财务指标

        我们考量了其它一些财务指标,如净利润增长率、主营业务收入增长率、净资产收益率等,将各指标进行对比后发现,在我国市场,净利润增长率和主营业务收入增长率等指标非常不稳定、有时具有奇异值,而净资产收益率较为稳定,因此我们在本次实证中使用了净资产收益率作为观点收益,考虑到数据的时效性,我们选用朝阳永续提供的主流券商研究员对行业的一致预期净资产收益率(ROE)数据。

        使用上年底的一致预期 ROE 作为观点收益,设置 20%、 50%和 80%三个信心水平, Wmkt 表示按流通市值权重配置的资产组合.

        • 间接的观点

        在传统的 B-L 模型中,投资者给出的主观观点是对资产的预期收益,而很多时候投资者可能是一些间接的观点,例如对一些指标的观点(股息率、 EPS、 ROE 等),这些因子可能驱动股价波动。 Wing Cheung 提出了 ABL 模型(Augmented B-L模型),首次将因子模型融入到传统 B-L 模型的框架中,大幅度拓宽了 B-L 模型的适用面。

      2. Subjective
        • 分析师主观预期

        采用行业、个股一致预期( consensus data)是对看法( views)的一个有效构建方式。用个股预期评级综合得分的增长量表示个股预期收益率,具体处理细节是,每一个评分增量(减量)相当于5%预期收益(或-5%预期收益)。

1.4.2 Inputs

Input:

w Equilibrium market capitalization weights for each asset.
Σ Matrix of covariances between the assets. Usually computed from historical data.
rf Risk free rate
δ The risk aversion coeffficient of the market portfolio. This can be specified, or can be computed if the investor knows the market return and standard deviation of returns.
τ A measure of the uncertainty of the prior estimate of the mean returns. Scalar. Proportional to the relative weight given to the implied equilibrium return vector(\(\Pi\)). Usually between 0.01~0.05.

1.4.3 Steps:

  1. Π = δΣw

Calculate the equilibrium return using reverse optimization. \[\Pi=\lambda\Sigma\omega_{mkt}\]

Calculate implied market equilibrium returns based on the given benchmark asset allocation weights.

  1. Quantify their uncertainty in the prior by selecting a value for τ.

If the covariance matrix has been generated from historical data, then τ = 1/n is a good place to start.

  1. Formulates their views, specifying P, Ω, and Q.

Given k views and n assets, then P is a k × n matrix where each row sums to 0 (relative view) or 1 (absolute view). Q is a k × 1 vector of the excess returns for each view. Ω is a diagonal k × k matrix of the variance of the estimated view mean about the unknown view mean. As a starting point, some authors call for the diagonal values of Ω to be set equal to pTτΣp (where p is the row from P for the specific view). This weights the views the same as the prior estimates. 考虑有K个观点n个资产的例子,此时,P就是k*n矩阵,每一行代表一个观点,Q为K*1矩阵,存放每个观点的超额收益。Ω是k*k对角矩阵,对角线上的每一个元素代表该观点的方差,与对该观点的置信程度成反比: \[\Omega=(P\Sigma P^T)\tau\]

For example:

expected_excess_return_vector.png

Figure 1: expectedexcessreturnvector

View 1: International Developed Equity will have an absolute excess return of 5.25% (Confidence of View = 25%).

View 2: International Bonds will outperform US Bonds by 25 basis points (Confidence of View = 50%).

View 3: US Large Growth and US Small Growth will outperform US Large Value and US Small Value by 2% (Confidence of View = 65%).

\[P=\begin{bmatrix} 0 &0 &0 &0 &0 &0 &1 &0 \\ -1 &1 &0 &0 &0 &0 &0 &0 \\ 0 &0 &.5 &-.5 &.5 &-.5 &0 &0 \end{bmatrix}\]

\[Q=\begin{bmatrix} 5.25 \\ 0.25 \\ 2 \end{bmatrix}\]

  1. Compute the posterior estimate of the returns using the following equation.

\[\hat\Pi = \Pi + \tau\Sigma P'(P\tau\Sigma P')^{-1}(Q-P\Pi)\]

  1. Compute the posterior variance of the estimated mean about the unknown mean using the following equation.

\[M=\tau \Sigma - \tau \Sigma P'[P\tau\Sigma P'+\Omega]^{-1}P\tau \Sigma\]

  1. Get the covariance of retujrns about the estimated mean.

Assuming the uncertainty in the estimates is independent of the known covariance of returns about the unknown mean. \[\Sigma_p = \Sigma + M\]

  1. Compute the portfolio weights for the optimal portfolio on the unconstrained efficient frontier.

\[\hat {\omega}=(\lambda\Sigma_p)^{-1}\hat {\Pi}\]

1.5 Implied confidence framework for the views

\(\Omega\), which representing the uncertainty of the views, and \(\tau\) are the most abstract mathematical parameters of this model.

how to specify a probability density function for each view?

1.5.1 Implied confidence levels

\[\frac{\hat {\omega} - \omega_{mkt}}{\hat {\omega_{100%}} - \omega_{mkt}}\]

1.5.2 An intuitive approach

1.6 Select asset classes

criteria for specifying asset classes are:

  • Assets within an Asset Class should be homogenous.
  • Asset Classes should be mutually exclusive.
  • Asset Classes should be diversifying.
  • All Asset Classes as a group should make up a significant fraction of all investor's wealth.
  • The Asset Class should have the capacity to absorb a significant fraction of the investor's wealth.
  • Domestic Equity (can be further sub-divided by value vs growth, or large cap vs small cap).
  • International Equity (can be further divided by developed, emerging, or frontier, or large cap vs small cap, or value vs growth).
  • Domestic Fixed Income (can be further divided by sovereign vs corporate, nominal vs inflation protected, short vs long term, furher sub-divided by issuer or credit rating).
  • International Fixed Income (can be further divided by sovereign vs corporate, nominal vs inflation protected, developed vs emerging, or other distinctions.
  • Real Estate (can be further divided by public vs private, type of real estate holding, loans vs properties, domestic vs international).
  • Commodities (can be further divided by public vs private, by type, e.g. energy vs crops vs metals).
  • Private Equity (can be divided by domestic vs international)
  • Cash or cash equivalents

1.7 Deployment on GS:

1.8 Shortfall of BLM

  • 非正态分布市场

由于 B-L 模型里假设的资产收益都是服从正态分布,这对绝大多数市场来说并不现实, Attilio Meucci 提出了在非正态分布的条件下如何去使用 B-L 模型,并且在对风险的处理中,不再采用传统B-L 模型里的方式,也就是说不再用方差来表示风险,改用 CVAR 等来描述风险,以便能够捕捉到非对称和尾部的风险。

  • 多因子扩展模型

在传统的 B-L模型中,投资者给出的主观观点是对资产的预期收益,而很多时候投资者可能是一些间接的观点,例如对一些指标的观点(股息率、 EPS、 ROE 等),这些因子可能驱动股价波动。Wing Cheung 提出了 ABL 模型(Augmented B-L 模型),首次将因子模型融入到传统 B-L 模型的框架中,大幅度拓宽了 B-L 模型的适用面。

PortfolioOptimizationJupyterProgramming

PortfolioOptimizationReadMe