
Volatility, a pivotal factor in the financial stock market, encapsulates the dynamic nature of asset prices and reflects both instability and risk. A volatility quantitative investment strategy is a methodology that utilizes information about volatility to guide investors in trading and profit-making. With the goal of enhancing the effectiveness and robustness of investment strategies, our methodology involved three prominent time series models with six machine learning models: K-nearest neighbors, AdaBoost, CatBoost, LightGBM, XGBoost, and random forest, which meticulously captured the intricate patterns within historical volatility data. These models synergistically combined to create eighteen novel fusion models to predict volatility with precision. By integrating the forecasting results with quantitative investing principles, we constructed a new strategy that achieved better returns in twelve selected American financial stocks. For investors navigating the real stock market, our findings serve as a valuable reference, potentially securing an average annualized return of approximately 5 to 10% for the American financial stocks under scrutiny in our research.
Citation: Keyue Yan, Ying Li. Machine learning-based analysis of volatility quantitative investment strategies for American financial stocks[J]. Quantitative Finance and Economics, 2024, 8(2): 364-386. doi: 10.3934/QFE.2024014
[1] | Sung Woo Choi . Explicit characteristic equations for integral operators arising from well-posed boundary value problems of finite beam deflection on elastic foundation. AIMS Mathematics, 2021, 6(10): 10652-10678. doi: 10.3934/math.2021619 |
[2] | Moh. Alakhrass . A note on positive partial transpose blocks. AIMS Mathematics, 2023, 8(10): 23747-23755. doi: 10.3934/math.20231208 |
[3] | Xinfeng Liang, Mengya Zhang . Triangular algebras with nonlinear higher Lie n-derivation by local actions. AIMS Mathematics, 2024, 9(2): 2549-2583. doi: 10.3934/math.2024126 |
[4] | Cui-Xia Li, Long-Quan Yong . Modified BAS iteration method for absolute value equation. AIMS Mathematics, 2022, 7(1): 606-616. doi: 10.3934/math.2022038 |
[5] | Sara Smail, Chafika Belabbaci . A characterization of Wolf and Schechter essential pseudospectra. AIMS Mathematics, 2024, 9(7): 17146-17153. doi: 10.3934/math.2024832 |
[6] | Yuna Zhao . Construction of blocked designs with multi block variables. AIMS Mathematics, 2021, 6(6): 6293-6308. doi: 10.3934/math.2021369 |
[7] | Wen-Ning Sun, Mei Qin . On maximum residual block Kaczmarz method for solving large consistent linear systems. AIMS Mathematics, 2024, 9(12): 33843-33860. doi: 10.3934/math.20241614 |
[8] | Shakir Ali, Amal S. Alali, Atif Ahmad Khan, Indah Emilia Wijayanti, Kok Bin Wong . XOR count and block circulant MDS matrices over finite commutative rings. AIMS Mathematics, 2024, 9(11): 30529-30547. doi: 10.3934/math.20241474 |
[9] | James Daniel, Kayode Ayinde, Adewale F. Lukman, Olayan Albalawi, Jeza Allohibi, Abdulmajeed Atiah Alharbi . Optimised block bootstrap: an efficient variant of circular block bootstrap method with application to South African economic time series data. AIMS Mathematics, 2024, 9(11): 30781-30815. doi: 10.3934/math.20241487 |
[10] | Ziqiang Wang, Qin Liu, Junying Cao . A higher-order numerical scheme for system of two-dimensional nonlinear fractional Volterra integral equations with uniform accuracy. AIMS Mathematics, 2023, 8(6): 13096-13122. doi: 10.3934/math.2023661 |
Volatility, a pivotal factor in the financial stock market, encapsulates the dynamic nature of asset prices and reflects both instability and risk. A volatility quantitative investment strategy is a methodology that utilizes information about volatility to guide investors in trading and profit-making. With the goal of enhancing the effectiveness and robustness of investment strategies, our methodology involved three prominent time series models with six machine learning models: K-nearest neighbors, AdaBoost, CatBoost, LightGBM, XGBoost, and random forest, which meticulously captured the intricate patterns within historical volatility data. These models synergistically combined to create eighteen novel fusion models to predict volatility with precision. By integrating the forecasting results with quantitative investing principles, we constructed a new strategy that achieved better returns in twelve selected American financial stocks. For investors navigating the real stock market, our findings serve as a valuable reference, potentially securing an average annualized return of approximately 5 to 10% for the American financial stocks under scrutiny in our research.
A problem that occurs frequently in a variety of mathematical contexts, is to find the common invariant subspaces of a single matrix or set of matrices. In the case of a single endomorphism or matrix, it is relatively easy to find all the invariant subspaces by using the Jordan normal form. Also, some theoretical results are given only for the invariant subspaces of two matrices. However, when there are more than two matrices, the problem becomes much harder, and unexpected invariant subspaces may occur. No systematic method is known. In a recent article [1], we have provided a new algorithms to determine common invariant subspaces of a single matrix or of a set of matrices systematically.
In the present article we consider a more general version of this problem, that is, providing two algorithms for simultaneous block triangularization and block diagonalization of sets of matrices. One of the main steps in the first two proposed algorithms, consists of finding the common invariant subspaces of matrices using the new method proposed in the recent article [1]. It is worth mentioning that an efficient algorithm to explicitly compute a transfer matrix which realizes the simultaneous block diagonalization of unitary matrices whose decomposition in irreducible blocks (common invariant subspaces) is known from elsewhere is given in [2]. An application of simultaneous block-diagonalization of normal matrices in quantum theory is presented in [3].
In this article we shall be concerned with finite dimensions only. Of course the fact that a single complex matrix can always be put into triangular form follows readily from the Jordan normal form theorem [4]. For a set of matrices, Jacobson in [5] introduced the notion of a composition series for a collection of matrices. The idea of a composition series for a group is quite familiar. The Jordan-Hölder Theorem [4] states that any two composition series of the same group have the same length and the same composition factors (up to permutation). Jacobson in [5] characterized the simultaneous block triangularization of a set of matrices by the existence of a chain {0}=V0⊂V1⊂...⊂Vt=Cn of invariant subspaces with dimension dim(Vi/Vi−1)=ni. Therefore, in the context of a collection of matrices Ω={Ai}Ni=1, the idea is to locate a common invariant subspace V of minimal dimension d of a set of matrices Ω. Assume V is generated by the (linearly independent) set B1={u1,u2,...,ud}, and let B={u1,u2,...,ud,ud+1,ud+2,...,un} be a basis of Cn containing B1. Upon setting S=(u1,u2,...,ud,ud+1,ud+2,...,un), S−1AiS has the block triangular form
S−1AiS=(Bi1,1Bi1,20Bi2,2), |
for i=1,...,n. Thereafter, one may define a quotient of the ambient vector space, and each of the matrices in the given collection will pass to this quotient. As such, one defines
Ti=Bi2,2=(0(n−d)×dIn−d)S−1AiS(0d×(n−d)In−d). |
Then one may begin again the process of looking for a common invariant subspace of minimal dimension of a set of matrices {Ti}Ni=1 and iterate the procedure. Since all spaces and matrices are of finite dimension, the procedure must terminate at some point. Again, any two such composition series will be isomorphic. When the various quotients and submatrices are lifted back to the original vector space, one obtains precisely the block-triangular form for the original set of matrices. It is important to find a composition series in the construction in order to make the set of matrices as "block-triangular as possible."
Dubi [6] gave an algorithmic approach to simultaneous triangularization of a set of matrices based on the idea of Jacobson in [5]. In the case of simultaneous triangularization, it can be understood as the existence of a chain {0}=V0⊂V1⊂...⊂Vt=Cn of invariant subspaces with dimension dim(Vi)=i. We generalize his study to cover simultaneous block triangularization of a set of matrices. The generalized algorithm depends on the novel algorithm for constructing invariant subspaces of a set of matrices given in the recent article [1].
Specht [7] (see also [8]) proved that if the associative algebra L generated by a set of matrices Ω over C satisfies L=L∗, then Ω admits simultaneous block triangularization if and only if it admits simultaneous block diagonalization, in both cases via a unitary matrix. Following a result of Specht, we prove that a set of matrices Ω admits simultaneous block diagonalization if and only if the set Γ=Ω∪Ω∗ admits simultaneous block triangularization. Finally, an algorithmic approach to simultaneous block diagonalization of a set of matrices based on this fact is proposed.
The latter part of this paper presents an alternate approach for simultaneous block diagonalization of a set of n×n matrices {As}Ns=1 by an invertible matrix that does not require finding the common invariant subspaces. Maehara et al. [9] introduced an algorithm for simultaneous block diagonalization of a set of matrices by a unitary matrix based on the existence of a Hermitian commuting matrix. Here, we extend their algorithm to simultaneous block diagonalization of a set of matrices by an invertible matrix based on the existence of a commuting matrix which is not necessarily Hermitian. For example, consider the set of matrices Ω={Ai}2i=1 where
A1=(100220111),A2=(000210010). | (1.1) |
The only Hermitian matrix commuting with the set Ω is the identity matrix. Therefore, we cannot apply the proposed algorithm given in [9]. However, one can verify that the following non Hermitian matrix C commutes with all the matrices {Ai}2i=1
C=(000210010). | (1.2) |
The matrix C has distinct eigenvalues λ1=0,λ2=1 with algebraic multiplicities n1=2,n2=1, respectively. Moreover, the matrix C is not diagonalizable. Therefore, we cannot construct the eigenvalue decomposition for the matrix C. However, one can decompose the matrix C by its generalized eigen vectors as follows:
S−1CS=(010000001)=(0100)⊕(1), | (1.3) |
where
S=(0−120011101). | (1.4) |
Initially, it is noted that the matrices {Ai}2i=1 can be decomposed into two diagonal blocks by the constructed invertible matrix S where
S−1A1S=(11201)⊕(2),S−1A2S=(0100)⊕(1). | (1.5) |
Then, a new algorithm is developed for simultaneous block diagonalization by an invertible matrix based on the generalized eigenvectors of a commuting matrix. Moreover, a new characterization is presented by proving that the existence of a commuting matrix that possesses at least two distinct eigenvalues is the necessary and sufficient condition to guarantee the simultaneous block diagonalization by an invertible matrix.
An outline of the paper is as follows. In Section 2 we review several definitions pertaining to block-triangular and block-diagonal matrices and state several elementary consequences that follow from them. In Section 3, following a result of Specht [7] (see also [8]), we provide conditions for putting a set of matrices into block-diagonal form simultaneously. Furthermore, we apply the theoretical results to provide two algorithms that enable a collection of matrices to be put into block-triangular form or block-diagonal form simultaneously by a unitary matrix based on the existence of invariant subspaces. In Section 4, a new characterization is presented by proving that the existence of a commuting matrix that possesses at least two distinct eigenvalues is the necessary and sufficient condition to guarantee the simultaneous block diagonalization by an invertible matrix. Furthermore, we apply the theoretical results to provide an algorithm that enables a collection of matrices to be put into block-diagonal form simultaneously by an invertible matrix based on the existence of a commuting matrix. Sections 3 and 4 also provide concrete examples using the symbolic manipulation system Maple.
Let Ω be a set of n×n matrices over an algebraically closed field F, and let L denote the algebra generated by Ω over F. Similarly, let Ω∗ be the set of the conjugate transpose of each matrix in Ω and L∗ denote the algebra generated by Ω∗ over F.
Definition 2.1. An n×n matrix A is given the notation BT(n1,...,nt) provided A is block upper triangular with t square blocks on the diagonal, of sizes n1,...,nt, where t≥2 and n1+...+nt=n. That is, a block upper triangular matrix A has the form
A=(A1,1A1,2⋯A1,t0A2,2⋯A2,t⋮⋮⋱⋮00⋯At,t) | (2.1) |
where Ai,j is a square matrix for all i=1,...,t and j=i,...,t.
Definition 2.2. A set of n×n matrices Ω is BT(n1,...,nt) if all of the matrices in Ω are BT(n1,...,nt).
Remark 2.3. A set of n×n matrices Ω admits a simultaneous triangularization if it is BT(n1,...,nt) with ni=1 for i=1,...,t.
Remark 2.4. A set of n×n matrices Ω is BT(n1,...,nt) if and only if the algebra L generated by Ω is BT(n1,...,nt).
Proposition 2.5. [7] (see also [8]) Let Ω be a nonempty set of complex n×n matrices. Then, there is a nonsingular matrix S such that SΩS−1 is BT(n1,...,nt) if and only if there is a unitary matrix U such that UΩU∗ is BT(n1,...,nt).
Theorem 2.6. [5,Chapter Ⅳ] Let Ω be a nonempty set of complex n×n matrices. Then, there is a unitary matrix U such that UΩU∗ is BT(n1,...,nt) if and only if the set Ω has a chain {0}=V0⊂V1⊂...⊂Vt=Cn of invariant subspaces with dimension dim(Vi/Vi−1)=ni.
Definition 2.7. An n×n matrix A is given the notation BD(n1,...,nt) provided A is block diagonal with t square blocks on the diagonal, of sizes n1,...,nt, where t≥2, n1+...+nt=n, and the blocks off the diagonal are the zero matrices. That is, a block diagonal matrix A has the form
A=(A10⋯00A2⋯0⋮⋮⋱⋮00⋯At) | (2.2) |
where Ak is a square matrix for all k=1,...,t. In other words, matrix A is the direct sum of A1,...,At. It can also be indicated as A1⊕A2⊕...⊕At.
Definition 2.8. A set of n×n matrices Ω is BD(n1,...,nt) if all of the matrices in Ω are BD(n1,...,nt).
Remark 2.9. A set of n×n matrices Ω admits a simultaneous diagonalization if it is BD(n1,...,nt) with ni=1 for i=1,...,t.
Remark 2.10. A set of n×n matrices Ω is BD(n1,...,nt) if and only if the algebra L generated by Ω is BD(n1,...,nt).
Proposition 2.11. [7] (see also [8]) Let Ω be a nonempty set of complex n×n matrices and let L be the algebra generated by Ω over C. Suppose L=L∗. Then, there is a nonsingular matrix S such that SLS−1 is BT(n1,...,nt) if and only if there is a unitary matrix U such that ULU∗ is BD(n1,...,nt).
Dubi [6] gave an algorithmic approach to simultaneous triangularization of a set of n×n matrices. In this section, we will generalize his study to cover simultaneous block triangularization and simultaneous block diagonalization of a set of n×n matrices. The generalized algorithms depend on the novel algorithm for constructing invariant subspaces of a set of matrices given in the recent article [1] and Theorem 3.3.
Lemma 3.1. Let Ω be a nonempty set of complex n×n matrices, Ω∗ be the set of the conjugate transpose of each matrix in Ω and L be the algebra generated by Γ=Ω∪Ω∗. Then, L=L∗.
Proof. Let A be a matrix in L. Then, A=P(B1,...,Bm) for some multivariate noncommutative polynomial P(x1,...,xm) and matrices {Bi}mi=1∈Γ. Therefore, A∗=P∗(B1,...,Bm)=Q(B∗1,...,B∗m) for some multivariate noncommutative polynomial Q(x1,...,xm) where the matrices {B∗i}mi=1∈Γ∗=Γ. Hence, the matrix A∗∈L
Lemma 3.2. Let Ω be a nonempty set of complex n×n matrices and Ω∗ be the set of the conjugate transpose of each matrix in Ω, and Γ=Ω∪Ω∗. Then, there is a unitary matrix U such that UΓU∗ is BD(n1,...,nt) if and only if there is a unitary matrix U such that UΩU∗ is BD(n1,...,nt).
Proof. Assume that there exists a unitary matrix U such that UΩU∗ is BD(n1,...,nt). Then, (UΩU∗)∗=UΩ∗U∗ is BD(n1,...,nt). Hence, UΓU∗ is BD(n1,...,nt).
Theorem 3.3. Let Ω be a nonempty set of complex n×n matrices and Ω∗ be the set of the conjugate transpose of each matrix in Ω, and Γ=Ω∪Ω∗. Then, there is a unitary matrix U such that UΩU∗ is BD(n1,...,nt) if and only if there is a unitary matrix U such that UΓU∗ is BT(n1,...,nt).
Proof. Let L be the algebra generated by Γ. Then, L=L∗ using Lemma 3.1. Now, by applying Proposition 2.11 and Lemma 3.2, the following statements are equivalent :
There is a unitary matrix U such that UΓU∗ is BT(n1,...,nt).
⟺ There is a unitary matrix U such that ULU∗ is BT(n1,...,nt).
⟺ There is a unitary matrix U such that ULU∗ is BD(n1,...,nt).
⟺ There is a unitary matrix U such that UΓU∗ is BD(n1,...,nt).
⟺ There is a unitary matrix U such that UΩU∗ is BD(n1,...,nt).
(1) Input: the set Ω={Ai}Ni=1.
(2) Set k=0,B=ϕ,s=n,Ti=Ai,S2=I.
(3) Search for a d-dimensional invariant subspace V=⟨v1,v2,...,vd⟩ of a set of matrices {Ti}Ni=1 starting from d=1 up to d=s−1. If one does not exist and k=0, abort and print "no simultaneous block triangularization". Else, if one does not exist and k≠0, go to step (8). Else, go to next step.
(4) Set Vk+1=(S2v1S2v2...S2vd),B=B∪{S2v1,S2v2,...,S2vd},S1=(V1V2...Vk+1).
(5) Find a basis {u1,u2,...,ul} for the orthogonal complement of B.
(6) Set S2=(u1u2...ul),S=(S1S2), and
Ti=(0(s−d)×dIs−d)S−1AiS(0d×(s−d)Is−d).
(7) Set k=k+1,s=s−d, and return to step (3).
(8) Compute the QR decomposition of the invertible matrix S, by means of the Gram–Schmidt process, to convert it to a unitary matrix Q.
(9) Output: a unitary matrix U as the conjugate transpose of the resulting matrix Q.
Remark 3.4. If one uses any non-orthogonal complement in step 5 of Algorithm A, then the matrix S is invertible such that S−1ΩS is BT(n1,...,nt). However, in such a case, one cannot guarantee that UΩU∗ is BT(n1,...,nt).
Example 3.5. The set of matrices Ω={Ai}2i=1 admits simultaneous block triangularization where
A1=(321011050000014012131113020025010006),A2=(44124−484036000−1012320444168524404−102880400040). | (3.1) |
Applying Algorithm A to the set Ω can be summarized as follows:
● Input: Ω.
● Initiation step:
We have k=0,B=ϕ,s=6,T1=A1,T2=A2,S2=I.
● In the first iteration:
We found two-dimensional invariant subspace V=⟨e1,e4⟩ of a set of matrices {Ti}2i=1. Therefore, B={e1,e4},S1=(e1,e4),S2=(e2,e3,e5,e6),
T1=(5000141220251006),T2=(3600−11232444−128840040), | (3.2) |
k=1, and s=4.
● In the second iteration: We found two-dimensional invariant subspace V=⟨e2,e3⟩ of a set of matrices {Ti}2i=1. Therefore, B={e1,e4,e3,e5},S1=(e1,e4,e3,e5),S2=(e2,e6),
T1=(5016),T2=(36−1440), | (3.3) |
k=2, and s=2.
● In the third iteration: There is no one-dimensional invariant subspace of a set of matrices {Ti}2i=1. Therefore, S=(e1e4e3e5e2e6), and the corresponding unitary matrix is
U=(100000000100001000000010010000000001) |
such that the set UΩU∗={UAiU∗}2i=1 is BT(2,2,2) where
UA1U∗=(301121111133004112000225000050000016),UA2U∗=(44−448124452841640032412400−12848000036−10000440). | (3.4) |
(1) Input: the set Ω={Ai}Ni=1.
(2) Construct the set Γ=Ω∪Ω∗.
(3) Find a unitary matrix U such that UΓU∗ is BT(n1,...,nt) using Algorithm A.
(4) Output: a unitary matrix U.
Remark 3.6. Algorithm B provides the finest block-diagonalization. Moreover, the number of the blocks equals the number the of the invariant subspaces, and the size of each block is ni×ni, where ni is the dimension of the invariant subspace.
Example 3.7. The set of matrices Ω={Ai}2i=1 admits simultaneous block diagonalization where
A1=(3000000020000000200000001000000010000000100000003),A2=(0000000000000001000000000000000000000010001000000). | (3.5) |
Applying Algorithm B to the set Ω can be summarized as follows:
● Input: Γ=Ω∪Ω∗.
● Initiation step:
We have k=0,B=ϕ,s=7,T1=A1,T2=A2,T3=AT2,S2=I.
● In the first iteration:
We found one-dimensional invariant subspace V=⟨e5⟩ of a set of matrices {Ti}3i=1. Therefore, B={e5},S1=(e5),S2=(e1,e2,e3,e4,e6,e7),
T1=(300000020000002000000100000010000003),T2=(000000000000010000000000000100100000),T3=TT2, | (3.6) |
k=1, and s=6.
● In the second iteration: We found two-dimensional invariant subspace V=⟨e4,e5⟩ of a set of matrices {Ti}3i=1. Therefore, B={e5,e4,e6},S1=(e5e4e6),S2=(e1,e2,e3,e7),
T1=(3000020000200003),T2=(0000000001001000),T3=TT2, | (3.7) |
k=2, and s=4.
● In the third iteration: We found two-dimensional invariant subspace V=⟨e2,e3⟩ of a set of matrices {Ti}3i=1. Therefore, B={e5,e4,e6,e2,e3},S1=(e5e4e6e2e3),S2=(e1,e7),
T1=(3003),T2=(0010),T3=(0100), | (3.8) |
k=3, and s=2.
● In the fourth iteration: There is no one-dimensional invariant subspace of a set of matrices {Ti}3i=1. Therefore, S=(e5e4e6e2e3e1e7), and the corresponding unitary matrix is
U=(0000100000100000000100100000001000010000000000001) |
such that the set UΩU∗={UAiU∗}2i=1 is BD(1,2,2,2) where
UA1U∗=(1)⊕(1001)⊕(2002)⊕(3003),UA2U∗=(0)⊕(0010)⊕(0010)⊕(0010). | (3.9) |
Example 3.8. The set of matrices Ω={Ai}2i=1 admits simultaneous block diagonalization where
A1=(3000000020000000200000001000000010000000100000003),A2=(0000000000100001000000000000000010000001001000000). | (3.10) |
Similarly, applying Algorithm B to the set Ω provides the matrix S=(e6e5e7e1e3e2e4). Therefore, the corresponding unitary matrix is
U=(0000010000010000000011000000001000001000000001000) |
such that the set UΩU∗={UAiU∗}2i=1 is BD(2,2,3) where
UA1U∗=(1001)⊕(3003)⊕(200020001),UA2U∗=(0101)⊕(0100)⊕(010001000). | (3.11) |
Example 3.9. The set of matrices Ω={Ai}3i=1 admits simultaneous block diagonalization where
A1=(000000000020000000001000000000−20000000000000000000−1000000000−100000000010000000000),A2=(000100000−100010000000001000000000000000−100000000000000000000000000000−100000000000),A3=(0−100000000000000000000000001000−100000100000000010000000000000−10000000000000000000). | (3.12) |
Similarly, applying Algorithm B to the set Ω provides the matrix S=(e1+e5e9e3e6e8−e7e1−e5,e2e4). Therefore, the corresponding unitary matrix is
U=(12√200012√20000000000001001000000000001000000000010000000−10012√2000−12√20000010000000000100000) |
such that the set UΩU∗={UAiU∗}3i=1 is BD(1,1,2,2,3) where
UA1U∗=(0)⊕(0)⊕(100−1)⊕(100−1)⊕(00002000−2),UA2U∗=(0)⊕(0)⊕(0100)⊕(0100)⊕(00√2−√200000),UA3U∗=(0)⊕(0)⊕(0010)⊕(0010)⊕(0−√20000√200). | (3.13) |
This section focuses on an alternate approach for simultaneous block diagonalization of a set of n×n matrices {As}Ns=1 by an invertible matrix that does not require finding the common invariant subspaces as Algorithm B given in the previous section. Maehara et al. [9] introduced an algorithm for simultaneous block diagonalization of a set of matrices by a unitary matrix based on the eigenvalue decomposition of a Hermitian commuting matrix. Here, we extend their algorithm to be applicable for a non-Hermitian commuting matrix by considering its generalized eigen vectors. Moreover, a new characterization is presented by proving that the existence of a commuting matrix that possesses at least two distinct eigenvalues is the necessary and sufficient condition to guarantee the simultaneous block diagonalization by an invertible matrix.
Proposition 4.1. Let V be a vector space, and let T:V→V be a linear operator. Let λ1,...,λk be distinct eigenvalues of T. Then, each generalized eigenspace Gλi(T) is T-invariant, and we have the direct sum decomposition
V=Gλ1(T)⊕Gλ2(T)⊕...⊕Gλk(T). |
Lemma 4.2. Let V be a vector space, and let T:V→V, L:V→V be linear commuting operators. Let λ1,...,λk be distinct eigenvalues of T. Then, each generalized eigenspace Gλi(T) is L-invariant.
Proof. Let V be a vector space and λ1,...,λk be distinct eigenvalues of T with the minimal polynomial μ(x)=(x−λ1)n1(x−λ2)n2...(x−λk)nk. Then, we have the direct sum decomposition V=Gλ1(T)⊕Gλ2(T)⊕...⊕Gλk(T).
For each i=1,..,k, let x∈Gλi(T), and then (T−λiI)nix=0. Then, (T−λiI)niLx=L(T−λiI)nix=0. Hence, Lx∈Gλi(T).
Theorem 4.3. Let {As}Ns=1 be a set of n×n matrices. Then, the set {As}Ns=1 admits simultaneous block diagonalization by an invertible matrix S if and only if the set {As}Ns=1 commutes with a matrix C that possesses two distinct eigenvalues.
Proof. ⇒ Assume that the set {As}Ns=1 admits simultaneous block diagonalization by the an invertible matrix S such that
S−1AsS=Bs,1⊕Bs,2⊕...⊕Bs,k, |
where the number of blocks k≥2, and the matrices Bs,1,Bs,2,...,Bs,k have sizes n1×n1,n2×n2,...,nk×nk, respectively, for all s=1,..,N.
Now, define the matrix C as
C=S(λ1In1×n1⊕λ2In2×n2⊕...⊕λkInk×nk)S−1, |
where λ1,λ2,...,λk are any distinct numbers.
Clearly, the matrix C commutes with the set {As}Ns=1. Moreover, it has the distinct eigenvalues λ1,λ2,...,λk.
⇐ Assume that the set {As}Ns=1 commutes with a matrix C that posseses distinct eigenvalues λ1,λ2,...,λk.
Using Proposition 4.1, one can use the generalized eigenspace Gλi(C) of the matrix C associated to these distinct eigenvalues to decompose the matrix C as a direct sum of k matrices. This can be achieved by restricting the matrix C on the invariant subspaces Gλi(C) as follows:
S−1CS=[C]Gλ1(C)⊕[C]Gλ2(C)⊕...⊕[C]Gλk(C) |
where
S=(Gλ1(C),Gλ2(C),...,Gλk(C)). |
Using Lemma 4.2, one can restrict each matrix As on the invariant subspaces Gλi(C) to decompose the matrix As as a direct sum of k matrices as follows:
S−1AsS=[As]Gλ1(C)⊕[As]Gλ2(C)⊕...⊕[As]Gλk(C). |
Remark 4.4. For a given set of n×n matrices {As}Ns=1, if the set {As}Ns=1 commutes only with the matrices having only one eigenvalue, then it does not admit a simultaneous block diagonalization by an invertible matrix.
Algorithm C:
(1) Input: the set Ω={As}Ns=1.
(2) Construct the the following matrix:
X=(I⊗A1−AT1⊗II⊗A2−AT2⊗I...I⊗AN−ATN⊗I). |
(3) Compute the null space of the matrix X and reshape the obtained vectors as n×n matrices. These matrices commute with all the matrices {As}Ns=1.
(4) Choose a matrix C from the obtained matrices that possesses two distinct eigenvalues.
(5) Find the distinct eigenvalues λ1,...,λk of the matrix C and the corresponding algebraic multiplicity n1,n2,...,nk.
(6) Find each generalized eigenspace Gλi(C) of the matrix C associated to the eigenvalue λi by computing the null space of (C−λiI)ni.
(7) Construct the invertible matrix S as
S=(Gλ1(C),Gλ2(C),...,Gλk(C)). |
(8) Verify that
S−1AsS=Bs,1⊕Bs,2⊕...⊕Bs,k, |
where the matrices Bs,1,Bs,2,...,Bs,k have sizes n1×n1,n2×n2,...,nk×nk, respectively, for all s=1,..,N.
(9) Output: an invertible matrix S.
Remark 4.5. Algorithm C provides the finest block-diagonalization if one chooses a matrix C with maximum number of distinct eigenvalues. Moreover, the number of the blocks equals the number the of the distinct eigenvalues, and the size of each block is ni×ni, where ni is the algebraic multiplicity of the eigenvalue λi.
Example 4.6. Consider the set of matrices Ω={Ai}6i=1 where
A1=(0000000001000000100−1000000−1000000000),A2=(000−10000000000000110000000000000−1000),A3=(0000−1000000−1000000000000100000010000),A4=(010000−1000000000000000000000010000−10),A5=(001000000000−10000000000−1000000000100),A6=(0000000010000−10000000010000−100000000). | (4.1) |
The set Ω admits simultaneous block diagonalization by an invertible matrix. An invertible matrix can be obtained by applying algorithm C to the set Ω as summarized below:
● A matrix C that commutes with all the matrices {Ai}6i=1 can be obtained as
C=(0000010000−100001000010000−10000100000). | (4.2) |
.
● The distinct eigenvalues of the matrix C are λ1=−1,λ2=1 with algebraic multiplicities n1=3,n2=3, respectively..
● The generalized eigenspaces of the matrix C associated to the distinct eigenvalues are
Gλ1(C)=N(C−λ1I)3=⟨e6−e1,e2+e5,e4−e3⟩,Gλ2(C)=N(C−λ2I)3=⟨e1+e6,e5−e2,e3+e4⟩. | (4.3) |
● The invertible matrix S=(Gλ1(C),Gλ2(C)) is
S=(−1001000100−1000−1001001001010010100100). | (4.4) |
● The set S−1ΩS={S−1AiS}6i=1 contains block diagonal matrices where
S−1A1S=(0000010−10)⊕(00000−1010),S−1A2S=(001000−100)⊕(00−1000100),S−1A3S=(010−100000)⊕(0−10100000),S−1A4S=(0−10100000)⊕(0−10100000),S−1A5S=(001000−100)⊕(001000−100),S−1A6S=(00000−1010)⊕(00000−1010). | (4.5) |
It is well known that a set of non-defective matrices can be simultaneously diagonalized if and only if the matrices commute. In the case of non-commuting matrices, the best that can be achieved is simultaneous block diagonalization. Both Algorithm B and the Maehara et al. [9] algorithm are applicable for simultaneous block diagonalization of a set of matrices by a unitary matrix. Algorithm C can be applied for block diagonalization by an invertible matrix when finding a unitary matrix is not possible. In case block diagonalization of a set of matrices is not possible by a unitary or an invertible matrix, then one may utilize block triangularization by Algorithm A. Algorithms A and B are based on the existence of invariant subspaces; however, Algorithm C is based on the existence of a commuting matrix which is not necessarily Hermitian, unlike the Maehara et al. algorithm.
The authors declare they have not used Artificial Intelligence (AI) tools in the creation of this article.
Ahmad Y. Al-Dweik and M. T. Mustafa would like to thank Qatar University for its support and excellent research facilities. R. Ghanam and G. Thompson are grateful to VCU Qatar and Qatar Foundation for their support.
The authors declare that they have no conflicts of interest.
[1] |
Alsulmi M, Al-Shahrani N (2022) Machine Learning-Based Decision-Making for Stock Trading: Case Study for Automated Trading in Saudi Stock Exchange. Sci Program, 6542862. https://doi.org/10.1155/2022/6542862 doi: 10.1155/2022/6542862
![]() |
[2] | Attanasio G, Cagliero L, Garza P, et al. (2019) Quantitative cryptocurrency trading: exploring the use of machine learning techniques. 5th Workshop on Data Science for Macro-modeling with Financial and Economic Datasets, 1–6. https://doi.org/10.1145/3336499.3338003 |
[3] |
Ayyildiz N, Iskenderoglu O (2024) How effective is machine learning in stock market predictions? Heliyon 10: 1–10. https://doi.org/10.1016/j.heliyon.2024.e24123 doi: 10.1016/j.heliyon.2024.e24123
![]() |
[4] |
Basak S, Kar S, Saha S, et al. (2019) Predicting the direction of stock market prices using tree-based classifiers. N Am J Econ Financ 47: 552–567. https://doi.org/10.1016/j.najef.2018.06.013 doi: 10.1016/j.najef.2018.06.013
![]() |
[5] |
Bezerra PCS, Albuquerque PHM (2017) Volatility forecasting via SVR–GARCH with mixture of Gaussian kernels. Comput Manag Sci 14: 179–196. https://doi.org/10.1007/s10287-016-0267-0 doi: 10.1007/s10287-016-0267-0
![]() |
[6] |
Brooks C, Persand G (2003) Volatility forecasting for risk management. J Forecast 22: 1–22. https://doi.org/10.1002/for.841 doi: 10.1002/for.841
![]() |
[7] |
Diane L, Brijlal P (2024) Forecasting Stock Market Realized Volatility using Random Forest and Artificial Neural Network in South Africa. Int J Econ Financ Iss 14: 5–14. https://doi.org/10.32479/ijefi.15431 doi: 10.32479/ijefi.15431
![]() |
[8] |
Epaphra M (2016) Modeling exchange rate volatility: Application of the GARCH and EGARCH models. J Math Financ 7: 121–143. https://doi.org/10.4236/jmf.2017.71007 doi: 10.4236/jmf.2017.71007
![]() |
[9] |
Gao Y, Wang R, Zhou E (2021) Stock prediction based on optimized LSTM and GRU models. Sci Program, 1–8. https://doi.org/10.1155/2021/4055281 doi: 10.1155/2021/4055281
![]() |
[10] |
Herwartz H (2017) Stock return prediction under GARCH—An empirical assessment. Int J Forecast 33: 569–580. https://doi.org/10.1016/j.ijforecast.2017.01.002 doi: 10.1016/j.ijforecast.2017.01.002
![]() |
[11] | Karasan A (2021) Machine Learning for Financial Risk Management with Python. O'Reilly. |
[12] |
Khan W, Ghazanfar MA, Azam MA, et al. (2020) Stock market prediction using machine learning classifiers and social media, news. J Amb Intel Hum Comp 13: 3433–3456. https://doi.org/10.1007/s12652-020-01839-w doi: 10.1007/s12652-020-01839-w
![]() |
[13] |
Khand S, Anand V, Qureshi MN, et al. (2019) The performance of exponential moving average, moving average convergence-divergence, relative strength index and momentum trading rules in the Pakistan stock market. Indian J Sci Technol 12: 1–22. https://doi.org/10.17485/ijst/2019/v12i26/145117 doi: 10.17485/ijst/2019/v12i26/145117
![]() |
[14] | Khanderwal S, Mohanty D (2021) Stock price prediction using ARIMA model. In J Market Hum Resource Res 2: 98–107. |
[15] |
Kumbure MM, Lohrmann C, Luukka P, et al. (2022) Machine learning techniques and data for stock market forecasting: A literature review. Expert Syst Appl 197: 116659. https://doi.org/10.1016/j.eswa.2022.116659 doi: 10.1016/j.eswa.2022.116659
![]() |
[16] | Lai CY, Chen RC, Caraka RE (2019) Prediction stock price based on different index factors using LSTM. 2019 International conference on machine learning and cybernetics (ICMLC), 1–6. https://doi.org/10.1109/icmlc48188.2019.8949162 |
[17] |
Levy RA (1967) Relative strength as a criterion for investment selection. J Financ 22: 595–610. https://doi.org/10.2307/2326004 doi: 10.2307/2326004
![]() |
[18] |
Li Y, Yan K (2023) Prediction of Barrier Option Price Based on Antithetic Monte Carlo and Machine Learning Methods. Cloud Comput Data Sci 4: 77–86. https://doi.org/10.37256/ccds.4120232110 doi: 10.37256/ccds.4120232110
![]() |
[19] |
Lo HC, Chan CY(2023) Mean reverting in stock ratings distribution. Rev Quantit Financ Account 60: 1065–1097. https://doi.org/10.1007/s11156-022-01121-4 doi: 10.1007/s11156-022-01121-4
![]() |
[20] |
Luong C, Dokuchaev N (2018) Forecasting of realised volatility with the random forests algorithm. J Risk Financ Manage 11: 61. https://doi.org/10.3390/jrfm11040061 doi: 10.3390/jrfm11040061
![]() |
[21] |
Monfared SA, Enke D (2014) Volatility forecasting using a hybrid GJR-GARCH neural network model. Procedia Comput Sci 36: 246–253. https://doi.org/10.1016/j.procs.2014.09.087 doi: 10.1016/j.procs.2014.09.087
![]() |
[22] | Müller AC, Guido S (2016) Introduction to machine learning with Python: a guide for data scientists. O'Reilly Media. |
[23] |
Nikou M, Mansourfar G, Bagherzadeh J (2019) Stock price prediction using DEEP learning algorithm and its comparison with machine learning algorithms. Intel Syst Account Financ Manage 26: 164–174. https://doi.org/10.1002/isaf.1459 doi: 10.1002/isaf.1459
![]() |
[24] |
Nti IK, Adekoya AF, Weyori BA (2020) A systematic review of fundamental and technical analysis of stock market predictions. Artif Intell Rev 53: 3007–3057. https://doi.org/10.1007/s10462-019-09754-z doi: 10.1007/s10462-019-09754-z
![]() |
[25] |
Patel J, Shah S, Thakkar P, et al. (2015) Predicting stock and stock price index movement using trend deterministic data preparation and machine learning techniques. Expert Syst Appl 42: 259–268. https://doi.org/10.1016/j.eswa.2014.07.040 doi: 10.1016/j.eswa.2014.07.040
![]() |
[26] |
Rezaei H, Faaljou H, Mansourfar G (2021) Stock price prediction using deep learning and frequency decomposition. Expert Syst Appl 169: 114332. https://doi.org/10.1016/j.eswa.2020.114332 doi: 10.1016/j.eswa.2020.114332
![]() |
[27] |
Rouf N, Malik MB, Arif T, Sharma S, et al. (2021) Stock market prediction using machine learning techniques: a decade survey on methodologies, recent developments, and future directions. Electronics 10: 2717. https://doi.org/10.3390/electronics10212717 doi: 10.3390/electronics10212717
![]() |
[28] |
Schwert GW (1990) Stock market volatility. Financ Anal J 46: 23–34. https://doi.org/10.2469/faj.v46.n3.23 doi: 10.2469/faj.v46.n3.23
![]() |
[29] |
Shahi TB, Shrestha A, Neupane A, et al. (2020) Stock price forecasting with deep learning: A comparative study. Mathematics 8: 1441. https://doi.org/10.3390/math8091441 doi: 10.3390/math8091441
![]() |
[30] |
Sun H, Yu B (2020) Forecasting financial returns volatility: a GARCH-SVR model. Comput Econ 55: 451–471. https://doi.org/10.1007/s10614-019-09896-w doi: 10.1007/s10614-019-09896-w
![]() |
[31] | Tatsat H, Puri S, Lookabaugh B (2020) Machine Learning and Data Science Blueprints for Finance. O'Reilly Media. |
[32] |
Vijh M, Chandola D, Tikkiwal VA, et al. (2020) Stock closing price prediction using machine learning techniques. Procedia Comput Sci 167: 599–606. https://doi.org/10.1016/j.procs.2020.03.326 doi: 10.1016/j.procs.2020.03.326
![]() |
[33] |
Wang J, Kim J (2018) Predicting stock price trend using MACD optimized by historical volatility. Math Probl Eng 2018: 1–12. https://doi.org/10.1155/2018/9280590 doi: 10.1155/2018/9280590
![]() |
[34] | Wang Y, Yan K (2022) Prediction of Significant Bitcoin Price Changes Based on Deep Learning. 5th International Conference on Data Science and Information Technology (DSIT 2022), 1–5. https://doi.org/10.1109/dsit55514.2022.9943971 |
[35] |
Wang Y, Yan K (2023) Machine learning-based quantitative trading strategies across different time intervals in the American market. Quant Financ Econ 7: 569–594. https://doi.org/10.3934/qfe.2023028 doi: 10.3934/qfe.2023028
![]() |
[36] | Yahoo Finance (2024) Available from: https://finance.yahoo.com/. |
[37] |
Yan K, Wang N, Li Y (2024) Research on Double Fusion Modeling for Volatility Quantitative Trading Strategies in Hong Kong Stock Market. Finance 14: 844–855. https://doi.org/10.12677/fin.2024.143090 doi: 10.12677/fin.2024.143090
![]() |
[38] | Yan K, Wang Y (2023) Prediction of Bitcoin prices' trends with ensemble learning models. 5th International Conference on Computer Information Science and Artificial Intelligence (CISAI 2022), 900–905. https://doi.org/10.1117/12.2667793 |
[39] |
Yan K, Wang Y, Li Y (2023) Enhanced Bollinger Band Stock Quantitative Trading Strategy Based on Random Forest. Art Intell Evolution 4: 22–33. https://doi.org/10.37256/aie.4120231991 doi: 10.37256/aie.4120231991
![]() |
[40] |
Yu P, Yan X (2020) Stock price prediction based on deep neural networks. Neural Comput Appl 32: 1609–1628. https://doi.org/10.1007/s00521-019-04212-x doi: 10.1007/s00521-019-04212-x
![]() |
[41] |
Zhang YJ, Zhang H (2023) Volatility forecasting of crude oil market: which structural change based GARCH models have better performance? Energ J 44: 175–194. https://doi.org/10.5547/ej44-1-Zhang doi: 10.5547/ej44-1-Zhang
![]() |