Next Article in Journal
Fundamentals vs. Financialization during Extreme Events: From Backwardation to Contango, a Copper Market Analysis during the COVID-19 Pandemic
Next Article in Special Issue
Is Promoting Green Finance in Line with the Long-Term Market Mechanism? The Perspective of Chinese Commercial Banks
Previous Article in Journal
Abnormality Detection and Failure Prediction Using Explainable Bayesian Deep Learning: Methodology and Case Study with Industrial Data
Previous Article in Special Issue
Real Economy Effects on Consumption-Based CAPM
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Tracking a Well Diversified Portfolio with Maximum Entropy in the Mean

1
Computer Science, Universitat Politècnica de Catalunya (UPC), 08024 Barcelona, Spain
2
Centro de Finanzas IESA, Caracas 1010, Venezuela
3
Business Administration, Universidad Carlos III de Madrid, 28903 Madrid, Spain
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Mathematics 2022, 10(4), 557; https://doi.org/10.3390/math10040557
Submission received: 21 January 2022 / Revised: 7 February 2022 / Accepted: 8 February 2022 / Published: 11 February 2022
(This article belongs to the Special Issue Application of Mathematical Methods in Financial Economics)

Abstract

:
In this work we address the following problem: Having chosen a well diversified portfolio, we show how to improve on its return, maintaining the diversification. In order to achieve this boost on return we construct a neighborhood of the well diversified portfolio and find a portfolio that maximizes the return in that neighborhood. For that we use the method of maximum entropy in the mean to find a portfolio that yields any possible return up to the maximum return within the neighborhood. The implicit bonus of the method is that if the benchmark portfolio has acceptable risk and diversification, the portfolio of maximum return in that neighborhood will also have acceptable risk and diversification.

1. Introduction and Preliminaries

Consider a collection of n assets and let us denote by { ρ k : k = 1 , , n } the collection of random rates of return of the collection, and by r a = ( r 1 , , r n ) the vector of expected return of these assets, that is E [ ρ k ] = r k , k = 1 , , n . A portfolio with no short positions consists of a vector w = ( w 1 , , w n ) such that w , u = 1 and the expected return of the portfolio is given by w , r a . Here u = ( 1 , , 1 ) . The class P of admissible portfolios is defined by P = { w R n : 0 w k 1 , w , u = 1 } .
An investor interested in obtaining the maximum possible return on her investment needs to solve the following problem:
F i n d w R n a t   w h i c h max { w , r a : w P } i s   r e a c h e d .
Certainly, this problem has a solution and it is a corner of P . However, this solution is not satisfactory because it ignores some essential issues. Most notably, neither the risk nor the diversification of the portfolio is taken into consideration. There are many ways of setting up a satisfactory (risk, return) balance, and each one of them leads to a solution to the problem. The classical, and most widely used, mean-variance solution by [1] has been known for long to be highly sensitive to parameter estimation errors (e.g., of covariance matrix and especially mean vector of assets returns, see [2]). Several solutions have been proposed for a robust portfolio optimization within this paradigm based on a trade-off of risk and return [3].
The other relevant issue related to the classical Markowitz proposal is the diversification issue. Diversification appears to be an intuitive concept but as with the notion of risk, there does not seem to exist an agreement on how to specify and measure it. From a practitioner perspective, it is widely accepted that a well-diversified portfolio is one where shocks to individual components do not heavily affect the overall performance of the portfolio. This qualitative definition translates in the mean-variance model to an increase in the number of uncorrelated constituents in the portfolio, as it is clear that the larger the number of (uncorrelated) assets the lower the overall variance of the portfolio, and this can be driven to almost zero in an equally weighted portfolio. However authors such as [4] show that in the case of equity mutual funds in spite of the huge number of stocks they hold (more than 100 in many cases) their portfolios are not perfectly diversified, in terms of risk reduction; reference [5] show that in non-Gaussian return distributions, increasing portfolio sizes could not reduce monotonically large risks, and instead a lower number of assets could improve diversification in a bear market. In any case, for the practitioner diversification of a portfolio is still tied to a play with size (number of assets) and approximate weights to uniform distribution. A recent extensive review of the research literature dealing with the relation of number of assets and portfolio diversification is given in [6], and a more general review of diversification in portfolio theory, with focus on its defining principles, usefulness and measurement is given in [7].
Supervised methods to achieve diversification based on risk reduction, such as the MV optimization approach for minimizing the variance, in practice tend to concentrate on very small subsets of the portfolios of interest (more often than not, on a single asset), and this goes against the former accepted notion of diversification, which asks for a reasonable number of assets with similar weights in the portfolio. A prior proposal in which diversification is taken into account along with risk and return tradeoff is that of [8]. They minimize an entropy divergence between the unknown portfolio and that of the naive portfolio subject to return-risk constraint. In this way they achieve a shrinkage towards the maximum diversification as high as possible while maintaining the risk-return constraint. The use of entropy as a measure of diversification in portfolio selection has been validated previously in [9].
Our proposal goes in a related, but quite different direction. We start from a portfolio that satisfies some benchmarking criterion in terms of diversification and risk tolerance, define an acceptable region in portfolio space about the benchmark, and then solve a constrained return maximization problem within that acceptance class of well diversified portfolios. This constrained linear programming problem is an alternative way to achieve shrinkage towards the benchmark.
To be explicit, let us denote by w ( d ) = ( w 1 ( d ) , , w n ( d ) ) the well diversified benchmark and define the set of admissible portfolios by
A = { w P : a k = w k ( d ) l k w k w k ( d ) + u k = b k , k = 1 , , n } .
It is the specification of the l k , u k that determines the risk for the portfolios in A . Consequently the focus of our attention is on the following problem
Problem 1.
Determine a portfolio w * A at which w * , r a reaches its maximum possible value. That is, find
w * = a r g m a x { w , r a : w A } .
For the solution of this problem we will use the method of maximum entropy in the mean (MEM). For this consider [10]. MEM uses the standard entropy maximization method as a stepping stone to solve ill-posed, constrained, linear inverse problems. It is here where our approach differs from that of [8]. They use a cross-entropy minimization procedure under mean variance constraints to obtain a portfolio with good diversification properties. We use the MEM to solve a sequence of constrained linear equations as a way to solve a constrained linear programming problem by a variant of the interior point approach. The mathematics of this approach was initially worked out in [11]. As mentioned above, for us the constraints come from a preassigned band about the benchmark well diversified portfolio, and at the end we shall end with the portfolio that has a maximal return in the region of well diversified portfolios. We remark that we do not strive for efficiency in the Markowitz (risk, return) sense. Instead we start from a well diversified portfolio and improve its return while maintaining a high degree of diversification. Thus, our portfolios are efficient in the sense that it provides the highest possible returns at a given level of diversification.
The process is as follows: Starting with r ( d ) = w ( d ) , r a we increase the return in small steps and solve
Problem 2.
Find w ( r ) such that
w ( r ) , r a = r w ( r ) , u = 1 a k w k ( r ) b k .
This is the problem to be solved with MEM. We increase r in small steps until no solution to this problem exists. The last r for which the interior point method has a solution is an approximate solution to the linear programming problem. We explain how this is done in Section 2. In Section 4 we report our numerical examples, and for that we first explain in Section 3 how the admissible portfolios are specified. Section 5 concludes.

