Вы находитесь на странице: 1из 54

Implied risk premium and factor investment

Author: Theodor Munteanu, Financial Engineer

Contents
Abstract: ........................................................................................................................................................ 3
Chapter 1: Selection of quality factors and building the quality score ......................................................... 3
1.1 Introduction .................................................................................................................................. 3
1.2 Explanation of the variables................................................................................................................ 4
1.3 Methodology of selection of factors ................................................................................................... 5
1.4 RESULTS............................................................................................................................................... 5
1.4.1 STATIC APPROACH ....................................................................................................................... 5
1.4.2 DYNAMIC APPROACH................................................................................................................... 7
1.4.3 Remarks & Decisions ........................................................................................................................ 7
1.5 Valuation measures for the quality stocks.......................................................................................... 7
1.5.1 Methodology ................................................................................................................................ 7
1.5.2 Results .......................................................................................................................................... 8
1.6 Valuation measures for momentum stocks ........................................................................................ 9
1.6.1 Methodology ................................................................................................................................ 9
1.6.2 Results ........................................................................................................................................ 10
1.6.3 Remarks: .................................................................................................................................... 11
Chapter 2: Correlation measures across factors......................................................................................... 11
2.1. Introduction and definitions ....................................................................................................... 11
2.2 Percentages of common names........................................................................................................ 12
2.2.1 Methodology .............................................................................................................................. 12
2.2.2 Results ........................................................................................................................................ 12
2.2 Indexes performance properties: ..................................................................................................... 14
Chapter 3: Dynamic asset allocation strategies .......................................................................................... 17
3.1 Introduction ...................................................................................................................................... 17
3.2 Methodology..................................................................................................................................... 18
3.2.1 Allocation styles ......................................................................................................................... 18
3.2.2 Forecasting returns .................................................................................................................... 20
3.3. MYOPIC RETURNS ....................................................................................................................... 22
3.3.1 𝜎 − problem .............................................................................................................................. 22

1
3.3.2 MV allocation ............................................................................................................................. 27
3.3.3 ERC allocation ............................................................................................................................ 29
3.4 RISK Adjusted Returns....................................................................................................................... 31
3.4.1 𝜎-problem .................................................................................................................................. 31
3.4.2 MV allocation ............................................................................................................................. 32
3.4.3 ERC allocation ............................................................................................................................ 34
3.5 Vector Auto-regression Returns ....................................................................................................... 36
3.5.1 𝜎-problem .................................................................................................................................. 36
3.5.2 MV allocation ............................................................................................................................. 37
3.5.3 ERC allocation ............................................................................................................................ 39
3.5.4 Remarks regarding VAR stability and back-testing ............................................................. 40
3.6 Risk-weighted returns (GARCH(1,1))................................................................................................. 43
3.7: Information ratio.............................................................................................................................. 44
3.7.1: Methodology............................................................................................................................. 44
3.7.2 Myopic returns .................................................................................................................... 44
3.7.3: VAR(1) forecasted returns results............................................................................................. 47
3.7.4 REMARKS for VAR allocation results: ......................................................................................... 49
3.7.5 GARCH(1,1) forecasted returns results ...................................................................................... 50
3.7.6 Remarks...................................................................................................................................... 51
3.8 Final conclusion on allocations ................................................................................................... 51
Chapter 4: APPENDIX: ................................................................................................................................. 51
Matlab code for the functions ERC, MV, RPB, 𝜎 −problem for allocation strategies ............................ 51
RPB and ERC portfolio: ........................................................................................................................ 51
MV portfolio ........................................................................................................................................ 53
SOURCES: ................................................................................................................................................ 54

2
Abstract:
The following work will be composed of three parts:

1. The selection of the factors that explain best the implied risk premium (Implied Cost of Equity)
across stocks and industrial sectors. Definition of “Quality” and “quality score”
2. Consistency check between the correlations of performances of representative stocks for each
factor and the correlations of performances of their corresponding MSCI indexes.
If the consistency is valid, we can reduce the problem of allocation across hundreds of stocks, to
allocation across indexes.
3. Analysis of various allocation strategies across indexes depending on forecast models and
allocation problem (minimum-variance, 𝜎 −targeted maximum return problems, or risk
budgeting problems (in particular ERC portfolios)).

Chapter 1: Selection of quality factors and building the quality score


1.1 Introduction
The universe of stocks on which the presentation is based is the so called CAPEX UNIVERSE, defined
below, consisting of 552 stocks, depending on the data availability.

Data availability for a factor = the average over all stocks of the CAPEX Universe, of the number of
non-NaN values = 1 – average percentage of NaN’s.

The CAPEX Universe = the stocks which have complete historical information about EPS (Earnings
per Share) and CAPEX (Capital Expenditures) throughout the last 10 years.
The summary of data availability for relevant variables is as follows:

Variable 1998-2017 2007-2017


Net Debt 85,6% 99,9%
Total Debt 9,8% 19,7%
Shareholders’ Equity 49,2% 98,2%
Net Income 61,8% 99,6%
Total Assets 36,5% 72,7%
Leverages 47,3% 94,3%
EPS12MF 91,8% 99,9%
Profitability 47,3% 94,2%
Prices 91,5% 99,5%
Market Cap 88,7% 98,9%
Price/Earnings 88,1% 96,3%
Dividend per Share 91,6% 99,9%
Growth 89,5% 97,0%
Source: Factsets Estimates, 12MF or computations made as follows:
𝑁𝑒𝑡 𝐷𝑒𝑏𝑡 𝑁𝑒𝑡 𝐼𝑛𝑐𝑜𝑚𝑒
Leverage = , Profitability = .
𝑇𝑜𝑡𝑎𝑙 𝐴𝑠𝑠𝑒𝑡𝑠 𝑇𝑜𝑡𝑎𝑙 𝐴𝑠𝑠𝑒𝑡𝑠

3
MSCI also provides three factors which define the quality score.

The factors are: variability of earnings per share, leverage and profitability.

It also defines the quality score as the average of the z-scores of each of the above three factors.

For details of the methodology of computation of the quality z-score, see page 6/17 (Section 2.2) of this
link: https://www.msci.com/eqb/methodology/meth_docs/MSCI_Quality_Indices_Methodology.pdf

1.2 Explanation of the variables


1. Main variables

DEFINITION :
We define Cost of Equity of a firm as the compensation demanded by the market for owning
the asset and bearing the risk of ownership.
We can put Cost of Equity in relation with other variables to be studied further:
Cost of Equity = 𝐷𝑃𝑆 (𝑛𝑒𝑥𝑡 𝑦𝑒𝑎𝑟)/𝑃𝑟𝑖𝑐𝑒 (now) + growth rate of dividend (DPS = dividend per
share)
Variability of earnings per share = annualized standard deviation of EPS weekly of % changes.
𝑵𝒆𝒕 𝑫𝒆𝒃𝒕 𝑵𝒆𝒕 𝑰𝒏𝒄𝒐𝒎𝒆
𝑳𝒆𝒗𝒆𝒓𝒂𝒈𝒆 = 𝑻𝒐𝒕𝒂𝒍 𝑬𝒒𝒖𝒊𝒕𝒚
, 𝑷𝒓𝒐𝒇𝒊𝒕𝒂𝒃𝒊𝒍𝒊𝒕𝒚 = 𝑻𝒐𝒕𝒂𝒍 𝑨𝒔𝒔𝒆𝒕𝒔.

We define Implied Cost of Equity of a firm as the internal rate of return that equates the asset’s
market value to the present value of its expected future cash flows.

Formally, it can be defined as the value of 𝑘 such that:


𝑬[𝑫𝒕 ]
𝑷𝟎 = ∑∞𝒕=𝟏 (𝟏+𝒌) 𝒕 , where:

𝑷𝟎 =current share price, at the end of year 0,


𝑬[𝑫𝒕 ] =expected dividends per share at the end of year 𝒕,
𝒌 = cost of capital or, equivalently, shareholders’ expected rate of return.

2. Other variables that might be included:


𝑐𝑜𝑣(𝑟𝑒𝑡𝑢𝑟𝑛(𝑠𝑡𝑜𝑐𝑘𝑖 ),𝑟𝑒𝑡𝑢𝑟𝑛(𝐷𝐽 𝑆𝑡𝑜𝑥𝑥))
𝛽(𝑠𝑡𝑜𝑐𝑘𝑖 , 𝐷𝐽 𝑆𝑡𝑜𝑥𝑥) = 𝑣𝑎𝑟(𝑟𝑒𝑡𝑢𝑟𝑛(𝐷𝐽 𝑆𝑡𝑜𝑥𝑥))
1
𝐸𝑃𝑆 𝑀𝑜𝑚𝑒𝑛𝑡𝑢𝑚 𝑠𝑐𝑜𝑟𝑒 = 2 (𝑧𝑠𝑐𝑜𝑟𝑒 (𝑟𝑒𝑡𝑢𝑟𝑛 (𝐸𝑃𝑆, 6𝑀)) + 𝑧𝑠𝑐𝑜𝑟𝑒 (𝑟𝑒𝑡𝑢𝑟𝑛(𝐸𝑃𝑆, 12𝑀))) (1)
1
𝑃𝑟𝑖𝑐𝑒 𝑀𝑜𝑚𝑒𝑛𝑡𝑢𝑚 𝑠𝑐𝑜𝑟𝑒 = (𝑧𝑠𝑐𝑜𝑟𝑒 (𝑟𝑒𝑡𝑢𝑟𝑛(𝑃𝑟𝑖𝑐𝑒, 6𝑀)) + 𝑧𝑠𝑐𝑜𝑟𝑒 (𝑟𝑒𝑡𝑢𝑟𝑛(𝑃𝑟𝑖𝑐𝑒, 12𝑀))) (2)
2
𝑆𝑡𝑑 𝑑𝑒𝑣(𝑃𝑟𝑖𝑐𝑒 𝑟𝑒𝑡𝑢𝑟𝑛𝑠) = annualized standard deviation of weekly price returns.

