1 Portfolio Theory, Information Theory and Tsallis
2 Statistics
a b,∗ a 3 Marco A. S. Trindade , Sergio Floquet , Lourival M. Silva Filho
a 4 Colegiado de F´ısica, Departamento de CiˆenciasExatas e da Terra, Universidade do 5 Estado da Bahia, Brasil b 6 Colegiado de Engenharia Civil, Universidade Federal do Vale do S˜aoFrancisco, Brasil
7 Abstract We developed a strategic of optimal portfolio based on information theory and Tsallis statistics. The growth rate of a stock market is defined by using q- deformed functions and we find that the wealth after n days with the optimal portfolio is given by a q-exponential function. In this context, the asymptotic optimality is investigated on causal portfolios, showing advantages of the optimal portfolio over an arbitrary choice of causal portfolios. Finally, we apply the formulation in a small number of stocks in brazilian stock market [B]3 and analyzed the results.
8 Keywords: Econophysics, Stock Market and Portfolio Theory,
9 Nonextensive Theory and q-Gaussians
1. Introduction The Modern Portfolio Theory was introduced by Harry Markovitz in 1952 [1]. The basic principle is the mean-variance approach [2] so that the expected return is maximized for a given level of risk, i.e., a constraint on the variance. This reflects the idea of diversification in investment and risk aversion. Pos- teriorly, Cover explored these concepts in the context of information theory arXiv:1811.07237v2 [q-fin.ST] 23 Oct 2019 [3–6]. Particularly, Kelly introduced the concept of log-optimal portfolio [7]. An asymptotic equipartition property for the stock market as well as the asymptotic optimality of log-optimal investment was derived by Algoet and Cover [8]. Still in this context of quantitative finance, the Cover’s portfolio was defined in reference [9]. It is important to highlight two seminal references in the applications of information theory in finance [10, 11]. In [10] Theil and Leenders analyzed
Preprint∗ submitted to Physica A October 24, 2019 * Corresponding author Email address: [email protected] (Sergio Floquet) data on the Amsterdam Stock Exchange in the period November 2, 1959, through October 31, 1963, concluding that the Amsterdam Stock Exchange has a memory of one day declining in price, advancing or remaining un- changed. The relative entropy was used as a measure of inaccuracy for the forecasts. Fama [11], in turn, applied the Theil-Leenders tests in data from the New York Exchange for the period June 2, 1952, to October 29, 1962, conducting that the proportions of securities declining or advancing today on the New York Stock Exchange are not auspicious in predicting proportions declining or advancing tomorrow. A relevant risk measure in portfolio optimization is the entropic value- at-risk (EVarR), introduced by Ahmadi-Javid [12, 13]. In addition to being coherent (i.e., it satisfies the properties translation invariance, subadditivity, monotonicity, positive homogeneity), it is strongly monotone and strictly monotone. Recently, a promising sample-based portfolio optimization has been proposed [14]. An interesting approach is that EVaR approach out- performs CVaR (Conditional Value-at-Risk) approach as the sample size increases. This is because the number of variables and constraints of the EVaR is independent of the sample size. In addition, under a analysis of real have better best mean and worst return rates and Sharpe ratios compared with the previous one. An investigation about performance hypothesis tes- ting through the Sharpe ratio was conducted by Memmel [15]. It has been shown that we can use as test statistic the Sharpe ratio difference divided by its asymptotic standard deviation. Aifan Ling et al. [16] developed a robust multi-period mean-LPM (lower partial moment) portfolio selection model considering transaction cost under an asymmetric uncertainty set. This model provides better returns an Shape ratios when real market data are analyzed. A recent approach for the field of quantitative finance and economics, called econophysics [17], lies in the use tools derived from statistical physics [18]. Relations between physics and economics are long standing. The gra- vity model of international trade, for example, mimics the law of gravitation and it was proposed in 1954, by Walter Isard [19]. In the econophysics frame- work associated to information theory, some works [20, 21] were developed exploring the complexity-entropy causality plane. In the reference [20], appli- cations to distinguish the stage of the development of the stock market are conducted and in [21] the efficiency of sovereign bond markets is investigated through complexity-entropy causality plane revealing correlations and hidden structures in the daily values of bond indices. Zunino et al. [22] analyzed the
2 time-varying informational efficiency of European corporate bond markets as well as the impact of the 2008 financial crises on setorial indices related to the aforementioned titles. An interesting result is that before the crisis, all sectors present similar efficient behaviors. In the post-crisis each sector follow its own dynamic. Another techniques emerge from non-extensive statistical mechanics [23, 24] proposed by Tsallis in 1988 [25], as a generalization of Boltzmann-Gibbs statistics. The Tsallis entropy carries a non-extensive parameter q such that in the limit q → 1 the Boltzmann-Gibbs entropy is recovered. The maxi- mization of the Tsallis entropy under appropriate constraints leads to the distribution of Tsallis q-Gaussian [23, 24, 26]. It has been widely used in the study of complex systems [23, 24], including the stock market. The q-Gaussians allow a consistent way of describing high-frequency fi- nancial observations due to finite variance and temporal autocorrelations [27]. Option pricing formulas based on Tsallis statistics were derived by Bor- land [28]. As highlighted in [27], one advantage is the existence of explicit closed-form solutions. The generalized Black-Sholes (B-S) equation was ob- tained with entropic index q. This model fits, for q = 1.5, stock returns more realistically than B-S standard (q = 1). The probability distribution of stock returns is non-Gaussian [29, 30]. On the other hand, the modern portfolio theory assumes that returns follow a Gaussian distribution, which results in a less realistic scenario. In order to overcome these limitations, in this paper, we merge Cover’s approach from information theory to the mathematical tools of Tsallis statistics. In section 2 we present the Nonextensive Statistics and some of yours results that will be using in section3 to formulate the nonextensive version of the Cover’s portfolio using the q-deformed functions and the q-product as key elements. In addition, an asymptotic study is carried out to substantiate the work. In section4 we will apply the above for-mentioned formalism for the analysis of a small number of stocks in brazilian stock market and comparing the results with Cover’s portfolio describe by a Gaussian distribution, besides calculating the Sharpe Ratio and Sortino Ratio. Finally, we present the final considerations and perspectives in section5.
3 2. Nonextensive Statistics Tsallis entropy [25] is a generalization of the Boltzmann-Gibbs en- tropy. It is given by n X q 1 − pi S = k i=1 , (1) q B 1 − q n X with pi = 1, where for two systems independent A and B we have the i=1 propriety
Sq(A + B) = Sq(A) + Sq(B) + (1 − q)Sq(A)Sq(B). (2) The parameter q represents the nonextensive of the systems, when for q = 1 we recover the Boltzmann-Gibbs entropy, for q < 1 we obtain the superexten- sivity (additivity of the entropy) and for q > 1 we obtain the subextensivity (decrease of the entropy). Tsallis introduced the function q-logarithm and q-exponential x1−q − 1 1 ln (x) = , exp (x) = [1 + (1 − q)x] 1−q (3) q 1 − q q + with [A]+ := max(0,A), that for q = 1 we recover the logarithm and expo- Pn q nential functions, and allow write Tsallis entropy as Sq = − i=1 pi lnq pi. Another important operation between the functions is the q-product, ⊗q, that is defined by [31]
1 1−q 1−q 1−q x ⊗q y := [x + y − 1]+ . (4) The q-Gaussian function can be introduced as 1 (x − µ)2 fq(x) = expq − 2 (5) Cq|σ| σ where Cq is the normalization constant given by
√ 1 2 πΓ( 1−q ) √ −∞ < q < 1 (3−q) 1−qΓ( 3−q ) √ 2(1−q) Cq = π, q = 1 (6) √ πΓ 3−q ( 2(q−1) ) √ 1 , 1 < q < 3, q−1Γ( 1−q )
4 2 which has an asymptotic (x 1) power law behavior given by expq(x ) ∼ 2 x 1−q . In a similar way we have the multivariate q-Gaussian distribution
2 2 (x1 − µ1) (xd − µd) fq(x) = Cd,q expq 2 + ··· + 2 , (7) σ1 σd where σi and µi are parameters to be determined and the normalizing cons- 1 tant is given by Cd,q = where wd is the surface area of the unit |σ1 ··· σd|wdIq,d d +∞ 2 Z d 2π d−1 −r2 sphere in R dimensional space, with wd = d , and Iq,d = r eq . Γ( 2 ) 0 Umarov and Tsallis [32] obtained a formula for compute the normalizing constant
1 d−1 d−2 2 3−q1 2 3−q2 2 3−qd−1 2 2 ... 2 C = , (8) d,q q −1 q1 −1 qd−1 −1 (Cq ) (Cq1 ) ...(Cqd−1 ) with 2q + n(1 − q) q = , n = 0 ± 1, ±2, ... (9) n 2 + n(1 − q) where Cq is the normalizing constant of one-dimensional q-Gaussian. As pointed out in many papers [27, 33–35] the stock market data express a fat tail behavior and a power law for the cumulative return distribution in the asymptotic case (x 1) [36–38] what makes the q-Gaussian distribution attractive to describe stock market data. In cases [33, 39–41] an inverse cubic power law for cumulative distribution was obtained and it is related to q-Gaussian distribution with q = 1.5.
3. Cover’s q-Portfolio
The stock market is given by a vector X = (X1,X2, ..., Xn), where Xi is the relative price, i.e. the ratio of the price at the end of the day to the price at the beginning of the day. We have that Xi ≥ 0, i = 1, ..., m where m is the number of stocks. In this work we apply the Tsallis statistic formalism in the Cover’s portfolio theory, where the parameter q is responsible by take account
5 the nonextensivity of stock market. Following Cover [9] we introduced the growth q-rate of a stock market portfolio b:
t Wq(b, f) = E(lnq b x) Z t = lnq(b x)fq(x)dx. (10)
∗ We define the optimal growth q-rate Wq (fq) as ∗ Wq (f) = max Wq(b, fq). (11) b ∗ The growth optimal portfolio b is one that achieves the maximum of Wq(b, fq). Let X1, X2, ..., Xn be random vectors i.i.d with density probability function ∗ fq. The q-wealth after n days using the portfolio b is given by
n ∗(q) O ∗t Sn = b Xi, (12) (q);i=1 where the q-product ⊗q is defined in (4). Using the strong law of large numbers [42], we have
n 1 1 O ln S∗(q) = ln b∗tX n q n n q i (q);i=1 n 1 X = ln b∗tX → W ∗ a.s., (13) n q i q i=1
∗(q) ∗ so that Sn = expq(nWq ). This justifies our definition of q-wealth analo- gously to reference [3]. Now, we will consider the following assumption:
(q) ! Sn E ∗(q) ≤ 1, (14) Sn in order to show the asymptotic optimality of the lnq-optimal portfolio for the causal portfolios. The causal portfolio strategy is a sequence of mappings m(i−1) bi : T → B, where the portfolio bi(X1, X2, ..., Xi−1) is used on day i. m Pm We define B = {b ∈ R : bi ≥ 0, i=1 bi = 1} as the set of allowed portfolios. Using the Markov inequality [42], we have from (14):
(q) ∗(q) −1 P (Sn > λnSn ) ≤ λn . (15)
6 Therefore
(q) ! 1 Sn lnq λn −1 P lnq ∗(q) > ≤ λn . (16) n Sn n
Consequently
∞ (q) 2−2q ! 2 X 1 Sn n − 1 π P ln > ≤ , (17) n q ∗(q) n(1 − q) 6 n=1 Sn
2 where we consider λn = n . Then
(q) 2−2q ! 1 Sn n − 1 P lnq ∗(q) > , infinitely often = 0 (18) n Sn n(1 − q) using the Borel-Cantelli lemma [42]. Thus, there exists an N such that for all n > N: (q) 2−2q 1 Sn n − 1 lnq ∗(q) ≤ , (19) n Sn n(1 − q) for almost every sequence from the stock market. This implies (for q > 0.5) with probability 1: (q) 1 Sn lim sup lnq ∗(q) ≤ 0. (20) n→∞ n Sn ∗(q) We have that for almost every sequence from stock market, Sn is greater than the wealth of any investor, i. e., the lnq-optimal portfolio is better than any other portfolio under the assumptions aforementioned. We can also show that
n (q) O t max E lnq Sn = max E lnq biXi ,..., ,..., b1 bn b1 bn (q);i=1 n X t = max E lnq bi(X1, ..., Xi) i=1 b1,...,bn n X ∗t = E lnq b Xi i=1 ∗ = nWq . (21)
7 Consequently,