2. The Maxentropic Solution to Problem 2

Instead of solving an algebraic problem, we consider a linear, inverse ill-posed problem consisting of determining a probability measure P on A = k = 1 n [ a k , b k ] such that w ( r ) = E P [ X ] satisfies Problem 2. Here X : A A is the identity mapping. On a σ -algebra of Borel sets on A we consider the reference measure Q = k = 1 n ϵ a k ( d x k ) + ϵ b k ( d x k ) which puts unit mass at the vertices of A . The reasons behind this choice are twofold: On the one hand, the computations are simple, and on the other, is the fact that any point in any of the intervals is a convex combination of its extreme points. Before continuing, note that any P < < Q can be written as Q = k = 1 n ( 1 p k ) ϵ a k ( d x k ) + p k ϵ b k ( d x k ) . In particular, the entropy S Q ( P ) of the probability P with respect to the reference measure Q is given by
S Q ( P ) = A d P d Q ln d P d Q d Q = k = 1 n ( 1 p k ) ln ( 1 p k ) + p k ln p k .
Note now as well that:
w k ( r ) = ( 1 p k ) a k + p k b k , k = 1 , , n .
It is to find the appropriate p k that we use the method of maximum entropy. Our problem consists of
Problem 3.
Find P * such that
P * = a r g m a x { S Q ( P ) } = a r g m a x k = 1 n ( 1 p k ) ln ( 1 p k ) + p k ln p k ; s u b j e c t   t o   t h e   c o n s t r a i n t s E P [ X , r a ] = r E P [ X , u ] = 1
Note that the last constraint in Problem 2 is automatically taken care of by this problem set up. It is a routine calculation to verify that the solution to Problem 3 is given by
p k * = e ( λ 1 * b k + λ 2 * b k r k ) e ( λ 1 * a k + λ 2 * a k r k ) + e ( λ 1 * b k + λ 2 * b k r k ) .
The Lagrange multipliers are to be found minimizing the (dual entropy) function
( λ 1 , λ 2 ) Σ ( λ 1 , λ 2 ) = k = 1 n ln e ( λ 1 a k + λ 2 a k r k ) + e ( λ 1 b k + λ 2 b k r k ) + λ 1 + λ 2 r .
This is a strictly convex function on R 2 . Once the minimizing values λ 1 * , λ 2 * have been determined they are substituted in (4), and then the desired portfolio is given by
w k ( r ) = a k ( 1 p k * ) + b k p k * .
The existence of the minimizer is equivalent to the existence of w in the interior of A achieving that return. When the optimization problem has no solution, the minimizer tends to infinity (in the Appendix A we explain why that happens).
To find the portfolio in A that maximizes the return fix some step size δ and consider r 0 = r ( d ) and r s = r ( d ) + s δ = r s 1 + δ . If for some s 0 there is a portfolio w ( r s 0 ) of return r s 0 but no portfolio of return r s 0 + 1 = r s 0 + δ , we stop and the maximum possible return is between r s 0 and r s 0 + δ , that is our estimation error is smaller than δ . Here the problem solver must choose between increasing r fast and lowering the approximation error.

3. The Well Diversified Portfolio Selection in Practice and Related Issues

As we mentioned above, the two first stages of the problem consist of deciding upon a well diversified benchmark, and then to build the admissible set about it. After that comes the optimization routine described in Section 2.