(1), (2) – the 2 momentum scores are chosen according to pages 4, 5 of the article published here:

https://www.msci.com/eqb/methodology/meth_docs/MSCI_Momentum_Indexes_Methodology_Sep20
14.pdf

4
1.3 Methodology of selection of factors
We will proceed in two steps:
1. STATIC APPROACH: We will choose the best 3 factors explaining implied cost of equity
from the factors mentioned above, by studying one-factor regression models as
follows:
a.
M1. 𝑪𝒐𝑬 = 𝒂𝟏 + 𝒃𝟏 ⋅ 𝑳𝒆𝒗𝒆𝒓𝒂𝒈𝒆, M2. 𝑪𝒐𝑬 = 𝒂𝟐 + 𝒃𝟐 ⋅ 𝑷𝒓𝒐𝒇𝒊𝒕𝒂𝒃𝒊𝒍𝒊𝒕𝒚
M3. 𝑪𝒐𝑬 = 𝒂𝟑 + 𝒃𝟑 ⋅ 𝒔𝒕𝒅𝒅𝒆𝒗(𝑬𝑷𝑺 % 𝐜𝐡𝐚𝐧𝐠𝐞𝐬),
M4. 𝑪𝒐𝑬 = 𝒂𝟒 + 𝒃𝟒 ⋅ 𝜷, M5. 𝑪𝒐𝑬 = 𝒂𝟓 + 𝒃𝟓 ⋅ 𝑬𝑷𝑺 𝑴𝒐𝒎𝒆𝒏𝒕𝒖𝒎 𝒔𝒄𝒐𝒓𝒆,
M6. 𝑪𝒐𝑬 = 𝒂𝟔 + 𝒃𝟔 ⋅ 𝑷𝒓𝒊𝒄𝒆 𝑴𝒐𝒎𝒆𝒏𝒕𝒖𝒎 𝒔𝒄𝒐𝒓𝒆,
M7. 𝑪𝒐𝑬 = 𝒂𝟕 + 𝒃𝟕 ⋅ 𝒔𝒕𝒅𝒅𝒆𝒗(𝑷𝒓𝒊𝒄𝒆 % 𝒄𝒉𝒂𝒏𝒈𝒆𝒔)

b. The regressions’ results (coefficients and 𝑹𝟐 statistics) we compute stock-by-stock,


over their entire history. We will have as many 𝑹𝟐 statistics as stocks.
This will be called “STATIC APPROACH”.
c. We compute the averages of these results by industrial sector.
d. We select the best 3 factors explaining CoE from the initial 7 by the highest 𝑹𝟐 .
e. If we have two or more options whose results are close, we will proceed to a local
analysis to these 𝑹𝟐 -statistics and coefficients.
2. Dynamic approach:
We repeat the above steps, but instead of taking the entire history of stock, we
consider a 52-week rolling period, as long as the availability of data is “acceptable”
(e.g. > 80%).

1.4 RESULTS
1.4.1 STATIC APPROACH
Table 1.1 (Average of 𝑅 2 across industry sectors, over 1997 – 2017 period)

Sector M1 M2 M3 M4 M5 M6 M7
Auto 32.8% 32.6% 24.5% 8.8% 3.8% 7.1% 25.2%
Basic Resources 17.1% 23.3% 12.1% 4.3% 6.0% 8.3% 13.4%
Chemicals 14.3% 24.0% 22.3% 8.8% 6.8% 10.4% 23.9%
Construction 16.6% 14.5% 19.7% 10.8% 10.2% 12.7% 10.7%
Finance 17.4% 16.4% 9.1% 9.2% 16.4% 20.0% 19.6%
Food 26.9% 27.3% 12.9% 6.4% 6.3% 7.5% 19.0%
Health Care 17.2% 23.3% 13.5% 5.6% 8.8% 10.8% 14.4%
Industrial Goods 22.3% 24.6% 16.3% 7.1% 6.5% 9.5% 19.2%

5
Media 16.4% 23.8% 14.1% 7.6% 7.0% 9.3% 13.1%
Oil & Gas 19.2% 14.9% 11.5% 7.5% 7.0% 12.6% 11.7%
Personal Goods 22.8% 22.5% 11.6% 6.3% 6.2% 10.0% 12.8%
Real Estate 9.7% 12.7% 9.2% 9.0% 4.1% 10.0% 11.6%
Retail 15.6% 20.5% 10.4% 12.0% 10.6% 13.1% 9.3%
Technology 18.5% 29.3% 19.2% 5.7% 10.3% 7.6% 12.4%
Telecommunications 24.5% 27.3% 15.8% 9.3% 1.9% 5.2% 13.2%
Travel & Leisure 17.2% 24.8% 10.8% 9.6% 7.9% 9.0% 11.5%
Utilities 19.6% 21.6% 9.7% 6.2% 6.8% 11.9% 8.4%
Average 19.3% 22.5% 14.3% 7.9% 7.4% 10.3% 14.7%

Table 1.2 (Average of 𝑅 2 across industry sectors, over 2007 – 2017 period)

Sector M1 M2 M3 M4 M5 M6 M7
Auto 32.9% 34.8% 31.1% 10.9% 5.1% 11.4% 50.2%
Basic Resources 19.0% 23.7% 19.7% 8.9% 5.6% 11.7% 18.1%
Chemicals 14.5% 24.1% 26.6% 9.4% 10.4% 10.5% 37.9%
Construction 16.6% 14.8% 21.7% 14.5% 14.8% 18.7% 16.4%
Finance 17.7% 16.4% 12.8% 6.6% 16.5% 25.5% 22.3%
Food 27.0% 27.5% 19.6% 11.6% 8.2% 8.0% 36.0%
Health Care 17.7% 23.7% 18.7% 8.3% 9.1% 15.0% 27.1%
Industrial Goods 22.4% 24.7% 20.2% 11.5% 10.8% 12.4% 25.6%
Media 16.4% 23.8% 17.8% 12.1% 7.1% 12.0% 25.6%
Oil & Gas 19.2% 15.1% 19.9% 11.1% 9.4% 13.9% 17.5%
Personal Goods 23.0% 22.8% 19.4% 12.8% 10.1% 10.4% 27.4%
Real Estate 9.7% 12.7% 19.5% 7.7% 9.5% 17.5% 19.2%
Retail 15.8% 20.8% 11.7% 11.7% 10.5% 12.5% 16.7%
Technology 18.6% 29.5% 26.7% 12.3% 9.3% 8.2% 33.9%
Telecommunications 24.7% 28.0% 18.8% 8.3% 7.2% 13.2% 17.3%
Travel & Leisure 17.4% 24.7% 13.0% 8.8% 7.6% 11.5% 18.3%
Utilities 19.7% 21.8% 16.7% 9.7% 12.9% 16.2% 15.4%
Average 19.5% 22.9% 19.6% 10.4% 9.7% 13.4% 25.0%

6
1.4.2 DYNAMIC APPROACH

1.4.3 Remarks & Decisions


1. Among the 7 one-factor models, we see that on the 2007-2017 period, on average, the best 3
factors are: 𝑠𝑡𝑑 𝑑𝑒𝑣(𝑃𝑟𝑖𝑐𝑒 𝑟𝑒𝑡𝑢𝑟𝑛𝑠), 𝑠𝑡𝑑 𝑑𝑒𝑣(𝐸𝑃𝑆 % 𝑐ℎ𝑎𝑛𝑔𝑒𝑠) and profitability while for the
1998 – 2017 period the best three factors are 𝑆𝑡𝑑 𝑑𝑒𝑣 (𝑃𝑟𝑖𝑐𝑒 𝑟𝑒𝑡𝑢𝑟𝑛𝑠), 𝐿𝑒𝑣𝑒𝑟𝑎𝑔𝑒,
𝑃𝑟𝑜𝑓𝑖𝑡𝑎𝑏𝑖𝑙𝑖𝑡𝑦.
2. Therefore, for the three factor models the decision will have to be made between:
𝑀1′ : 𝐶𝑜𝐸 = 𝑎1 + 𝑎2 ⋅ 𝐿𝑒𝑣𝑒𝑟𝑎𝑔𝑒 + 𝑎3 ⋅ 𝑃𝑟𝑜𝑓 + 𝑎4 ⋅ 𝑣𝑜𝑙(𝐸𝑃𝑆 % 𝑐ℎ𝑎𝑛𝑔𝑒𝑠) and
𝑀2′ : 𝐶𝑜𝐸 = 𝑎1 + 𝑎2 ⋅ 𝐿𝑒𝑣𝑒𝑟𝑎𝑔𝑒 + 𝑎3 ⋅ 𝑃𝑟𝑜𝑓 + 𝑎4 ⋅ 𝑣𝑜𝑙(𝑃𝑟𝑖𝑐𝑒 𝑟𝑒𝑡𝑢𝑟𝑛𝑠)
3. On the dynamic approach however, the best model across most sectors appears to be 𝑀1′.

1.5 Valuation measures for the quality stocks


We will see how a few valuation ratios behave for the quality stocks, if it improves the performance of
the investment/not.

1.5.1 Methodology
1. We compute the quality scores at each point in time and for each stock as the average between the z-
scores of EPS variability, Profitability and Leverage.

2. We take the average of quality scores across the history of each stock

3. We identify the highest 20% quality scores.

4. We compute the average of P/E ratio and the average of growth at each point in time for the quality
selection and for the entire universe.

5. We compare the evolutions of these averages.

