Journal of Mathematical Finance
Vol.09 No.03(2019), Article ID:93558,6 pages
10.4236/jmf.2019.93015

Possibility for Short-Term Forecasting of Japanese Stocks Return by Randomly Distributed Embedding Theory

Seisuke Sugitomo1, Keiichi Maeta2

1Fund Manager at Epic Partners Investment Co., Ltd., Tokyo, Japan

2Graduate School of Mathematical Sciences, University of Tokyo, Tokyo, Japan

Copyright © 2019 by author(s) and Scientific Research Publishing Inc.

This work is licensed under the Creative Commons Attribution International License (CC BY 4.0).

http://creativecommons.org/licenses/by/4.0/

Received: May 8, 2019; Accepted: July 5, 2019; Published: July 8, 2019

ABSTRACT

In this work, we use the model-free framework, named randomly distributed embedding, which is the method that randomly selects variables from the values of many observed variables at a certain time and estimates the state of the attractor at that time, to predict the future return of Japanese stocks and show that the prediction accuracy is improved compared to the conventional methods such as simple linear regression or least absolute shrinkage and selection operator (LASSO) regression. In addition, important points to be considered when applying the randomly distributed embedding method to financial markets, and specific future practical applications will be presented.

Keywords:

Randomly Distributed Embedding (RDE), Least Absolute Shrinkage and Selection Operator (LASSO), Artificial Intelligence Finance, Japanese Stock Return Prediction

1. Introduction

For the portfolio management in the stock market, predicting accurately the return of stocks to be traded is an important issue. However, the prediction is not easy because financial data have a very low signal to noise ratio, the relationship between the data is intertwined complicatedly and it is difficult to obtain a sufficient number of samples in the time series.

On the other hand, among financial assets, the stock market has the characteristic that the number of stocks is very large and simultaneous measurement is possible although the amount of data in the time series direction is not large.

Therefore, it is considered that the randomly distributed embedding method (RDE) [1] has high affinity with the return prediction in the stock market. RDE is a mathematical framework to predict future changes of important target variables with high accuracy from the short-time series data consisting of simultaneous measurements of multiple variables, proposed in October 2018.

In this work, we will evaluate the effectiveness of the randomly distributed embedding method by comparing with the results of the methods using the simple linear regression and the least absolute shrinkage and selection operator (LASSO) regression.

The first author of this work, Seisuke Sugitomo, belongs to Epic Partners Investments Co., Ltd. The second author of this work, Keiichi Maeta, belongs to the Graduate School of Mathematical Sciences, the University of Tokyo.

2. Basic Concepts

2.1. Reconstruction of Attractors

We review the reconstruct theory according to [1].

Analysis of irregular time series signals observed in nature has been studied as “chaos time series analysis”. In order to analyze irregular time series data from the viewpoint of deterministic dynamical systems, it is necessary to reconstruct the attractors [2], [3].

The most common method of attractor reconstruction is the reconstruction using the delay attractor.

The delay attractor is a reconstructed attractor of a dynamical system using the delay coordinate system ( x k ( t ) , x k ( t + τ ) , x k ( t + 2 τ ) , ) with respect to a certain variable x k ( t ) (t is time and τ is an interval.).

If the dimension of the delay coordinate system is larger than a certain level, there is an embedding Φ into the reconstructed attractor M from the original attractor of the dynamical system according to Takens’ embedding theorem [3] and the generalized embedding theorem [2].

On the other hand, the non-delay attractor is a reconstructed attractor of dynamical system using randomly select m valuables from { x i ( t ) } (m is the same number as the dimension of the delay coordinate system) and the coordinate system composed of them ( x i 1 ( t ) , x i 2 ( t ) , , x i m ( t ) ) . There is also an embedding Γ from the original attractor to the reconstructed attractor N ( [2], [4], [5] ).

2.2. Randomly Distributed Embedding Method

Randomly distributed embedding method is the method proposed by Aihara et al. [1] in October 2018 for predicting high-order, short-term time-series data with high accuracy.

First, we reconstruct the delay attractor and the non-delay attractor with respect to the observation data x i ( t ) , ( i = 1 , 2 , , n ) .

According to the embedding theory, there is a diffeomorphism Ψ : M N compatible with embeddings Φ and Γ , and learning them from samples enables a highly accurate prediction of the delay attractor using the non-delay attractor.

2.3. Application to Japanese Stocks

Next, we consider how to apply the above randomly distributed embedding method to the return prediction of Japanese stocks. The point to be noted in applying this method is that each variable in the observation data is a result from the same dynamical system.

Risk factors often used in the return prediction are unlikely to be attributed to the same dynamical system. On the other hand, each return of individual stocks included in the same industry is likely to be due to the same dynamical system.

So, in this work, we aim at predicting the return of a specific stock using the returns of individual stocks included in the same industry.

2.4. Gaussian Process Regression

Gaussian process regression is a nonparametric regression model [4]. Let us assume that the relation t = w T ϕ ( x ) + ε holds for two variables x n , t n using basis functions

ϕ : n n ,

where w ~ N ( 0 , α 1 I n ) and ε ~ N ( 0 , β 1 I n ) hold for a weight w and an error ε .

At this time, we estimate the distribution of the output t n + 1 , namely, p ( t n + 1 | x n + 1 , x 1 , x 2 , , x n , t 1 , t 2 , , t n ) = N ( t n + 1 | m , σ 2 ) obtained from the test data ( x 1 , t 1 ) , ( x 2 , t 2 ) , , ( x n , t n ) n × and the new input x n + 1 .

We set the kernel function k : n × n k ( x , x ) = α 1 ϕ ( x ) T ϕ ( x ) and put K = ( k ( x i , x j ) ) i , j , t = ( t 1 , , t n ) T , k = ( k ( x 1 , x n + 1 ) , , k ( x n , x n + 1 ) ) T .