3.1. Choosing a Well Diversified Portfolio

As argued in the Introduction an accepted benchmark for a diversified portfolio, in practice, is the naive portfolio, which assigns weight w k ( d ) = 1 / n to each of the n assets. Another choice of reasonable well-diversified portfolio, close in nature to the naive and which somehow reflects the market preferences, is the relative capitalization portfolio, which assigns weight w k ( d ) = C k / ( j = 1 n C j ) to the k-th asset, with C k being its market capitalization.

3.2. The Admissible Portfolios

Denote by R our preferred risk measure. Suppose that it is a differentiable function, and let R ( w ( d ) ) be the risk of the well diversified portfolio, and R ( w ) the risk of a portfolio in the admissible set A . In the notations of (1) note that:
| R ( w ) R ( w ( d ) ) | R ( w ( d ) ) s u p k | u k l k | = R ( w ( d ) ) s u p k | b k u k | .
we are using the standard V to denote the Euclidean norm of the vector V . It certainly makes sense to consider l k < w k ( d ) so that a k > 0 . So, it suffices to consider l k = u k = α · w k ( d ) , for 0 < α < 1 and all k, which certainly yields R ( w ( d ) ) s u p k | u k l k | < ϵ , and this incorporates our tolerance to the risk beyond that of the benchmark. In our experiments we will try different values for α to evaluate the impact on varying the width of the band around the well diversified benchmark.

3.3. Dissimilarity Measures between the Initial and the Final Portfolios

As the portfolios that we deal with admit no short positions they can be regarded as probabilities. In the literature there are many ways of measuring distances between two probabilities or to quantify how different they are (see, e.g., [12]). Here we shall mention only two measures. First a true distance between probabilities, the Jeffreys distance [13], and second a standard measure of dissimilarity, namely the Kullback–Leibler divergence [14].
The Jeffreys distance between two discrete probability laws w ( 1 ) and w ( 2 ) is defined as:
d J 2 ( w ( 1 ) , w ( 2 ) ) = k = 1 n w k ( 1 ) w k ( 2 ) 2 .
Of course, there is the standard Kullback–Leibler divergence, which is a measure of dissimilarity between probabilities used in [8] to quantify how different is w ( 1 ) from w ( 2 ) . It is given by:
K ( w ( 1 ) , w ( 2 ) ) = k = 1 n w k ( 1 ) ln w k ( 1 ) w k ( 2 ) .
It rapidly follows from Jensen’s inequality that despite of the fact that the Kullback–Leibler divergence is not a distance (it is neither symmetric nor does it satisfy the triangle inequality), it nevertheless satisfies
K ( w ( 1 ) , w ( 2 ) ) 0 , a n d K ( w ( 1 ) , w ( 2 ) ) = 0 w ( 1 ) = w ( 2 ) .
We shall use these two to tell how different the maximum return portfolio w * is from the well diversified portfolio w ( d ) .

3.4. The Diversification Index

A diversification index provides us with an intrinsic measure that tells us how well diversified a given portfolio index is. If the naive portfolio is taken as the universal benchmark, the Kullback–Leibler divergence defined in (8) can also be considered a diversification index. This is the approach used by [8]. However, there are other indices. For the numerical examples developed below, we use the Kullback–Leibler divergence and the Herfindahl diversification index. This is an intrinsic measure of diversification commonly used to measure how well diversified a portfolio is. For a portfolio w it is given by:
H ( w ) = k = 1 n w k 2 .
Since the Herfindahl index of the naive portfolio made up of n assets is 1 / n , the closer that H ( w ) is to 1 / n , the better diversified the portfolio is. The Herfindahl index has enjoyed for quite some time a reputation of superior benchmark for market concentration indices among economists and public-policy analysts; see [15] for a review on this index.
For each of the examples below we shall compute the intrinsic diversification index before and after the return maximization process, as well as the two measures of dissimilarity detailed above.

4. Numerical Examples

This section is divided into three parts. In the first part we apply the two criteria for choosing a well diversified benchmark from Section 3.1 and show explicitly how the method of maximum entropy for benchmark tracking works. That is, we explain how we choose a benchmark and examine the effect of applying the maxentropic procedure to obtain a portfolio of maximum expected return within the admissible class. We perform some simple tests. This could be considered an examination of the performance of an interior point method to solve a linear programming problem.
As the input data for the method depends on market data, that is on the average returns of the collection of assets of the portfolio, in the second section we study the robustness of the procedure by averaging over portfolios held for a rebalancing period of 5 and 20 days. In each case we start from a well diversified portfolio w ( d ) with expected return r ( d ) at the beginning of the period and end up with a portfolio w * of return r * at the end of the rebalancing period. Then we average the initial and final returns for these simulations and perform a variety of performance tests. The reason why some smoothing is expected is the following. If we denote by r k ( d ) the vector of initial expected returns of the well diversified portfolio for the k-th simulation and, similarly, denote by r * k = r k ( d ) + Δ k the vector of maximized returns at the end of the investment period in the k-th simulation, where by Δ k we denote the improvement in the expected return after the MEM procedure is applied to the well diversified portfolio, then if K denotes the number of simulated rebalancing of portfolios, the expected return of the portfolio which is held constant over the simulations is given by:
k = 1 K w * k , r * k = k = 1 K w k ( d ) , r k ( d ) + k = 1 K Δ k .
This identity explains why, even though for each specific initial return the return of the optimized portfolio improves considerably, when we average over all input/output pairs, the performance looks less impressive than the results of the previous section.
In the third subsection we perform a similar analysis for a non-necessarily well diversified portfolio. The two examples we consider are a Markowitz portfolio [1] and a quintile portfolio [16].