7
1.5.2 Results

8
REMARK:

The quality stocks are more expensive overall than regular stocks, but they display a better growth and
implied cost of equity.

1.6 Valuation measures for momentum stocks


1.6.1 Methodology
We apply the same methodology as in section 1.5.1 for quality stocks.

For the momentum score we have the following methodology:


𝑃 𝑃
1. We compute the MSCI 6M and 1Y Price Momentum as 𝑃𝑡−1𝑀 − 1 and 𝑃 𝑡−1𝑀 − 1,respectively.
𝑡−7𝑀 𝑡−13𝑀

2. We compute the risk-adjusted price momentums by dividing with the 3Y annualized standard
deviations of each stock’s returns.

9
1.6.2 Results

10
1.6.3 Remarks:
On the momentum stocks, we remark an inverse behavior as we have seen in the quality stocks.

The Cost of equity is significantly lower on momentum stocks than overall on the market, display a lower
growth rate and have a slightly higher P/E ratio.

Chapter 2: Correlation measures across factors


2.1. Introduction and definitions
I will start by introducing a new correlation-type measure between factors across stocks, which will be
called PCN (Percentage of common names). This is defined as follows:

DEFINITION:

For a given threshold 𝛼 ∈ (0,1), two factors 𝐹1 , 𝐹2 , and at time 𝑡, we define 𝑃𝐶𝑁(𝐹1 , 𝐹2 , 𝛼, 𝑡):=
𝑐𝑎𝑟𝑑(𝐹1 ∩𝐹2 )
[𝛼⋅𝑛]
where 𝑛 = the number of stocks present in our universe, and 𝐹1 , 𝐹2 are the stocks lying in the
𝛼 −tail of the universe of stocks, from each factor point of view.

Example

Suppose 𝐹1 := small cap, 𝐹2 : =low vol, n=500, then 𝑃𝐶𝑁(𝐹1 , 𝐹2 , 10%, 𝑡) =the number of common stocks
from these with the lowest market capitalization and these with the lowest annualized standard
𝑐𝑎𝑟𝑑(𝐹1 ,𝐹2 )
deviation of price returns = 50
.

11
Objective

The objective is to find a correspondence between the correlation of the index (relative) performances
and the PCN pairwise functions. The point is to show that the indexes reflect somehow our choices of
stocks.

We hope that the hierarchies of the performance correlations and the PCN functions to be the same (or
very similar) between all the pairs of factors, so that we can ease our study in our asset allocation
strategies by reducing the universe to a few indexes.

2.2 Percentages of common names


2.2.1 Methodology
Factors considered: Price Momentum, Growth, Value, Quality, Low Vol, High dividend yield, Small cap.

Instead of comparing the values of each factor, we transform all quantities (except quality score) into z-
scores.

Then we compare the 𝛼 −tails of each factor, at each point in time and we take the stocks presenting
the highest (lowest) z-scores as follows:

Price Momentum, Growth, Value, Quality, High dividend (highest) and Small Cap (Size), Low vol (the
lowest).
1
1. Price Momentum score = ⋅ (𝑃𝑟𝑖𝑐𝑒 𝑀𝑜𝑚 6𝑀𝑠𝑐𝑜𝑟𝑒 + 𝑃𝑟𝑖𝑐𝑒 𝑀𝑜𝑚 12𝑀𝑠𝑐𝑜𝑟𝑒 ) where
2
𝑃𝑡−1 −𝑃𝑡−7 𝑃𝑡−1 −𝑃𝑡−13
𝑃𝑡−7 𝑃𝑡−13
𝑃𝑟𝑖𝑐𝑒 𝑀𝑜𝑚6𝑀 = , Price Momentum (12M) = where 𝜎 =standard deviation
𝜎 𝜎
of the weekly returns of the price over the last year (or last 3 years (optionally)).
2. Value = P/E (Price / Earnings share);
3. Quality score = average of the z-scores of: standard deviation of Earnings per Share returns,
Leverage z-score and Profitability z-score.
4. High dividend yield = trailing 12 months dividends per share.
5. Size = Market Capitalization
6. Low vol = Earnings per share weekly returns variability over the last year.

We will compute the average of PCN for the thresholds 𝛼 = 10%, 20%, 30% across time.