Then, the optimal estimate is given by

m = k T K 1 t , σ 2 = k ( x n + 1 , x n + 1 ) + β 1 k T K 1 k . (1)

3. Verification

3.1. Verification Procedure

The universe is TOPIX500 constitutive brand which is the top 500 stocks with high market capitalization and liquidity of the TOPIX adopted stocks. We apply the randomly distributed embedding method in the several industries using TSE 33 industry. In this work, seven types of industries, construction, chemistry, food, machinery, electronics, pharmaceuticals, and transportations are targeted for forecasting, because the number of stocks is within the industry to some extent and changes in the results of domestic and external demand are also to be examined. With regard to the randomly distributed embedding method, the prediction is performed according to the following procedure according to [1].

The given data is the data at time t 1 , , t n of the function x : n t ( x 1 , , x n ) at n observation points. It is the next day daytime return of the k-th specific variable x k .

First, we choose s tuples containing L numbers from { 1 , 2 , 3 , , n } . Then, from the l-th tuple, we estimate ψ l : L using Gaussian process regression to minimize the following value.

i = 1 m 1 | x k ( t i + 1 ) ψ l ( x l 1 ( t i ) , x l 2 ( t i ) , , x l L ( t i ) ) | (2)

After that, we estimate the probability density function p ( x ) by performing kernel density estimation from the set of estimates obtained by calculating one step estimation x ˜ l k ( t + 1 ) = ψ k l ( x l 1 ( t ) , , x l L ( t ) ) from each ψ l .

And we calculate the skewness γ of the probability density function, and if γ is 0.5 or less, it is adopted and x ˜ k ( t + τ ) = x p ( x ) d x is determined as estimation. If not, we correct the estimate as follows.

We calculate the in-sample error δ l ( > 0 ) and pick the [ n 2 ] best samples and estimate accordingly.

x ˜ k ( t + τ ) = i = 1 [ n 2 ] ω i x ˜ k l i ( t + τ ) , ω i = exp ( δ i δ 1 ) j exp ( δ j δ 1 ) (3)

In this work, the estimation period is 2018 and the estimation is performed with L = 10 and s = 3 . The data is the intraday returns of each stocks included in each industry. Then, we predict the intraday returns of each stocks in each industry one period each, and calculate the average value of the mean squared error (MSE) in the whole industry from the actual intraday return over the entire prediction period is an index for prediction accuracy.

As a comparison target, we calculate the average value of MSE with the actual return when each stock is predicted by simple linear regression and LASSO regression when L = 10 using other stocks of the industry without using the randomly distributed embedding method.

3.2. Verification Result

We show the result of the experiment in Table 1. As a result, the random distribution embedding method became the most accurate method in all industries. Compared with the other industries, the scope of improvement of this method is larger in food and electronics.

Table 1. Results.

As a premise, in order for the randomly distributed embedding method to work, the variables to be analyzed must be in the same attractor. In that sense, compared to the other industries, we can guess that the stocks included in the food and electronics industry are on the same attractor, that is, the relationship between the stocks is relatively close.

4. Conclusions

In this work, we showed that we could improve the prediction accuracy when we use the randomly distributed embedding method, which is the method of randomly selecting variables from the values of many observational variables at a certain time and estimating the attractor state at that time, for predicting future returns of Japanese stocks comparing with the time when we use simple linear regression or LASSO regression. In addition, it can be inferred that the improvement range of the prediction accuracy is different depending on the type of industry, the nature of the stock group included in the type of industry and the degree to which these stocks are in the same attractor.

As a future perspective of this work, it is possible to aim for more accurate forecasting accuracy by applying randomly distributed embedding method to financial instruments that are likely to be on the same attractor, such as multiple volatility indexes. In addition, it is possible to aim to improve the prediction accuracy by using an algorithm such as LSTM as a regression method used for the randomly distributed embedding method. Furthermore, it is possible to use, for example, for stock selection filtering in investment methods in which the closeness of the nature between stocks is important, such as pair trade, by using the prediction accuracy improvement range from the conventional method according to the randomly distributed embedding method.

Acknowledgements

This paper does not represent official views of Epic Partners Investments Co., Ltd. and the University of Tokyo to which the authors belong. Everything is the personal opinion.

Conflicts of Interest

The authors declare no conflicts of interest regarding the publication of this paper.

Cite this paper

Sugitomo, S. and Maeta, K. (2019) Possibility for Short-Term Forecasting of Japanese Stocks Return by Randomly Distributed Embedding Theory. Journal of Mathematical Finance, 9, 266-271. https://doi.org/10.4236/jmf.2019.93015

References

  1. 1. Ma, H., Leng, S., Aihara, K., Lin, W. and Chen, L. (2018) Randomly Distributed Embedding Making Short-Term High-Dimensional Data Predictable. PNAS, 115, E9994-E10002. https://doi.org/10.1073/pnas.1802987115

  2. 2. Sauer, T., Yorke, J.A. and Casdagli, M. (1991) Embedology. Journal of Statistical Physics, 65, 579-616. https://doi.org/10.1007/bf01053745

  3. 3. Takens, F. (1981) Detecting Strange Attractors in Turbulence. In: Rand, D.A. and Young, L.-S., Eds., Dynamical Systems and Turbulence, Springer, Berlin, 366-381. https://doi.org/10.1007/bfb0091924

  4. 4. Bishop, C.M. (2006) Pattern Recognition and Machine Learning. Springer, Berlin, 303-319.

  5. 5. Deyle, E.R. and Sugihara, G. (2011) Generalized Theorems for Nonlinear State Space Reconstruction. PLoS One, 6, e18295. https://doi.org/10.1371/journal.pone.0018295