4.1. How the MEM Procedure Works

To illustrate the workings of the maxentropic benchmark tracking, we considered a collection of n = 15 stocks of companies belonging to the DAX index and obtained their daily close prices for a period of 500 market days from which we computed their expected daily rates of return.
For this collection of assets we consider the following two diversified portfolios: First the naive portfolio, with weights w j ( d ) = 1 / 15 and then a portfolio that reflects the market capitalization computed as C j = p r i c e j × v o l u m e j divided by the market capitalization of the collection, that is w j = C i / i = 1 n C i . We refer to this portfolio as the relative capitalization portfolio.
For the numerical examples we considered a uniform band defined by a j = w j ( d ) ( 1 α ) and b j = w j ( d ) ( 1 + α ) , written in such a way that α could be changed. We considered α = 1 / 2 to begin with. The step size δ is taken initially as 10% of the portfolio (by the rationale that an investor would expect to increase its original investment by that much). However, we incremented the portfolio target return from step to step using the corrected recursion r s = r s 1 + ( 0.9 ) s δ , so that the increments are smaller as the step number s increases.

4.1.1. The Naive Portfolio Is the Benchmark

For each of the 15 stocks, we show in Table 1 its weight in the naive portfolio (the quantity to the left of the |, which is 1 / 15 = 0.06667 ), and its weight in the portfolio that maximizes return in the admissible band about the naive portfolio (the quantity to the right of the |).
The daily rate of return of the naive portfolio is 0.013% which is annualized to 3.3%. After applying the maxentropic procedure the new portfolio has a daily rate of return of 0.024%, which is annualized to 6.15%, that is almost twice as much as that of the naive portfolio.
We mention that the norm of the gradient of the dual entropy was less than 10 6 , which means that the constraints are satisfied up to six decimal figures.
The Herfindahl index of the naive portfolio is H ( w ( d ) ) = 0.06667 whereas that of maximum return is H ( w * ) = 0.07017 . Both portfolios appear to be quite well diversified. That not much diversification is lost seems intuitive on the basis of basic analysis: w H ( w ) is a continuous function and the neighborhood about w ( d ) is small, so not much diversification appears to be lost.

4.1.2. The Relative Capitalization Portfolio Is the Benchmark

We already explained how to produce a well diversified portfolio for this example. This benchmark is a substitute of the market portfolio in terms of risk-return performance and we assume that it incorporates some market driven notion of diversification. In Table 2 we show the weights of the initial relative capitalization portfolio (left of |) and the weights of the portfolio that maximizes return in the admissible band about the relative capitalization portfolio (right of |).
The average daily rate of return of the initial relative capitalization portfolio is 0.014% which annualizes to 3.7%, which is a bit higher than that of the naive portfolio. The expected daily rate of return of the portfolio that maximizes return in the admissible band is 0.027% which annualizes into 6.9%, again almost twice as much, and the portfolio stays in the preassigned band about the well diversified portfolio. The Herfindahl index of the relative capitalization portfolio is H ( w ( d ) ) = 0.0842989 whereas that of maximum return is H ( w * ) = 0.09134554 , a close value to the former hence keeping a similar level of diversification.

4.1.3. The Maximum Return Portfolios in Relation to the Benchmarks

Above we saw that given that the region of the well diversified portfolio in which we maximize returns is small so as not to lose diversification, we need some way to quantify how different the portfolios are. For this we use the dissimilarity measures defined previously. The Jeffrey’s distance between two portfolios w ( 1 ) and w ( 2 ) is computed as indicated in (7) and the Kullback–Leibler divergence is computed as indicated in (8).
  • Case I: The benchmark is the uniform portfolio.
    • In this case we have
    • (a) The Jefferys distance is d J 2 ( w * , w ( d ) ) = 0.01336581 .
    • (b) The Kullback–Leibler divergence is K ( w * , w ( d ) ) = 0.02650156 .
  • Case II: The relative capitalized benchmark.
    • In this case we have
    • (a) The Jefferys distance is d J 2 ( w * , w ( d ) ) = 0.03748571 .
    • (b) The Kullback–Leibler divergence is K ( w * , w ( d ) ) = 0.06747427 .
As one can observe in the two cases the small values in both metrics indicate the closeness of both portfolios.

4.2. The Average Performance of the Procedure in Real Life