2.2.2 Results
Table 1.1 (Average Percentage of common names for 10% threshold

Avg CPN 10% Price MMT Growth Value Quality Low Vol High dvd Small cap
Price MMT 100.0% 9.8% 15.3% 15.4% 8.8% 10.5% 10.1%
Growth 9.8% 100.0% 35.2% 22.0% 0.2% 6.2% 20.6%
Value 15.3% 35.2% 100.0% 18.2% 7.0% 6.7% 12.5%
Quality 15.4% 22.0% 18.2% 100.0% 9.2% 12.3% 18.6%
Low vol 8.8% 0.2% 7.0% 9.2% 100.0% 7.8% 5.6%
High dvd 10.5% 6.2% 6.7% 12.3% 7.8% 100.0% 2.1%
Small cap 10.1% 20.6% 12.5% 18.6% 5.6% 2.1% 100.0%

12
Period: January 2001 – October 2017

Table 1.2 (Average Percentage of common names for 20% threshold)

Avg CPN 20% Price MMT Growth Value Quality Low Vol High dvd Small cap
Price MMT 100.0% 20.0% 28.6% 25.1% 20.2% 21.0% 19.0%
Growth 20.0% 100.0% 41.2% 27.0% 2.3% 15.4% 30.3%
Value 28.6% 41.2% 100.0% 28.3% 17.7% 19.6% 19.5%
Quality 25.1% 27.0% 28.3% 100.0% 18.9% 18.7% 26.9%
Low vol 20.2% 2.3% 17.7% 18.9% 100.0% 20.1% 13.6%
High dvd 21.0% 15.4% 19.6% 18.7% 20.1% 100.0% 4.5%
Small cap 19.0% 30.3% 19.5% 26.9% 13.6% 4.5% 100.0%
Period: January 2001 – October 2017

Table 1.3 (Average Percentage of common names for 30% threshold)

Avg CPN 30% Price MMT Growth Value Quality Low Vol High dvd Small cap
Price MMT 100.0% 31.1% 40.7% 34.9% 32.6% 31.4% 29.4%
Growth 31.1% 100.0% 47.5% 33.3% 10.9% 27.0% 37.7%
Value 40.7% 47.5% 100.0% 37.3% 29.2% 28.8% 27.7%
Quality 34.9% 33.3% 37.3% 100.0% 25.9% 28.6% 34.9%
Low vol 32.6% 10.9% 29.2% 25.9% 100.0% 32.6% 22.8%
High dvd 31.4% 27.0% 28.8% 28.6% 32.6% 100.0% 11.2%
Small cap 29.4% 37.7% 27.7% 34.9% 22.8% 11.2% 100.0%
One can remark that the Value and Growth are well correlated from the point of view of common stocks
presence for each threshold (see the figure below).

Figure 1: Percentage of common names for the best 10% - 30% Growth and Value stocks

13
We will compare the hierarchies of correlations of the relative performances of the indexes with the
hierarchy of the CPN functions.

2.2 Indexes performance properties:


In what follows we will work with 7 MSCI factor indexes + MSCI Europe benchmark.

In the table below are mentioned the MSCI trackers for the indexes used throughout this presentation,
order preserved when building the matrices of correlations, (relative) returns and other measures.

Investment factor MSCI Tracker


Price Momentum MAEUMMT
Growth Index M7EU000G
Value Index M7EU000V
Quality Index M7EUQU
Low vol M3EUMINV
High dividend M4EUHD
Small Cap M7EUSVW
Benchmark M7EU

14
We will present here the relative evolution of the indexes, with respect to their initial value.

Correlations between the relative performances of indexes

In the below table are presented the average relative correlations between the factor performances
along the period January 2001- October 2017.

Table 2.1

AVG rel corr Price MMT Growth Value Quality Low Vol High dvd Small cap
Price MMT 100.0% 52.0% -52.2% 40.4% 34.2% -16.2% 15.1%
Growth 52.0% 100.0% -99.9% 68.2% 38.9% -33.7% -3.2%
Value -52.2% -99.9% 100.0% -68.2% -39.2% 33.8% 2.9%
Quality 40.4% 68.2% -68.2% 100.0% 57.1% -1.1% -13.5%
Low vol 34.2% 38.9% -39.2% 57.1% 100.0% 27.0% -1.1%
High dvd -16.2% -33.7% 33.8% -1.1% 27.0% 100.0% -13.9%
Small cap 15.1% -3.2% 2.9% -13.5% -1.1% -13.9% 100.0%

15
Hierarchy of relative correlations (absolute value, decreasing order)

(MMT, Growth) 6 (Growth, quality) 2 (Value, small cap) 19


(MMT,Value) 5 (Growth, low vol) 9 (Quality, low vol) 4
(MMT,Quality) 7 (Growth, high dvd) 12 (Quality, high dvd) 21
(MMT,Low Vol) 10 (Growth, small cap) 18 (Quality, small cap) 17
(MMT, high dvd) 14 (Value, Quality) 3 (Low vol, high dvd) 13
(MMT,Small Cap) 15 (Value, Low vol) 8 (Low vol, small cap) 20
(Growth, value) 1 (Value, high dvd) 11 (High dvd, small cap) 16

I will add the first 5 pairs for PCN (10%), PCN (20%), PCN (30%) and relative performance correlations.

Table 2.2

CPN 10% CPN 20% CPN 30% Relative Perf Correlations


(Growth, Value) (Growth, Value) (Growth,Value) (Growth, Value)
(Growth, Quality) (Growth, Size) (Momentum, Value) (Growth, Quality)
(Growth, Size) (Momentum, Value) (Growth, Size) (Value, Quality)
(Quality, Size) (Value, Quality) (Growth, Quality) (Quality, Low vol)
(Quality, Value) (Growth, Quality) (Momentum, Quality) (Momentum, Value)
REMARKS:

The constant of the hierarchies is the (Growth, Value) pair which marks the highest correlation from
both measurements (Percentage of Common Names and relative performance correlation). Also the
composition of the classifications is similar.

In the figure below I represent the PCN functions on weekly data, as well as correlations of the weekly
relative performances.

16
Period: January 2001 – October 2011
CONCLUSION:

The index performances reflects the stock factor selection, so we can study allocation strategies based
only on the factor indexes.

Now we go further to the most interesting part of my work: dynamic asset allocation along factors.

Chapter 3: Dynamic asset allocation strategies


3.1 Introduction
The notations used throughout the presentation are as follows:

𝑥 = (𝑥1 , 𝑥2 , … , 𝑥𝑛 ) is the portfolio structure

𝑅 = (𝑅1 , 𝑅2 , … , 𝑅𝑛 ) is the vector. The return of portfolio is then 𝑅(𝑥) = ∑𝑛𝑖=1 𝑥𝑖 𝑅𝑖 .

Let 𝜇 = 𝐸[𝑅] and Σ = 𝐸[(𝑅 − 𝜇)(𝑅 − 𝜇)𝑇 ] be the vector of expected returns and the covariance matrix
of asset returns. The expected return of the portfolio is therefore 𝜇(𝑥) = 𝐸[𝑅(𝑥)] = 𝐸[𝑥 𝑇 𝑅] =
𝑥 𝑇 𝐸[𝑅] = 𝑥 𝑇 𝜇 whereas its variance is equal to:
𝑇
𝜎 2 (𝑥) = 𝐸 [(𝑅(𝑥) − 𝜇(𝑥))(𝑅(𝑥) − 𝜇(𝑥)) ] = 𝐸[(𝑥 𝑇 𝑅 − 𝑥 𝑇 𝜇)(𝑥 𝑇 𝑅 − 𝑥 𝑇 𝜇)𝑇 ] =

𝐸[𝑥 𝑇 (𝑅 − 𝜇)(𝑅 − 𝜇)𝑇 𝑥] = 𝑥 𝑇 𝐸[(𝑅 − 𝜇)(𝑅 − 𝜇)𝑇 ]𝑥 = 𝑥 𝑇 Σ𝑥 where:

17
𝜎12 𝜎12 … 𝜎1𝑛
Σ = 𝜎22 𝜎22 … 𝜎2𝑛 is the covariance matrix of (relative) returns of indices/stocks.
… … … …
𝜎
( 𝑛1 𝜎𝑛2 … 𝜎𝑛2 )
𝜇 = (𝜇1 , 𝜇2 , … , 𝜇𝑛 ) is the vector of the expected returns.

As in any portfolio allocation strategy, there are always two inputs: the expected returns, and the
covariance matrix of returns.

The next part of my study will be a 2-step problem:

1. Forecast the returns (find 𝜇) (using either gross estimations / econometric models).
2. Using these results and the covariance matrix of the returns, using either closed-formulas or
numerical methods, we find the strategy 𝑥 = (𝑥1 , 𝑥2 , … , 𝑥𝑛 ).

We will study 3 allocation strategies:

1. 𝜎 − targeted 𝜇 −problem.
2. ERC portfolio
3. MV portfolio
For the ERC portfolio we will use standard deviation of returns as proxy for risk and risk-
decomposition.

Depending on what forecasted returns are used, we have several allocations.

I will approach 4 ways of forecasting:

1. Myopic returns forecasting


2. Risk-adjusted returns
3. VAR(p) (Vector Auto-Regression) models
And sometimes:
4. GARCH (1, 1) model.

3.2 Methodology
3.2.1 Allocation styles
Min-variance portfolio:
The problem considered is:
𝑻
(𝑷𝟏 ): 𝒂𝒓𝒈𝒎𝒊𝒏𝒙∈𝑹𝒏 𝝈(𝒙) such that {𝟏 𝒙 = 𝟏
𝒙≥𝟎
The structure depends only on the covariance matrix as given in the relation below.
Σ−1 1
𝑥𝑀𝑉 = 1𝑇 Σ−11
Here 𝜎(𝑥) = 𝑥 𝑇 Σ𝑥, where Σ = covariance matrix of the relative returns (could be
weekly/monthly, quarterly, semi-annual or yearly).

18
𝝈 − targeted, 𝝁 − 𝒑𝒃 portfolio:
The problem considered is:
𝟏𝑻 𝒙 = 𝟏
𝑻
(𝑷𝟐 ): 𝒂𝒓𝒈𝒎𝒂𝒙𝒙∈𝑹𝒏 (𝒙 𝝁) subject to the constraints: {𝝈(𝒙) ≤ 𝝈∗
𝒙≥𝟎
𝜎 = targeted standard deviation of relative returns.

ERC (Equally risk charged) portfolio:


Preliminary results:

If we consider as risk measure, the standard deviation of the portfolio, 𝜎(𝑥) = √𝑥 𝑇 Σ𝑥, 𝑥 ∈ 𝑅 𝑛
𝜕𝜎(𝑥)
we define as marginal risk of the asset 𝑖, .
𝜕𝑥𝑖

𝜕𝜎(𝑥) 𝜕𝜎(𝑥) 𝜕𝜎(𝑥) Σ𝑥 𝜕𝜎(𝑥) (Σ𝑥)𝑖


After simple computations, =( ,…, )= or = . (1)
𝜕𝑥 𝜕𝑥1 𝜕𝑥𝑛 √𝑥 𝑇 Σ𝑥 𝜕𝑥𝑖 √𝑥 𝑇 Σ𝑥

Also we define the risk-contribution of asset 𝑖, as the product between the corresponding
weight and the marginal risk of asset i.
(Σ𝑥)𝑖
As a consequence, 𝑅𝐶𝑖 = 𝑥𝑖 ⋅ . (2)
√𝑥 𝑇 Σ𝑥

Now, we will continue with the general framework of a risk-parity problem:


Risk – parity problem
We consider a set of given risk budgets {𝐵1 , 𝐵2 , … , 𝐵𝑛 }. These risk budgets are measured in % of
invested capital. Also, we define 𝑅𝐶𝑖 (𝑥1 , … , 𝑥𝑛 ) =risk contribution of asset 𝑖 to the portfolio
𝑥 = (𝑥1 , 𝑥2 , . . , 𝑥𝑛 ).
The risk budgeting portfolio is then defined by the following equations:
𝑅𝐶1 (𝑥1 , 𝑥2 , … 𝑥𝑛 ) = 𝐵1
𝑅𝐶 (𝑥 , 𝑥 , … , 𝑥𝑛 ) = 𝐵2
{ 2 1 2

𝑅𝐶𝑛 (𝑥1 , 𝑥2 , … , 𝑥𝑛 ) = 𝐵𝑛
There are two main differences between a risk-budgeting portfolio and an optimized portfolio:
1. A risk budgeting portfolio is not based on the maximization of a utility function.
2. A risk budgeting portfolio does not depend (explicitly) on the expected performance of
the portfolio.
APPROACH
The RB portfolio is the solution to the following non-linear problem:

19
(P1) 𝑥 ∗ = {𝑥 ∈ [0,1]𝑛 , ∑𝑛𝑖=1 𝑥𝑖 = 1, ∑𝑛𝑖=1 𝑏𝑖 = 1, 𝑥𝑖 ⋅ 𝜕𝑥𝑖 𝑅(𝑥) = 𝑏𝑖 ⋅ 𝑅(𝑥), 𝑏 ∈ (0,1]𝑛 , ∑𝑛𝑖=1 𝑏𝑖 =
1}
It is not possible to find a closed-form solution to (P1) but more of a numerical. We can try to
use Broyden or SQRF algorithms to solve (P1) but the solution doesn’t always converge.
In order to make (P1) more tractable in terms of implementation we will consider an equivalent
version, as an optimization problem:

(P2): 𝑥 ∗ = 𝑎𝑟𝑔𝑚𝑖𝑛 𝑓(𝑥, 𝑏) u.c. 1𝑇 𝑥 = 1,0 ≤ 𝑥 ≤ 1.


We have several choices for 𝑓.
2
1. 𝑓(𝑥; 𝑏) = ∑𝑛𝑖=1 (𝑥𝑖 ⋅ 𝜕𝑥𝑖 𝑅(𝑥) − 𝑏𝑖 ⋅ 𝑅(𝑥))
𝜕𝑥𝑖 𝑅(𝑥) 2
𝜕𝑥𝑗 𝑅(𝑥)
2. 𝑓(𝑥; 𝑏) = ∑𝑛𝑖=1 ∑𝑛𝑗=1 (𝑥𝑖 ⋅ − 𝑥𝑗 ⋅ )
𝑏𝑖 𝜕𝑏𝑗

We will choose the first one.


Considering the relation (1) from the previous section we have:
2
(Σ𝑥)𝑖 1
𝑓(𝑥; 𝑏) = ∑𝑛𝑖=1 (𝑥𝑖 ⋅ − 𝑏𝑖 √𝑥 𝑇 Σ𝑥) = 𝑥 𝑇 Σ𝑥 ⋅ (∑𝑛𝑖=1 𝑥𝑖2 ⋅ (Σ𝑥)2𝑖 ) + 𝑥 𝑇 Σ𝑥(∑𝑛𝑖=1 𝑏𝑖2 ) − 2 ⋅
√𝑥 𝑇 Σ𝑥
∑𝑛𝑖=1 𝑏𝑖 ⋅ 𝑥𝑖 ⋅ (Σ𝑥)𝑖

For robustness we will restructure the expression above as follows:


1
We define 𝐴(𝑥) = 𝑥Σ𝑥 𝑇 ⋅ (𝑥.2 ⋅ (Σ𝑥 𝑇 ).2 ),𝐵(𝑥) = 𝑥 𝑇 Σ𝑥 ⋅ (∑𝑛𝑖=1 𝑏𝑖2 ), 𝐶(𝑥) = 2 ⋅
∑𝑛𝑖=1 𝑏𝑖 ⋅ 𝑥𝑖 ⋅ (Σ𝑥)𝑖 where 𝑥 = (𝑥1 , 𝑥2 , … , 𝑥𝑛 ) and 𝑥.2 = (𝑥12 , 𝑥22 , … , 𝑥𝑛2 ).

So 𝑓(𝑥; 𝑏) = 𝐴(𝑥) + 𝐵(𝑥) − 𝐶(𝑥) and the problem (P2) can be rewritten as follows:
(P2’): 𝑥 ∗ = 𝑎𝑟𝑔𝑚𝑖𝑛𝑥∈𝑅𝑛 𝐴(𝑥) + 𝐵(𝑥) − 𝐶(𝑥) subject to:

1𝑇 𝑥 = 1
{
𝑥 ≥ 0, 𝑥 ∈ 𝑅 𝑛
Particular case: ERC portfolio.
1 1 1
The ERC portfolio is the portfolio where 𝑅𝐵 = (𝑛 , 𝑛 , … , 𝑛). In the APPENDIX you have
attached the MATLAB functions for both the ERC portfolio in particular and RB portfolio in
general.
3.2.2 Forecasting returns
The index data on which I’ll work will be consisting of weekly data for 877 weeks starting from
5 of January 2001 to 20th October 2017 (for purposes of homogeneity of data – some indexes lack data
th

before).

20
Myopic forecast

1. The index data is 𝐼 ∈ 𝑀877,8 (𝑅+ ), based on weekly data, the eight columns representing the
indexes mentioned in section 2.2. I am working on rolling bases. That means, the weekly
relative returns form a matrix, 𝐼𝑤 ∈ 𝑀876,7 (𝑅), the monthly relative returns form a matrix
𝐼𝑚 ∈ 𝑀873,7 (R), the quarterly 𝐼𝑞 ∈ 𝑀865,7 (𝑅), and so on.
2. We take rolling periods of 1 year, and the myopic forecasted return at time 𝑡 will simply be
𝐼𝑥 (𝑡 − 1, : ) where 𝑥 ∈ {𝑤, 𝑚, 𝑞, 𝑠𝑎, 𝑦}.
3. The myopic estimates for weekly relative returns will form a matrix 𝑅1𝑊 ∈ 𝑀825,7 (𝑅), the
monthly relative returns 𝑅1𝑀 ∈ 𝑀822,7 (𝑅),…, 𝑅1𝑌 ∈ 𝑀774,7 (𝑅)

Risk-adjusted forecasts

1. We compute the relative returns as in the myopic approach


2. At each time 𝑡, we divide 𝐼𝑥 (𝑡 − 1, : ) by 𝜎𝑖 /𝜎𝑏 where 𝑖 ∈ {1,2,3, … ,7} is the current index
considered, 𝑏 = benchmark, 𝜎𝑖 =annualized standard deviation of the last 52 weekly returns,
and the same for 𝜎𝑏 .
3. The shape of the resulting data is the same as in the myopic approach, VAR approach and
GARCH model.

REMARK: The allocation results of myopic and risk-adjusted approach will prove to be almost
identical, but the forecasts are not.

Vector – Auto Regression models

REMINDER:
𝑋𝑡1
2
We say that the vector 𝑋𝑡 = 𝑋𝑡 follows a VAR (p) model if 𝑋𝑡 = μ + Φ1 𝑋𝑡−1 + Φ2 𝑋𝑡−2 + ⋯ +

(𝑋𝑡𝑘 )
Φ𝑝 𝑋𝑡−𝑝 + 𝜖𝑡 where Φ1 , Φ2 , … , Φ𝑝 ∈ 𝑀𝑘 (𝑅), 𝜖𝑡 ∼ 𝑁(𝑂𝑘 , Ω), 𝜇 = (𝜇1 , 𝜇2 , … , 𝜇𝑘 )𝑇
A VAR(p) can be rewritten as a VAR(1) as follows:
𝑋𝑡 𝜇 Φ1 Φ2 … Φ𝑝−1 Φ𝑝 𝑋𝑡−1 𝑒𝑡
𝑋𝑡−1 0𝑘1 𝐼 𝑂𝑘 … 𝑂𝑘 𝑂𝑘 𝑋 𝑡−2 𝑒𝑡−1
( … )=( … )+( 𝑘 )( … ) + ( … ) = 𝜇 + Φ ⋅ 𝑋𝑡 + 𝑒𝑡
… … … … …
𝑋𝑡−𝑝+1 0𝑘1 𝑂𝑘 𝑂𝑘 … 𝐼𝑘 𝑂𝑘 𝑋𝑡−𝑝 𝑒𝑡−𝑝+1
The model is said to be stable if det(𝐼𝑘 − Φ1 𝑧 − Φ2 𝑧 2 − ⋯ − Φ𝑝 𝑧 𝑝 ) ≠ 0, ∀|𝑧| ≤ 1.

METHODOLOGY:
Here I will use two vector auto-regression models, VAR (1) and VAR (2) models.
The rolling period is 52 weeks and the forecasted to be analyzed will start with the 53th week. The
forecasted returns are treated in blocks (for all indexes at once).

Conditional heteroskedastic models

We say that a univariate random process 𝑿𝒕 follows a GARCH (1,1) model if 𝑿𝒕 = 𝝁 + 𝚽𝑿𝒕−𝟏 + 𝝐𝒕 ,
where 𝝐𝒕 = 𝝈𝒕 𝒛𝒕 and 𝝈𝟐𝒕 = 𝜶𝟎 + 𝜶𝟏 𝝈𝟐𝒕−𝟏 .

21
The same methodology is applied as above, but the forecasted relative returns are treated
independently.

3.3. MYOPIC RETURNS


We assume now that the expected returns are equal just with the last reported return.

The returns can be: weekly, monthly, quarterly, semi-annually, yearly.

3.3.1 𝜎 − problem
Methodology
We will consider 𝝈 = annualized standard deviation of the portfolio starting from the covariance
matrices of relative returns of MSCI indexes with respect to MSCI Europe Index.

In order to choose proper values for 𝝈 we need a clear idea about the annualized standard deviation
𝟏 𝟏 𝟏
of weekly relative returns of indexes and for the Equally Weighted portfolio (𝒙 = (𝟕 , 𝟕 , … , 𝟕)).

So I will show the evolution of the historical standard deviations of relative returns starting from January
2002 and ending to October 2017.

22
As you can see, the standard deviation of the reference EW portfolio lies around 2%.
Therefore I will choose 3 targets for
Average weight for each index in the 𝝈 − problem, for each 𝝈 ∈ {𝟎. 𝟎𝟎𝟏, 𝟎. 𝟎𝟎𝟓, 𝟎. 0𝟏}

Myopic return/𝝈 - Price


pb MMT Growth Value Quality Low vol High dvd Small cap
𝜎 = 0.001, 1𝑊 𝑟𝑒𝑡 0.5% 48.7% 49.2% 0.5% 0.3% 0.4% 0.3%
𝜎 = 0.005,1𝑊 𝑟𝑒𝑡 2.9% 41.6% 46.4% 3.0% 1.5% 2.7% 1.9%
𝜎 = 0.01, 1𝑊 𝑟𝑒𝑡 5.7% 33.0% 42.8% 6.1% 3.1% 5.5% 3.8%
𝜎 = 0.001, 1𝑀 𝑟𝑒𝑡 0.8% 48.4% 48.8% 0.6% 0.5% 0.6% 0.5%
𝜎 = 0.005, 1𝑀 𝑟𝑒𝑡 3.8% 40.4% 44.6% 3.5% 2.3% 3.1% 2.4%
𝜎 = 0.01, 1𝑀 𝑟𝑒𝑡 7.3% 30.9% 39.4% 6.9% 4.6% 6.1% 4.8%
𝜎 = 0.001, 3𝑀 𝑟𝑒𝑡 1.4% 46.8% 48.5% 1.1% 0.7% 0.8% 0.8%
𝜎 = 0.005, 3𝑀 𝑟𝑒𝑡 6.0% 35.0% 42.8% 5.4% 2.9% 4.2% 3.7%
𝜎 = 0.01, 3𝑀 𝑟𝑒𝑡 10.7% 23.5% 35.0% 9.6% 5.5% 8.3% 7.2%
𝜎 = 0.001, 6𝑀 𝑟𝑒𝑡 2.0% 45.5% 47.7% 1.7% 0.7% 1.2% 1.1%
𝜎 = 0.005, 6𝑀 𝑟𝑒𝑡 9.6% 28.2% 38.0% 8.4% 3.3% 6.8% 5.6%
𝜎 = 0.01, 6𝑀 𝑟𝑒𝑡 16.6% 15.0% 26.3% 13.1% 6.5% 11.9% 10.6%
𝜎 = 0.001, 1𝑌 𝑟𝑒𝑡 2.5% 44.6% 46.1% 2.7% 1.2% 1.5% 1.6%
𝜎 = 0.005, 1𝑌 𝑟𝑒𝑡 12.1% 22.9% 31.3% 13.4% 5.7% 6.5% 8.0%
𝜎 = 0.01, 1𝑌 𝑟𝑒𝑡 19.9% 11.1% 19.0% 16.1% 12.0% 7.6% 14.3%
Legend: 1W ret = weekly relative returns, 1M ret = monthly relative returns, etc.

23
Allocation coefficient evolution for weekly returns, myopic estimates (January 2001 – October 2017)

24
Allocation coefficient evolution for monthly returns, myopic estimates (January 2001 – October 2017)

25
Allocation coefficient evolution for myopic estimates of quarterly returns (Jan 2001 – Oct 2017)

REMARK:

1. One can remark the decreasing evolution of the allocation % for the growth index, the higher
is the return periods.
2. For low volatility targets, e.g. 𝝈 = 𝟎, 𝟎𝟎𝟏 or 𝟎. 𝟏%, the allocation results are stable for Growth
and Index factor (between 45% and 55%). For higher volatility targets the results are less
accurate to determine a precise decision.
3. The results for 𝝈 − 𝒑roblem where 𝝈 = 𝟎. 𝟎𝟎𝟏 are similar to these of the corresponding MV
portfolio, because the MV portfolio’s standard deviation lies around that value.

26
3.3.2 MV allocation
Average allocation results across 2001 – 2017 period.
Myopic Price
ret/𝑴𝑽 −pb MMT Growth Value Quality Low vol High dvd Small cap
1W return 1.3% 45.5% 48.1% 1.7% 1.0% 1.4% 1.0%
1M return 1.6% 45.0% 47.1% 1.9% 1.3% 1.9% 1.2%
3M return 2.7% 41.9% 46.2% 2.8% 1.9% 2.8% 1.7%
6M return 3.3% 40.3% 44.6% 3.5% 2.1% 3.9% 2.3%
1Y return 3.8% 39.8% 41.2% 5.1% 2.5% 4.8% 2.9%

27
Allocation % evolution for MV portfolio (January 2001 – October 2017)

REMARK:

1. The standard deviation of the MV portfolios obtained are as indicated in the figure below:

2. The minimum standard deviation of portfolio attained is around 0.1%, and this is why in the 𝜎-
problem we should consider targets above 0.1%.

28
3.3.3 ERC allocation
Average allocation results for the ERC portfolio.

Myopic ret Price


alloc/ERC - pb MMT Growth Value Quality Low vol High dvd Small cap
1W return 7.9% 28.7% 18.8% 9.0% 6.9% 17.6% 11.1%
1M return 7.7% 28.1% 22.0% 9.0% 6.7% 16.2% 10.2%
3M return 9.4% 23.0% 23.6% 11.6% 7.0% 15.5% 10.0%
6M return 10.5% 23.8% 22.1% 11.1% 6.9% 14.4% 11.2%
1Y return 10.8% 23.3% 20.2% 14.1% 7.0% 13.4% 11.2%

REMARKS:

1. Inside the strategy defined above, an allocation of 7% to the low-vol index would have a 14.28%
risk-contribution while a 23.3 % allocation to growth index would contribute the same to the
portfolio volatility.
2. The ERC allocations along each factor behave this time very discontinuously and it’s harder to
set up a pattern.

29
Allocation % for Growth and Value Index

30
3.4 RISK Adjusted Returns
3.4.1 𝜎-problem
As in section 3.3.1 𝜎 – represents the standard deviation of the portfolio derived from annualized
standard deviations of relative returns of indexes.

RA return alloc Price MMT


Growth Value Quality Low vol High dvd Small cap
𝜎 = 0.001, 1𝑊 𝑟𝑒𝑡 0.5% 48.7% 49.2% 0.5% 0.3% 0.4% 0.3%
𝜎 = 0.005,1𝑊 𝑟𝑒𝑡 2.8% 41.4% 46.6% 3.1% 1.9% 2.4% 1.8%
𝜎 = 0.01, 1𝑊 𝑟𝑒𝑡 5.6% 32.5% 43.2% 6.2% 3.9% 5.0% 3.7%
𝜎 = 0.001, 1𝑀 𝑟𝑒𝑡 0.8% 48.3% 48.8% 0.6% 0.5% 0.5% 0.4%
𝜎 = 0.005, 1𝑀 𝑟𝑒𝑡 3.7% 40.3% 44.9% 3.4% 2.7% 2.7% 2.3%
𝜎 = 0.01, 1𝑀 𝑟𝑒𝑡 7.2% 30.6% 39.9% 6.8% 5.6% 5.4% 4.5%
𝜎 = 0.001, 3𝑀 𝑟𝑒𝑡 1.3% 46.8% 48.5% 1.1% 0.8% 0.8% 0.7%
𝜎 = 0.005, 3𝑀 𝑟𝑒𝑡 6.0% 34.5% 43.3% 5.5% 3.6% 3.6% 3.5%
𝜎 = 0.01, 3𝑀 𝑟𝑒𝑡 10.4% 23.4% 35.7% 9.6% 6.7% 7.4% 6.8%
𝜎 = 0.001, 6𝑀 𝑟𝑒𝑡 2.0% 45.4% 48.0% 1.8% 0.9% 0.9% 1.1%
𝜎 = 0.005, 6𝑀 𝑟𝑒𝑡 9.6% 27.1% 39.6% 8.9% 4.2% 4.9% 5.7%
𝜎 = 0.01, 6𝑀 𝑟𝑒𝑡 15.7% 14.4% 28.0% 13.8% 8.3% 9.1% 10.8%
𝜎 = 0.001, 1𝑌 𝑟𝑒𝑡 2.4% 44.6% 46.5% 2.4% 1.3% 1.3% 1.5%
𝜎 = 0.005, 1𝑌 𝑟𝑒𝑡 12.0% 22.7% 33.4% 11.9% 6.7% 5.7% 7.6%
𝜎 = 0.01, 1𝑌 𝑟𝑒𝑡 19.6% 9.8% 22.4% 13.6% 14.4% 6.8% 13.5%

31
REMARK:

The difference between the risk-adjusted approach and the myopic forecast is very small.

On the value index there is the greatest difference between allocations, on average (on the 6M horizon
and 1Y orizon) (for all 𝜎-problems considered).

This can be pointed out in the figure below:

3.4.2 MV allocation
Risk-adj Price MMT Growth Value Quality Low vol High dvd Small cap
1W returns 1.3% 45.5% 48.1% 1.7% 1.0% 1.4% 1.0%
1M returns 1.6% 45.0% 47.1% 1.9% 1.3% 1.9% 1.2%
3M returns 2.7% 41.9% 46.2% 2.8% 1.9% 2.8% 1.7%
6M returns 3.3% 40.3% 44.6% 3.5% 2.1% 3.9% 2.3%
1Y returns 3.8% 39.8% 41.2% 5.1% 2.5% 4.8% 2.9%

32
Comparison between Myopic forecast MV problem and Risk-weighted forecast MV problem results.

Risk adjusted (1) and myopic returns

33
3.4.3 ERC allocation
Price MMT
Growth Value Quality Low vol High dvd Small cap
1W returns 7.9% 28.7% 18.8% 9.0% 6.9% 17.6% 11.1%
1M returns 7.7% 28.1% 22.1% 9.0% 6.7% 16.2% 10.2%
3M returns 9.4% 23.0% 23.6% 11.6% 7.0% 15.5% 10.0%
6M returns 10.5% 23.8% 22.1% 11.1% 6.9% 14.4% 11.2%
1Y returns 10.8% 23.3% 20.2% 14.1% 7.0% 13.4% 11.2%

REMARKS:

1. We see an increasing allocation weight on Price Momentum and Quality Index, the higher is the
investment horizon, given equal risk weights.
2. In terms of risk, we see that in case of weekly horizon, 28.7% of capital allocated on growth
contributes to 14.28% of the total risk of portfolio while only 6.9% of total capital allocated on
low-vol index contributes with the same amount of risk to the total risk of the portfolio.

CONCLUSION:

Low vol index does not mean a less risky index in terms of risk contribution to a portfolio of 7 indexes.
Actually, among all 7 indexes, the low-vol index has the relative returns contributing the strongest to the
portfolios risk. It presents a relative risk to the MSCI Europe benchmark 4 times higher than the growth’s
relative risk.

34
35
3.5 Vector Auto-regression Returns
3.5.1 𝜎-problem
VAR (1) average coefficients

VAR(1) average Price High Small


coefficient MMT Growth Value Quality Low vol dvd cap
𝜎 = 0.001, 1𝑊 𝑟𝑒𝑡 0.5% 48.6% 49.2% 0.5% 0.2% 0.4% 0.4%
𝜎 = 0.005,1𝑊 𝑟𝑒𝑡 2.8% 41.4% 46.6% 2.9% 1.2% 2.7% 2.4%
𝜎 = 0.01, 1𝑊 𝑟𝑒𝑡 5.5% 32.7% 43.3% 5.8% 2.4% 5.4% 4.8%
𝜎 = 0.001, 1𝑀 𝑟𝑒𝑡 0.8% 48.4% 48.8% 0.7% 0.4% 0.5% 0.5%
𝜎 = 0.005, 1𝑀 𝑟𝑒𝑡 3.8% 40.5% 45.1% 3.6% 1.8% 2.7% 2.6%
𝜎 = 0.01, 1𝑀 𝑟𝑒𝑡 7.4% 31.0% 40.2% 7.2% 3.7% 5.4% 5.2%
𝜎 = 0.001, 3𝑀 𝑟𝑒𝑡 1.4% 47.0% 48.5% 1.0% 0.7% 0.7% 0.8%
𝜎 = 0.005, 3𝑀 𝑟𝑒𝑡 5.9% 35.9% 42.9% 5.1% 2.7% 3.9% 3.6%
𝜎 = 0.01, 3𝑀 𝑟𝑒𝑡 10.6% 24.8% 35.3% 9.3% 5.2% 7.7% 7.2%
𝜎 = 0.001, 6𝑀 𝑟𝑒𝑡 2.0% 45.6% 47.7% 1.7% 0.7% 1.2% 1.1%
𝜎 = 0.005, 6𝑀 𝑟𝑒𝑡 9.8% 28.4% 38.2% 8.4% 3.1% 6.6% 5.5%
𝜎 = 0.01, 6𝑀 𝑟𝑒𝑡 16.8% 15.5% 26.4% 13.1% 6.1% 11.8% 10.4%
𝜎 = 0.001, 1𝑌 𝑟𝑒𝑡 2.5% 44.6% 46.1% 2.7% 1.2% 1.5% 1.6%
𝜎 = 0.005, 1𝑌 𝑟𝑒𝑡 12.0% 23.0% 31.4% 13.4% 5.8% 6.3% 8.0%
𝜎 = 0.01, 1𝑌 𝑟𝑒𝑡 19.6% 11.1% 19.0% 16.4% 12.2% 7.4% 14.3%

36
VAR (2) average coefficients

VAR(2) average Price High Small


coefficient MMT Growth Value Quality Low vol dvd cap
𝜎 = 0.001, 1𝑊 𝑟𝑒𝑡 5.5% 33.2% 43.7% 5.8% 2.5% 5.2% 4.2%
𝜎 = 0.005,1𝑊 𝑟𝑒𝑡 5.5% 33.2% 43.7% 5.8% 2.5% 5.2% 4.2%
𝜎 = 0.01, 1𝑊 𝑟𝑒𝑡 5.5% 33.2% 43.7% 5.8% 2.5% 5.2% 4.2%
𝜎 = 0.001, 1𝑀 𝑟𝑒𝑡 7.2% 30.8% 40.2% 6.9% 3.9% 5.9% 5.0%
𝜎 = 0.005, 1𝑀 𝑟𝑒𝑡 7.2% 30.8% 40.2% 6.9% 3.9% 5.9% 5.0%
𝜎 = 0.01, 1𝑀 𝑟𝑒𝑡 7.2% 30.8% 40.2% 6.9% 3.9% 5.9% 5.0%
𝜎 = 0.001, 3𝑀 𝑟𝑒𝑡 10.2% 24.9% 35.4% 9.4% 5.3% 7.8% 7.2%
𝜎 = 0.005, 3𝑀 𝑟𝑒𝑡 10.2% 24.9% 35.4% 9.4% 5.3% 7.8% 7.2%
𝜎 = 0.01, 3𝑀 𝑟𝑒𝑡 10.2% 24.9% 35.4% 9.4% 5.3% 7.8% 7.2%
𝜎 = 0.001, 6𝑀 𝑟𝑒𝑡 16.4% 15.5% 26.6% 13.1% 6.2% 11.8% 10.5%
𝜎 = 0.005, 6𝑀 𝑟𝑒𝑡 16.4% 15.5% 26.6% 13.1% 6.2% 11.8% 10.5%
𝜎 = 0.01, 6𝑀 𝑟𝑒𝑡 16.4% 15.5% 26.6% 13.1% 6.2% 11.8% 10.5%
𝜎 = 0.001, 1𝑌 𝑟𝑒𝑡 19.6% 11.0% 19.0% 16.6% 12.2% 7.5% 14.1%
𝜎 = 0.005, 1𝑌 𝑟𝑒𝑡 19.6% 11.0% 19.0% 16.6% 12.2% 7.5% 14.1%
𝜎 = 0.01, 1𝑌 𝑟𝑒𝑡 19.6% 11.0% 19.0% 16.6% 12.2% 7.5% 14.1%

REMARKS:

1. The Growth index weight decreases both with frequency of returns and with targeted volatility
in case of VAR (1) forecasting model. In the same time, an increasing allocation weight should be
considered for Small Cap Index, the higher the horizon time of investment.
2. In case of the VAR (2) forecasting model the results behave in a similar way, but the weights do
not depend on the targeted volatility.

3.5.2 MV allocation
VAR(1) – allocation results

Table: VAR (1) and VAR (2) forecast average allocation results.
Price High Small
MMT Growth Value Quality Low vol dvd cap
1W return 1.3% 45.5% 48.1% 1.7% 1.0% 1.4% 1.0%
1M return 1.6% 45.0% 47.1% 1.9% 1.3% 1.9% 1.2%
3M return 2.7% 41.9% 46.2% 2.8% 1.9% 2.8% 1.7%
6M return 3.3% 40.3% 44.6% 3.5% 2.1% 3.9% 2.3%
1Y return 3.8% 39.8% 41.2% 5.1% 2.5% 4.8% 2.9%

37
REMARK:

The forecasting results of VAR(1) and VAR(2) models are slightly different but the allocation results are
identical. (See below, the forecasts of relative returns of Growth and Value index using VAR(1) and
VAR(2) models).

For more details about the back-tests of the model see Section 3.5.4 about Back-testing and stability
issues of the models.

38
3.5.3 ERC allocation
VAR(1) and VAR(2) allocation results:

High Small
Price MMT Growth Value Quality Low vol yield cap
1W return 7.9% 28.7% 18.8% 9.0% 6.9% 17.6% 11.1%
1M return 7.7% 28.1% 22.1% 9.0% 6.7% 16.2% 10.2%
3M return 2.7% 41.9% 46.2% 2.8% 1.9% 2.8% 1.7%
6M return 3.3% 40.3% 44.6% 3.5% 2.1% 3.9% 2.3%
1Y return 3.8% 39.8% 41.2% 5.1% 2.5% 4.8% 2.9%

REMARKS:

1. In each choice of the time horizon, a significant portion of capital should be allocated along
Growth and Value Indexes, but especially if one considers investing on 3 month and 6 month
horizon.
2. On short term investment, one should consider the high yield stocks (index) for equally risk
budget portfolios.

39
3.5.4 Remarks regarding VAR stability and back-testing
1. The estimated VAR models for relative returns are stationary and stable, that is, the coefficient Φ
from the model 𝑋𝑡 = 𝜇 + Φ𝑋𝑡−1 + 𝜖𝑡 has the property that the roots of |Φ − 𝜆𝐼𝑁 | = 0 are inside
the unit circle where 𝑁 = 7 in our case.
2. According to the following back-test, between VAR (1) and VAR (2), the 2nd model is more accurate.

BACKTESTING METHODOLOGY:
1. We consider 𝑅𝑖𝑗 =realized relative return of index i at time j, and 𝑅𝑖𝑗 =forecasted VAR(1)

relative return of index i at time j, and 𝑅𝑖𝑗 = forecasted VAR(2) relative return of the same
quantity.
𝑅11 − 𝑅11 𝑅12 − 𝑅12 ⋯ 𝑅17 − 𝑅17
2. We consider the error matrices 𝐴 = ( ⋮ … ⋱ ⋮ ) and 𝐵 =
𝑅𝑛1 − 𝑅𝑛1 𝑅𝑛2 − 𝑅𝑛2 ⋯ 𝑅𝑛7 − 𝑅𝑛7
′ ′ ′
𝑅11 − 𝑅11 𝑅12 − 𝑅12 ⋯ 𝑅17 − 𝑅17
|𝑅𝑖𝑗 −𝑅𝑖𝑗 |
( ⋮ … ⋱ ⋮ ) and we compute|𝐶| = ( ′
) .
′ ′ ′ |𝑅𝑖𝑗 −𝑅𝑖𝑗 |
𝑅𝑛1 − 𝑅𝑛1 𝑅𝑛2 − 𝑅𝑛2 ⋯ 𝑅𝑛7 − 𝑅𝑛7 𝑖𝑗

3. The decision is made depending on the average and median obtained on each column. If the
average error ratio is significantly greater than 1 and the medians are close to or greater than
1 then we choose VAR (2) model rather than VAR (1) model.

Average of the error ratio 𝐶𝑖𝑗 for each index column


Price MMT Growth Value Quality Low vol. High yield Small cap
1.6467 2.0446 10.8915 2.0870 1.6161 2.3577 2.8492

Median of the error ratio 𝐶𝑖𝑗 for each index column


Price MMT Growth Value Quality Low vol. High yield Small cap
0.9118 0.9270 0.9320 0.9419 0.9382 0.8944 0.9202
The medians of the error ratios are close to 1, but the averages are significantly above 1, so VAR (2) is a
better model than VAR (1) model from these 2 points of view combined.

We can extend the analysis to VAR (p) models as well. The results will give VAR (2) as the best model
among these.

The cumulative distribution functions (except the upper tail of 95% level) for the error ratios of some
MSCI indexes are given in the figure below:

40
DECISION:

We choose VAR(2) as benchmark model among autoregressive models for the relative performances
of the indexes.

To check the stability of VAR(2) along the forecasting history we will compute for the model

𝑋𝑡𝑖 = 𝜇𝑖 + Φ1𝑖 𝑋𝑡−1


𝑖
+ Φ2𝑖 𝑋𝑡−2
𝑖
+ 𝜖𝑡𝑖 , the spectral radius 𝜌(𝐹 𝑖 ) = max (|𝜆1 |, |𝜆2 |, … , |𝜆14 |) where 𝐹 𝑖 =
Φ Φ2
( 1 ) , 𝑖 = 1,825.
𝐼7 𝑂7

The spectral radius of the companion matrices 𝐹 𝑖 for both VAR (1) and VAR (2) models of weekly
relative returns can be seen in the figure below:

41
42
3.6 Risk-weighted returns (GARCH(1,1))
We obtain the following results for weekly returns:

REMARK:

1. Weights of approximately 45% - 50% are to be considered in risk-weighted forecast model, if


we want to reduce the portfolio’s risk, in case of short-term investment (1 day to 1 week).
2. Identical results are obtained as in the case of VAR(1) and VAR(2) models for MV portfolio.
3. The forecasts are not the same however. Below is presented the error ratio between VAR
(2) model and GARCH (1, 1) in case of Price Momentum Index. The methodology is the same
as in section 3.5.4

43
3.7: Information ratio
3.7.1: Methodology
Instead of considering Sharpe ratio for our portfolios, we will consider an alternative measure, called
information ratio which measures the risk/return performance or risk-adjusted performance.

Definition:

For a portfolio 𝒙 = (𝒙𝟏 , 𝒙𝟐 , … , 𝒙𝒏 ) and the benchmark 𝒃 = (𝒃𝟏 , 𝒃𝟐 , … , 𝒃𝒏 ), if 𝝁 = (𝝁𝟏 , … , 𝝁𝒏 )is the
((𝒙−𝒃)𝑻 𝝁
vector of expected returns, 𝚺 =covariance matrix of matrix returns, then 𝑰𝑹(𝒙|𝒃) = .
√(𝒙−𝒃)𝑻 𝚺(𝒙−𝒃)

𝒙𝑻 𝝁
In the absence of benchmark, 𝑰𝑹(𝒙): = .
√𝒙𝑻 𝚺𝒙

In our case, we do not consider any benchmark since we are working with relative returns.

3.7.2 Myopic returns


Methodology:

We consider the allocations, returns and standard deviations obtained dynamically at the previous
steps.

44
45
REMARKS:
1. A peak information ratio is remarked around the end of 2008 followed by
minimum information ratio immediately after that.
2. Also I remark a seasonality of high/low levels succession, along 6 months
periods.

46
3.7.3: VAR(1) forecasted returns results

47
48
3.7.4 REMARKS for VAR allocation results:
1. In case of VAR forecast models, given a certain time horizon, we obtain similar patterns for
information ratios, no matter which allocation strategy we choose.

2. In all investment horizon considered previously (1 week, 1 month, 1 quarter, 6 months, 1 year), if we
target 1% volatility, we obtain most of the time, positive information ratios, (that is, positive expected
returns). The back-test gives negative information ratio on 𝜎 = 1% target problem only around the
period of 2008-2009 given high volatilities of the markets.

49
3.7.5 GARCH(1,1) forecasted returns results

The graph doesn’t make much sense.

There are a few outliers so I will build instead a quantile graph to see the evolution of the sharpe ratio
until the 97% quantile.

Quantile plot for sharpe ratios obtained by dynamic allocation throughout 2001-2017 period

50
3.7.6 Remarks
1. For all the returns considered on the VAR (1) econometric model one can remark a sharpe ratio
peak around 2008 and a positive information ratio for all 𝜎 − 𝑝𝑏 except the one for weekly and
monthly returns where we see a minimum achieved at the beginning of the financial crisis.
2. On the GARCH(1,1) model there is a peak information ratio of 3500 touched around April 2008.
That is because the historical volatility attained before the financial crisis is very small.

3.8 Final conclusion on allocations


Considering the hierarchy of the weights distributed across indexes, an important weight
should be given to the Value and Growth Indexes and to be studied the relative
performance of these assets (relative P/E, relative Growth of the best stocks over the
overall market average performance).

Chapter 4: APPENDIX:
Matlab code for the functions ERC, MV, RPB, 𝜎 −problem for allocation strategies
RPB and ERC portfolio:
function [str,ret,vol] = risk_budget_portfolio(returns,bench,budgets,varargin)
% returns -- expected returns of the assets / indices
% budgets -- risk budgets: the max amount of vol allowed for each component
% bench -- can be a vector of the same length as the returns/empty
% varargin -- can contain 1 parameter, the covariance matrix or
% 2 parameters -- the correlation matrix and the individual standard deviations
if nargin==4
cov_mat = varargin{1};
elseif nargin==5
cov_mat = covariance(varargin{1},varargin{2});
end
[A,B,C] = auxiliary(cov_mat,bench,budgets);
f = @(x) A(x)-B(x)+C(x);
k = size(cov_mat,1);
x0 = ones(1,k)/k;
ub = ones(1,k);lb = zeros(1,k);
Aeq = ones(1,k); beq = 1;
[str,~] = fmincon(f,x0,[],[],Aeq,beq,lb,ub);
if isempty(bench)==0
if isempty(returns)==0
ret = (str-bench)*returns';
vol = sqrt((str-bench)*cov_mat*(str-bench)');
else
ret = [];
vol = sqrt((str-bench)*cov_mat*(str-bench)');
end
else
if isempty(returns)==0

51
ret = str*returns';
vol = sqrt(str*cov_mat*str');
else
ret = [];
vol = sqrt(str*cov_mat*str');
end
end
end

function [A,B,C] = auxiliary(cov_mat,bench,budgets)


if isempty(bench)==1
A = @(x) 1/(x*cov_mat*x')*(x.^2 * (cov_mat*x').^2);
B = @(x) 2*(x*((cov_mat*x').*budgets'));
C = @(x) x*cov_mat*x'*sum(budgets.^2);
else
A = @(x) 1/((x-bench)*cov_mat*(x-bench)')*((x-bench).^2*(cov_mat * (x-
bench)').^2);
B = @(x) 2*((x-bench)*((cov_mat*(x-bench)').*budgets'));
C = @(x) (x-bench)*cov_mat*(x-bench)'*sum(budgets.^2);
end
end

function y = covariance(sig,correl)
sigs = repmat(sig',1,length(sig));
y = (sigs.*sigs').*correl;
end

function [str,ret,vol] = ERC( returns,bench,varargin)


% the input will be either: covariance matrix or separate vols +
% correlation matrix.
if nargin==3
cov_mat = varargin{1};
elseif nargin==4
cov_mat = covariance(varargin{1},varargin{2});
end
n = length(returns);
[A,B,C,D] = auxiliary(cov_mat,bench,n);
f = @(x) (A(x)-B(x)+C(x))/D(x);
x0 = ones(1,n)/n;
Aeq = ones(1,n);beq = 1;
lb = zeros(1,n);ub = ones(1,n);
[str,~] = fmincon(f,x0,[],[],Aeq,beq,lb,ub);
if isempty(bench)==0
ret = (str-bench)*returns';
vol = sqrt((str-bench)*cov_mat*(str-bench)');
else
ret = str*returns';
vol = sqrt(str*cov_mat*str');

52
end
end

function y = covariance(sig,correl)
sigs = repmat(sig',1,length(sig));
y = (sigs.*sigs').*correl;
end

function [A,B,C,D] = auxiliary(cov_mat,bench,n)


if isempty(bench)==1
A = @(x) n^2 * (x.^2 * (cov_mat * x').^2);
B = @(x) 2*n*(x*cov_mat*x') * (x*(cov_mat*x'));
C = @(x) n*(x*cov_mat*x')^2;
D = @(x) n^2 * (x*cov_mat*x');
else
A = @(x) n^2 * ((x-bench).^2 * (cov_mat * (x-bench)').^2);
B = @(x) 2*n*((x-bench)*cov_mat*(x-bench)')*((x-bench)*(cov_mat*(x-bench)'));
C = @(x) n*((x-bench)*cov_mat*(x-bench)')^2;
D = @(x) n^2 * ((x-bench)*cov_mat*(x-bench)');
end
end

To check the consistency and correctness of the two functions you can choose example 15 of Thierry
Roncalli’s book, Risk Parity and Budgeting, by taking the risk budgets given there and then compare with
ERC function by using equal weights.

MV portfolio
function [x,ret,vol] = MV_port(bench,lb,ub,returns,varargin)
% Min variance portfolio -- x = the structure, ret = the portfolio expected
% return and vol = the volatility attained
% bench = structure of benchmark (the sum of the components = 1)
% lb = lower bound for these components; ub = upper bound of these
% components
if nargin==5
cov_mat = varargin{1};
elseif nargin==6
cov_mat = covariance(varargin{1},varargin{2});
end
[x,ret,vol]= MV(cov_mat,bench,lb,ub,returns);
end

function y = covariance(sig,correl)
sigs = repmat(sig',1,length(sig));
y = (sigs.*sigs').*correl;
end

53
function [x,ret,vol] = MV(cov_mat,bench,lb,ub,returns)
if isempty(bench)==1
fun = @(x)1/2*x'*cov_mat*x;
Aeq = ones(1,size(cov_mat,1));
beq = 1;
x0 = ones(1,size(cov_mat,1))'*1/size(cov_mat,1);
[x,~] = fmincon(fun,x0,[],[],Aeq,beq,lb,ub);
vol = sqrt(x'*cov_mat*x);
if isempty(returns)==1
ret = [];
else
ret = returns*x;
end
else
fun = @(x)1/2*(x-bench)'*cov_mat*(x-bench);
Aeq = ones(1,size(cov_mat,1));
beq = 1;
x0 = ones(1,size(cov_mat,1))'*1/size(cov_mat,1);
[x,~] = fmincon(fun,x0,[],[],Aeq,beq,lb,ub);
vol = sqrt((x-bench)'*cov_mat*(x-bench));
if isempty(returns)==1
ret = [];
else
ret = returns*(x-bench);
end
end
end

You can confront this code against example 1 provided in Roncalli’s book, Risk Parity and Budgeting.

SOURCES:
1. https://www.msci.com/eqb/methodology/meth_docs/MSCI_Quality_Indices_Methodology.pdf

2.
https://www.msci.com/eqb/methodology/meth_docs/MSCI_Momentum_Indexes_Methodology_Sep20
14.pdf

3. Thierry Roncalli: Risk Parity and Budgeting (numerical examples).

54

Вам также может понравиться