^{1}

^{2}

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.

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) [

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.

We review the reconstruct theory according to [

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 [

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 [

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 ( [

Randomly distributed embedding method is the method proposed by Aihara et al. [

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.

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.

Gaussian process regression is a nonparametric regression model [

ϕ : ℝ 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)

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 [

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.

We show the result of the experiment in

Linear | LASSO | RDE | |
---|---|---|---|

Construction | 0.95436 | 0.51920 | 0.46580 |

Chemistry | 3.31570 | 3.19647 | 2.77994 |

Food | 1.25392 | 0.68217 | 0.44245 |

Machinery | 2.98313 | 2.23938 | 1.63249 |

Electronics | 3.17653 | 2.67326 | 1.65308 |

Pharmaceuticals | 1.81477 | 1.31412 | 0.98475 |

Transportation | 1.05024 | 0.79956 | 0.74680 |

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.

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.

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.

The authors declare no conflicts of interest regarding the publication of 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