In order to illustrate the practical usefulness of the MEM diversified portfolio selection method we performed a large number of randomized backtests on a list of portfolios over multiple historical market datasets obtained on a rolling-window basis. The raw historical market data on a daily period is obtained for two international equity indices: The German DAX from 2009-01-01 to 2019-12-31 (for small size portfolios), and the US SP500 from 2008-12-01 to 2018-12-01 (for big size portfolios). Each historical market data is resample into multiple datasets; each resample is obtained by randomly choosing a subset of the stock names (15 for the DAX index, 50 for the SP500) and randomly choosing a time period of 2 years (or 504 days) over the available long period. We apply a rolling window of length 1 year (252 days) for a walk-forward backtesting where the in-sample and out-of-sample windows are constantly shifted. In the in-sample window we estimate parameter values of each portfolio strategy (e.g., covariance, mean, and others). Using the estimated parameters, the optimal portfolio for each considered model is calculated, and tests its performance in the out-sample window by holding the portfolio with the optimal weights through a specific period. We tested for out-sample holding periods of 5 days (a week) and 20 days (one month). Walk-forward backtesting provides a historical simulation of how each portfolio strategy would have performed in the past. This has a clear historical interpretation and its performance can be reconciled with paper trading (for further details see [17]).
Note that our goal is to determine how the MEM diversified portfolio selection impacts on the performance of the associated diversified benchmark portfolio. Thus, if X is some portfolio selection strategy we denote by MEM_X the MEM diversified portfolio selection on top of X. For our experiments we will consider X to be: naive (i.e., equally weighted portfolio) and capital (the market capitalization based portfolio, each weight computed as C j = p r i c e j × v o l u m e j divided by the market capitalization of the collection, that is w j = C i / i = 1 n C i ). The respective MEM diversified portfolios will be denoted MEM_Naive and MEM_Cap.
To evaluate the performance of each model, we use the following measures: Sharpe ratio (the ratio between the (geometric) annualized return and the annualized standard deviation), Maximum Drawdown (the maximum loss from a peak to a trough of a portfolio), annual return, annual volatility (as annualized standard deviation of returns), and Sterling ratio (the annualized return over maximum drawdown). We also compute the Herfindahl concentration index for each portfolio as an indicator of diversification relative to the naive portfolio (i.e., a well-diversified portfolio of n assets should have its H-index close to 1 / n ). All portfolio backtesting experiments were performed with the R package portfolioBacktest [18].
Results for the German market, where we build portfolios of 15 stocks randomly selected from the DAX and for up to 30 price scenarios are shown in Table 3 (for portfolio rebalancing every 5 days) and Table 4 (for portfolio rebalancing every 20 days). Results for the US market, where we build portfolios of 50 stocks randomly selected from the SP500, and for up to 30 price scenarios, are shown in Table 5 (for portfolio rebalancing every 5 days) and Table 6 (for portfolio rebalancing every 20 days). The bandwidth factor α is fixed at 0.6 (after trying several values ranging from 0.5 to 0.9 and found little variation in the results). Bear in mind that all performance results are average values over all the considered trading scenarios.
We saw in the first section that the expected return relative to that of the benchmark can be increased by appropriately modifying the portfolio. As we saw in the simulations, realized returns might be smaller than expected returns. Our scenario simulation nevertheless shows that the annual returns of the modified portfolio are larger than those of the benchmark without affecting the diversification. We mention that the other performance measures (Sharpe ratio, maximum drawdown and the Sterling ratio described a few lines above) listed in the tables are satisfactory. It appears that the procedure also decreases the volatility of the maximum return portfolio even though this was not an objective of the maxentropic benchmark tracking procedure.

4.3. The MEM Procedure Applied to a Non Well Diversified Portfolio

As it should be clear, the MEM procedure could be applied to any portfolio, regardless of its being well diversified or not. For this we considered a Markowitz type portfolio and a quintile portfolio. Recall that the quintile portfolio consists of sorting assets from high to low by expected return and selecting the top 20% for long-only positions. The mathematical soundness of this strategy as a solution to robust portfolio optimization is analyzed in [16].
We defined a band about the two chosen portfolios for the purpose of maxentropic approach to return augmentation within the acceptable band about the benchmark. Keep in mind that now the acceptable portfolios near the benchmark are not required to be well diversified. To examine the performance of the method we performed the same tests as those that we applied to the well diversified portfolio. The results are shown in the Appendix B, in Table A1 and Table A2 for DAX market and Table A3 and Table A4 for the US market. The nomenclature for the portfolios in these tables is Markowitz5, for the MV or mean-variance portfolio with target return 0.05 (in other words, the minimum variance portfolio to achieve return of 0.05), and quintile, and the respective portfolios after applying MEM for return maximization are termed are MEM_MV and MEM_Quin.
What is somewhat surprising from these tables, is that all performance measures improve after the maxentropic procedure is applied except the Herfindahl diversification index that becomes worse. The lesson seems to be that the maxentropic procedure for benchmark tracking does improve a portfolio optimization strategy keeping in line with the diversification or lack thereof. As an illustration of these facts we include in Appendix B a plot of the cumulative returns of the portfolios obtained in one of the 30 simulations considered for the DAX (Figure A1), as well as pictures of the asset allocation by the MV method (Figure A2) and the asset allocation of the same portfolio optimized by the maxentropic procedure (Figure A3).

5. Concluding Remarks

The first and more obvious comment is that the maxentropic procedure to obtain a portfolio that maximizes the expected return within a band about the benchmark works quite well, regardless of whether the benchmark is well diversified or not. If the benchmark is well diversified, the new portfolio is well diversified as well. This is a reflection of the fact that the diversification index is a continuous function of the portfolio. Moreover, if the market is considered efficient and the relative capitalization reflects the efficiency of the market, then choosing the relative capitalization as a measure of diversification for our benchmark (which is good according to the Herfindahl index), then we maintain the market efficiency and improve upon the return of a well diversified and efficient portfolio.
The general outcome result from our maxentropic optimization is that not only is the expected return increased, also the realized return increases and some standard performance measures, like the Sharpe ratio, the max drawdown and the Sterling ratio, improve as well. This seems to happen not only when the benchmark is well diversified, but at least for the Markowitz and the quintile portfolios, the performance measures report a satisfactory outcome, except concerning the diversification that seems to deteriorate.
To conclude, the procedure seems to open the door to a well behaved benchmark tracking methodology.

Author Contributions

Conceptualization, methodology, formal analysis, investigation, A.A., H.G. and S.M.; software, data curation, A.A.; validation, A.A., H.G. and S.M.; writing—original draft preparation, A.A. and H.G.; writing—review and editing, A.A., H.G. and S.M.; funding acquisition, S.M. All authors have read and agreed to the published version of the manuscript.

Funding

The work of the third author has been supported by the Madrid Government (Comunidad de Madrid-Spain) under the Multiannual Agreement with UC3M in the line of Excellence of University Professors (EPUC3M12), and in the context of the V PRICIT (Regional Programme of Research and Technological Innovation). We acknowledge financial support from Ministerio de Ciencia e Innovacion grant PID2020-115744RB-I00.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Historical daily market price used in this study is publicly available from https://finance.yahoo.com/, (last accessed on 29 November 2021).

Conflicts of Interest

The authors declare no conflict of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to publish the results.

Abbreviations

The following abbreviations are used in this manuscript:
MEMMaximum Entropy in the Mean
MVMean-Variance
MEM_Naivethe equally weighted MEM diversified portfolio
MEM_Capthe market capitalization weighted MEM diversified portfolio
MEM_MVthe MV weighted MEM diversified portfolio
MEM_Quinthe quintile weighted MEM diversified portfolio
Markowitz5the mean-variance portfolio with target return 0.05

Appendix A. Remarks of the Dual Entropy Minimization Problem

Here we add some detail to the material in Section 2 and an example to better understand what is behind the proof in [11]. For τ R n the Laplace transform of the measure Q is
ζ ( τ ) = ln E [ e τ , x ] ,
and now for λ R 2 define
Z ( λ ) = E [ e C t λ , x ]
where C is the constraint matrix defined by setting C i k = 1 for k = 1 , , n and C 2 , k = r k for k = 1 , , n and C t denotes the transpose of C . Denote as well by d = ( 1 , r ) t the data vector. With these notations, the dual entropy function mentioned in Section 2 is given by
Σ ( λ ) = ln Z ( λ ) + λ , d .
The minimizer of λ * is determined by solving the system
λ Σ = 0 C E P [ X ] = d .
The right hand side of the identity can be written as
k = 1 n a k e ( λ 1 a k + λ 2 a k r k ) e ( λ 1 a k + λ 2 a k r k ) + e ( λ 1 b k + λ 2 b k r k ) + b k e ( λ 1 b k + λ 2 b k r k ) e ( λ 1 a k + λ 2 a k r k ) + e ( λ 1 b k + λ 2 b k r k ) = 1
k = 1 n r k a k e ( λ 1 a k + λ 2 a k r k ) e ( λ 1 a k + λ 2 a k r k ) + e ( λ 1 b k + λ 2 b k r k ) + b k e ( λ 1 b k + λ 2 b k r k ) e ( λ 1 a k + λ 2 a k r k ) + e ( λ 1 b k + λ 2 b k r k ) = r .
Take a glance at (A2) to understand the solution obtained in (4). To describe the issue of the existence of solutions, write Ψ ( λ 1 , λ 2 ) = C E P [ X ] and then (A1) or (A2) become
Ψ ( λ 1 , λ 2 ) = d 1 r
In order to be able to solve for ( λ 1 , λ 2 ) we have to make sure that the range of Ψ covers the interior of the set containing the data point. That is the essence of the result proved in [11]. To get the idea behind the result consider c < d any two real numbers and λ R . Consider:
ψ ( λ ) : = c e c λ e c λ + e d λ + d e d λ e c λ + e d λ .
It is easy to verify that ψ ( λ ) tends to either c or d as λ ± . So ψ maps R onto ( c , d ) . If we define the 2 × n constraint matrix C by setting C i k = 1 for k = 1 , , n and C 2 , k = r k for k = 1 , , n , then the condition for the Lagrange multiplier to exist is that d i n t ( C ( A ) ) . This is what makes the maxentropic approach to the interior point approach to the linear programming problem work. Because when we increase r ( n ) a large number of times, then ( 1 , r ( n ) ) t is out of C ( A ) ) and the numerical determination of the Lagrange multipliers explodes.

Appendix B. Tables and Figures

Table A1. Performance of portfolios samples of 15 stocks (DAX), rebalance every 5, α = 0.6 .
Table A1. Performance of portfolios samples of 15 stocks (DAX), rebalance every 5, α = 0.6 .
MEM_MVMarkowitz5MEM_QuinQuintile
Sharpe ratio1.24430.85550.69550.5475
max drawdown0.10990.10960.14220.1393
annual return0.18060.17180.14090.1295
annual volatility0.14240.14470.19210.1871
Sterling ratio1.61341.11280.93600.7244
Herfindahl0.21460.18260.21370.1957
Table A2. Performance of portfolios samples of 15 stocks (DAX), rebalance every 20, α = 0.6 .
Table A2. Performance of portfolios samples of 15 stocks (DAX), rebalance every 20, α = 0.6 .
MEM_MVMarkowitz5MEM_QuinQuintile
Sharpe ratio1.24410.85860.68750.5605
max drawdown0.11020.10970.14230.1382
annual return0.18070.17220.14000.1294
annual volatility0.14250.14460.19210.1875
Sterling ratio1.61511.11930.93050.7204
Herfindahl0.21420.18270.21490.1957
Table A3. Performance of portfolios samples of 50 stocks (SP500), rebalance every 5, α = 0.6 .
Table A3. Performance of portfolios samples of 50 stocks (SP500), rebalance every 5, α = 0.6 .
MEM_MVMarkowitz5MEM_QuinQuintile
Sharpe ratio1.30251.23441.06501.0261
max drawdown0.08090.08020.12350.1189
annual return0.13990.13590.22550.1917
annual volatility0.11200.10800.18050.1661
Sterling ratio1.88381.74971.63491.6083
Herfindahl0.12200.11170.07190.0598
Table A4. Performance of portfolios samples of 50 stocks (SP500), rebalance every 20, α = 0.6 .
Table A4. Performance of portfolios samples of 50 stocks (SP500), rebalance every 20, α = 0.6 .
MEM_MVMarkowitz5MEM_QuinQuintile
Sharpe ratio1.30941.25051.05551.0114
max drawdown0.08130.08060.12300.1189
annual return0.14100.13790.22820.1924
annual volatility0.11170.10800.18040.1663
Sterling ratio1.87621.74761.65491.6001
Herfindahl0.12230.11170.07220.0600
Figure A1. Cumulative Returns of portfolios of up to 15 stocks from DAX, rebalance every 20, for one of the 30 scenarios considered.
Figure A1. Cumulative Returns of portfolios of up to 15 stocks from DAX, rebalance every 20, for one of the 30 scenarios considered.
Mathematics 10 00557 g0a1
Figure A2. Asset allocation by the MV method for DAX, rebalance every 20, for one of the 30 scenarios considered.
Figure A2. Asset allocation by the MV method for DAX, rebalance every 20, for one of the 30 scenarios considered.
Mathematics 10 00557 g0a2
Figure A3. Asset allocation by the MEM_MV method for DAX, rebalance every 20, for one of the 30 scenarios considered.
Figure A3. Asset allocation by the MEM_MV method for DAX, rebalance every 20, for one of the 30 scenarios considered.
Mathematics 10 00557 g0a3

References

  1. Markowitz, H. Portfolio selection. J. Financ. 1952, 7, 77–91. [Google Scholar]
  2. Chopra, V.; Ziemba, W. The Effect of Errors in Means, Variances and Covariances on Optimal Portfolio Choice. J. Portf. Manag. 1993, 19, 6–11. [Google Scholar] [CrossRef]
  3. Fabozzi, F.J. Robust Portfolio Optimization and Management; Wiley: Hoboken, NJ, USA, 2007. [Google Scholar]
  4. Moreno, D.; Rodríguez, R. Optimal diversification across mutual funds. Appl. Financ. Econ. 2013, 23, 119–122. [Google Scholar] [CrossRef]
  5. Desmoulins-Lebeault, F.; Kharoubi-Rakotomalala, C. Non-Gaussian diversification: When size matters. J. Bank. Financ. 2012, 36, 1987–1996. [Google Scholar] [CrossRef]
  6. Zaimovic, A.; Omanovic, A.; Arnaut-Berilo, A. How Many Stocks Are Sufficient for Equity Portfolio Diversification? A Review of the Literature. J. Risk Financ. Manag. 2021, 14, 551. [Google Scholar] [CrossRef]
  7. Koumou, G.B. Diversification and portfolio theory: A review. Financ. Mark. Portf. Manag. 2020, 34, 267–312. [Google Scholar] [CrossRef]
  8. Bera, A.; Park, S. Optimal portfolio diversification using the maximum entropy principle. Econom. Rev. 2008, 27, 484–512. [Google Scholar] [CrossRef]
  9. Hoskisson, R.E.; Hitt, M.A.; Johnson, R.A.; Moesel, D.D. Construct validity of an objective (entropy) categorical measure of diversification strategy. Strateg. Manag. J. 1993, 14, 215–235. [Google Scholar] [CrossRef]
  10. Golan, A.; Gzyl, H. A generalized maxentropic inversion procedure for noisy data. Appl. Math. Comput. 2002, 127, 249–260. [Google Scholar] [CrossRef]
  11. Gamboa, F.; Gzyl, H. Linear programming with maximum entropy. Math. Comput. Model. 1990, 13, 49–52. [Google Scholar] [CrossRef]
  12. Rachev, S.T.; Stoyanov, S.V.; Fabozzi, F.J. A Probability Metrics Approach to Financial Risk Measures; John Wiley & Sons Ltd.: New York, NY, USA, 2011. [Google Scholar]
  13. Jeffreys, H. An invariant form for the prior probability in estimation problems. Proc. R. Soc. Lond. Ser. A 1946, 186, 453–461. [Google Scholar]
  14. Kullback, S.; Leibler, R.A. On information and sufficiency. Ann. Math. Stat. 1951, 22, 79–86. [Google Scholar] [CrossRef]
  15. Kwoka, J.E., Jr. The Herfindahl index in theory and practice. Antitrust Bull. 1985, 30, 915–947. [Google Scholar] [CrossRef]
  16. Zhou, R.; Palomar, D.P. Understanding the quintile portfolio. IEEE Trans. Signal Process. 2020, 68, 4030–4040. [Google Scholar] [CrossRef]
  17. Pardo, R. The Evaluation and Optimization of Trading Strategies, 2nd ed.; Wiley & Sons: Hoboken, NJ, USA, 2008. [Google Scholar]
  18. Palomar, D.P.; Zhou, R. portfolioBacktest: Automated Backtesting of Portfolios over Multiple Datasets. Technical Report, R Package Version 0.3.1. 2021. Available online: https://CRAN.R-project.org/package=portfolioBacktest (accessed on 20 November 2021).
Table 1. Initial weights of the naive portfolio (left) and weights of the portfolio that maximizes return in the admissible band about the naive portfolio (right).
Table 1. Initial weights of the naive portfolio (left) and weights of the portfolio that maximizes return in the admissible band about the naive portfolio (right).
Assets Weights
1 to 30.06667 | 0.075490.06667 | 0.086460.06667 | 0.07888
4 to 60.06667 | 0.064430.06667 | 0.084710.06667 | 0.08659
7 to 90.06667 | 0.077260.06667 | 0.049150.06667 | 0.05003
10 to 120.06667 | 0.084980.06667 | 0.048340.06667 | 0.05927
13 to 150.06667 | 0.051320.06667 | 0.046930.06667 | 0.05615
Table 2. Weights of the well diversified portfolio according to the relative capitalization (left) and weights of the portfolio that maximizes return in the admissible band about the relative capitalization portfolio (right).
Table 2. Weights of the well diversified portfolio according to the relative capitalization (left) and weights of the portfolio that maximizes return in the admissible band about the relative capitalization portfolio (right).
Assets Weights
1 to 30.06198 | 0.081900.09952 | 0.119520.07958 | 0.09957
4 to 60.10309 | 0.101370.06288 | 0.082880.03896 | 0.05896
7 to 90.10441 | 0.124390.11943 | 0.099430.06876 | 0.04876
10 to 120.02313 | 0.043130.04314 | 0.023130.02500 | 0.00663
13 to 150.02835 | 0.008350.02424 | 0.004240.11755 | 0.09775
Table 3. Performance of portfolios samples of 15 stocks (DAX), rebalance every 5, α = 0.6 .
Table 3. Performance of portfolios samples of 15 stocks (DAX), rebalance every 5, α = 0.6 .
MEM_CapCapitalMEM_NaiveNaive
Sharpe ratio0.81980.66030.98940.9829
max drawdown0.14510.14790.13230.1266
annual return0.13050.10650.16170.1517
annual volatility0.19430.19470.17730.1725
Sterling ratio1.05420.84601.44591.3951
Herfindahl0.09810.09460.07240.0667
Table 4. Performance of portfolios samples of 15 stocks (DAX), rebalance every 20, α = 0.6 .
Table 4. Performance of portfolios samples of 15 stocks (DAX), rebalance every 20, α = 0.6 .
MEM_CapCapitalMEM_NaiveNaive
Sharpe ratio0.81940.66340.98920.9769
max drawdown0.14530.14750.13200.1263
annual return0.13120.10690.16620.1512
annual volatility0.19380.19480.17790.1724
Sterling ratio1.05110.84701.44211.3905
Herfindahl0.09810.09450.07250.0667
Table 5. Performance of portfolios samples of 50 stocks (SP500), rebalance every 5, α = 0.6 .
Table 5. Performance of portfolios samples of 50 stocks (SP500), rebalance every 5, α = 0.6 .
MEM_CapCapitalMEM_NaiveNaive
Sharpe ratio1.11981.13451.39371.4973
max drawdown0.10880.10550.09690.0873
annual return0.16390.15990.18510.1885
annual volatility0.15780.14500.13390.1302
Sterling ratio1.80611.75192.24112.3159
Herfindahl0.05160.04820.02280.0200
Table 6. Performance of portfolios samples of 50 stocks (SP500), rebalance every 20, α = 0.6 .
Table 6. Performance of portfolios samples of 50 stocks (SP500), rebalance every 20, α = 0.6 .
MEM_CapCapitalMEM_NaiveNaive
Sharpe ratio1.10991.12981.37341.4913
max drawdown0.10920.10650.09690.0871
annual return0.16250.15930.18710.1865
annual volatility0.15830.14520.13380.1300
Sterling ratio1.77791.75142.22832.3021
Herfindahl0.05170.04820.02290.0200
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Arratia, A.; Gzyl, H.; Mayoral, S. Tracking a Well Diversified Portfolio with Maximum Entropy in the Mean. Mathematics 2022, 10, 557. https://doi.org/10.3390/math10040557

AMA Style

Arratia A, Gzyl H, Mayoral S. Tracking a Well Diversified Portfolio with Maximum Entropy in the Mean. Mathematics. 2022; 10(4):557. https://doi.org/10.3390/math10040557

Chicago/Turabian Style

Arratia, Argimiro, Henryk Gzyl, and Silvia Mayoral. 2022. "Tracking a Well Diversified Portfolio with Maximum Entropy in the Mean" Mathematics 10, no. 4: 557. https://doi.org/10.3390/math10040557

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop