Next Article in Journal
On the Application of Mann-Iterative Scheme with h-Convexity in the Generation of Fractals
Next Article in Special Issue
Enhancing Transient Stability in Multi-Machine Power Systems through a Model-Free Fractional-Order Excitation Stabilizer
Previous Article in Journal
Robust Control Design of Under-Actuated Nonlinear Systems: Quadcopter Unmanned Aerial Vehicles with Integral Backstepping Integral Terminal Fractional-Order Sliding Mode
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Hybrid Approach Combining the Lie Method and Long Short-Term Memory (LSTM) Network for Predicting the Bitcoin Return

1
Department of Economics, Yıldız Technical University, 34220 İstanbul, Türkiye
2
Department of Mathematical Engineering, Yıldız Technical University, 34220 İstanbul, Türkiye
*
Author to whom correspondence should be addressed.
Fractal Fract. 2024, 8(7), 413; https://doi.org/10.3390/fractalfract8070413
Submission received: 24 June 2024 / Revised: 9 July 2024 / Accepted: 10 July 2024 / Published: 15 July 2024
(This article belongs to the Special Issue Fractional-Order Dynamics and Control in Green Energy Systems)

Abstract

:
This paper introduces hybrid models designed to analyze daily and weekly bitcoin return spanning the periods from 18 July 2010 to 28 December 2023 for daily data, and from 18 July 2010 to 24 December 2023 for weekly data. Firstly, the fractal and chaotic structure of the selected variables was explored. Asymmetric Cantor set, Boundary of the Dragon curve, Julia set z2 −1, Boundary of the Lévy C curve, von Koch curve, and Brownian function (Wiener process) tests were applied. The R/S and Mandelbrot–Wallis tests confirmed long-term dependence and fractionality. The largest Lyapunov test, the Rosenstein, Collins and DeLuca, and Kantz methods of Lyapunov exponents, and the HCT and Shannon entropy tests tracked by the Kolmogorov–Sinai (KS) complexity test determined the evidence of chaos, entropy, and complexity. The BDS test of independence test approved nonlinearity, and the TeraesvirtaNW and WhiteNW tests, the Tsay test for nonlinearity, the LR test for threshold nonlinearity, and White’s test and Engle test confirmed nonlinearity and heteroskedasticity, in addition to fractionality and chaos. In the second stage, the standard ARFIMA method was applied, and its results were compared to the LieNLS and LieOLS methods. The results showed that, under conditions of chaos, entropy, and complexity, the ARFIMA method did not yield successful results. Both baseline models, LieNLS and LieOLS, are enhanced by integrating them with deep learning methods. The models, LieLSTMOLS and LieLSTMNLS, leverage manifold-based approaches, opting for matrix representations over traditional differential operator representations of Lie algebras were employed. The parameters and coefficients obtained from LieNLS and LieOLS, and the LieLSTMOLS and LieLSTMNLS methods were compared. And the forecasting capabilities of these hybrid models, particularly LieLSTMOLS and LieLSTMNLS, were compared with those of the main models. The in-sample and out-of-sample analyses demonstrated that the LieLSTMOLS and LieLSTMNLS methods outperform the others in terms of MAE and RMSE, thereby offering a more reliable means of assessing the selected data. Our study underscores the importance of employing the LieLSTM method for analyzing the dynamics of bitcoin. Our findings have significant implications for investors, traders, and policymakers.

1. Introduction

Cryptocurrency presents a profitable avenue for speculation owing to its pronounced volatility. While leveraging AI and ML algorithms can enhance the prediction of future prices of cryptocurrencies, the task remains arduous because of the nonlinear and complex nature of price behaviors. Nevertheless, the market value of cryptocurrencies is anticipated to burgeon, with a forecasted annual growth rate of 11.1% [1]. Yet, investors have grappled with challenges stemming from price bubbles that trigger excessive volatility. Addressing these hurdles necessitates the development of a dependable model to aid market participants in discerning trends and making informed predictions. But forecasting bitcoin prices proves daunting given their susceptibility to diverse influences, including governmental policies, technological advancements, public sentiment, and global occurrences.
Forecasting bitcoin’s return and price volatility are challenging due to the influence of numerous factors, including market sentiment, public sentiment, political factors, economic factors, geopolitics risks, and technological advancements. Under the influence of these factors, the return of bitcoin may exhibit a chaotic structure, and it is important to determine its fractal structure. To offer a more realistic description of the cryptocurrency market while avoiding constraints on the statistical and distributional properties of price returns, reference [2] advanced the Fractal Market Hypothesis (FMH). FMH posits that market stability is maintained when market participants make self-similar decisions across various investment time horizons, thereby ensuring market liquidity [3,4].
Reference [5] investigated the cryptocurrency markets using wavelet coherence analysis. The study found evidence of positive correlations between cryptocurrency prices and online factors. These correlations become significantly stronger during bubble-like regimes in the price series. Some papers, such as refs. [4,6], analyzed the fractal dimension of cryptocurrency price series.
Traditional finance research methods are insufficient in accurately predicting bitcoin prices, leading to an increased interest in utilizing machine learning techniques to tackle this issue. Some studies investigating bitcoin used the deep learning method. So, there has been a notable increase in deep learning models tailored for predicting financial time series. Deep learning, which falls under the umbrella of machine learning, entails training Artificial Neural Networks (ANNs) on large datasets. These networks possess the ability to autonomously learn and make informed decisions. Notably, RNNs, for example LSTM and GRU, excel in processing sequential data like time series. The core objective of the DL method is to establish price and return prediction frameworks that cater to the needs of cryptocurrency investors.
In this paper, the core objective of the proposed DL method is to establish price and return prediction frameworks that cater to the needs of cryptocurrency investors and speculators, leveraging historical data for robust insights. Furthermore, our aim is to address the following research inquiry: “How can both AI and Lie algorithms aid investors and speculators in forecasting cryptocurrency prices and returns”? Additionally, we endeavor to determine the optimal Lie algebras with the LSTM method for forecasting the prices of the selected cryptocurrencies.
This paper utilizes the Lie algebra approach to tackle the stochastic differential equation (DE) governing the short-term dynamics of bitcoin. The model posits a stochastic DE framework within a curved state space. Return models for bitcoin are constructed expressing concepts through matrices and operators of differentiation on the S 2 manifold. The discoveries of Lie in the latter part of the 19th century revealed special methods for solving DEs as particular instances of a broader integration process reliant on the DE’s invariance under continuous symmetrical groups. Today, Lie groups profoundly influence various fields including mathematics, mechanics, and robotics.
In mathematical finance, several studies have leveraged the Lie method to gain insights into related partial differential equations. Prior research has explored the use of general differentiable manifolds in interest rate models. Reference [7] applied the method of Lie to the BSM equation, while references [8,9] illustrated a model for short rates based on the circle S 1 . Reference [10] investigated the behavior of interest rates using stochastic differential equations on curved state spaces. Short-term interest rate models were developed for S 1 and S 2 manifolds employing matrix representations rather than the traditional approach of using differential operator representations of Lie groups. Additionally, reference [11] utilized Lie-LSTMOLS models to analyze oil price volatility.
This paper examines the period between 18 July 2010 and 28 December 2023 for daily data and 18 July 2010 and 24 December 2023 for weekly data, encompassing significant events affecting bitcoin volatility and return such as economic crises, military interventions, and pandemics. These events contribute to the nonlinear nature of bitcoin prices, highlighting the significance of modeling dynamic phenomena and tackling stochastic differential equations (SDEs). Solutions of differential equations are known to yield symmetries corresponding to groups of Lie. In our study, we utilize a model on S 2 manifolds utilizing matrix representations instead of representations of Liealgebras through differential operators. Following reference [11], we determine the noise volatility and drift terms of the stochastic state equations to reflect observed phenomena while maintaining simplicity. We explore the fractal and chaos structure of the variables. Asymmetric Cantor set, Boundary of the Dragon curve, Julia set z2 −1, Boundary of the Lévy C curve, von Koch curve, and Brownian function (Wiener process) tests are applied. And then the Mandelbrot–Wallis and Lo’s rescaled range(R/S) methods confirm fractionality and long-term dependence. Methods for determining maximum Lyapunov exponents (Rosenstein, Collins and DeLuca, and Kantz), Shannon entropy (SE), and HCT entropy tests followed by the KS complexity measure (KSCM) determine the evidence of chaos, entropy, and complexity. And then parameter estimation is carried out using the OLS method and, in certain cases, nonlinear least square (NLS) methods because of the nonlinear characteristics observed within the designated timeframe. LieOLS and LieNLS methods will determine the parameters of models. The results of the LieOLS and LieNLS methods are compared with the results obtained from the standard econometric model, the ARFIMA model [12]. And the LieOLS and LieNLS methods raise LieLSTMOLS and LieLSTMNLS ones. The obtained parameters are compared with the ones of LieOLS and LieNLS methods. In the last stage, the forecasting performance of our proposed hybrid method is compared with that of the LieOLS and LieNLS standard regression methods.
To our knowledge, this study is the first to combine deep learning with the Lie method. The reason for choosing this hybrid method is to increase the forecast power of deep learning with the Lie algebra method since, as highlighted above, the bitcoin price is very volatile.
The paper is structured as follows. Section 2 is about the literature review. Section 3 discusses Lie groups and algebras of orthogonal matrices, followed by the definition of the bitcoin price model on the Lie groups SO(3). Section 4 presents the data and provides descriptive statistics. Section 5 presents and discusses the model and the results, while Section 6 concludes the paper.

2. Literature Review

Reference [13] used an econophysics model to identify irregular price levels in the bitcoin market.
There are only a few studies on the fractal and multifractal properties of BTC, including DFA analysis [14] and the Hurst exponent [15]. These studies demonstrate strong anti-persistence in BTC returns. Reference [16] analyzed the multifractal properties of the daily returns of BTC by dividing the sample into two periods: the high- and low-price regimes. The researchers found that the price drivers of cryptocurrency markets exhibit medium-term positive correlations with online factors, as discovered in reference [5]. Moreover, these correlations become stronger during bubble periods regime with low/negative returns and high volatility in the price series. The authors propose that these findings elucidate the intermittent nature of these relationships over time.
Similarly, reference [17] established the presence of a persistent “bubble stage” in BTC since surpassing the USD 1000 threshold. The study further observed that certain cryptocurrencies exhibit responsiveness to their internal dynamics, including factors like mining difficulty and hashrate. Reference [18] examined the multifractal properties of bitcoin prices. Utilizing wavelet transform modulus maxima and multifractal detrended fluctuation analysis, their results indicated that bitcoin exhibits significant multifractality across all examined time intervals. This multifractality is primarily attributed to the high kurtosis and fat distributional tails of the series returns. Reference [19] determined the fractal dimension, uncertainty and chaotic structure of bitcoin using Hurst, Lyapunov, and Shannon entropy techniques.
Reference [4] explored fractal dimension for bitcoin and the researchers observed that bitcoin prices display long-term memory, though this tendency has been weakening over time. References [6,20] investigated the fractal dimension of cryptocurrencies. Reference [6] found that bitcoin also exhibits persistent behavior, which is associated with the long memory effect.
Several papers embraced ML methodologies to construct predictive models for financial markets, aiming to capture the nonlinear dynamics inherent in financial time series [19,21,22].
Deep learning (DL) models have gained traction for financial market price forecasting due to their superior performance. Reference [23] integrated autoregressive (AR) features into an LSTM network for daily BTC price prediction, resulting in lower error rates than traditional LSTM models based on metrics like MSE, RMSE, MAPE, and MAE.
Meanwhile, reference [24] utilized a range of features to predict the ETC and BTC prices, choosing dependable predictors using correlation analysis. When employing SVM on these features, linear regression surpassed the other methods. Additionally, LSTM yielded the lowest prediction error for BTC. Reference [25] conducted a comparative analysis of deep learning methods, revealing varied prediction performances across different models. Reference [26] introduced a novel neuro-fuzzy technique combining ANN, demonstrating enhanced prediction accuracy. In another investigation [27], machine learning-based ensemble methods combining a diverse ensemble model, gradient boosted trees, ANN, and KNN were examined for forecasting nine different cryptocurrencies, with the ensemble model displaying the lowest prediction error. Reference [28] employed a hybrid model combining a WNN and an LSTM to predict bitcoin prices. Reference [29] employed machine learning models to predict the volatility of bitcoin. The researchers found that the LSTM model outperformed the other models in terms of accuracy.
Similarly, the researchers in [30] utilized a combined model consisting of Random Forest (RF) and GBM to forecast the prices of ETC, BTC, and XRP, achieving MAPE values ranging from 0.92% to 2.61%.
Reference [31] employed a two-stage methodology to predict BTC prices, using RF and ANN to identify pertinent features for LSTM prediction, surpassing the performance of ARIMA and SVM. Reference [32] utilized a hybrid approach merging LSTM and GRU networks to forecast LTC and XMR prices, demonstrating higher accuracy compared to LSTM alone.
In the study described in reference [33], a hybrid deep learning (DL) model was introduced for forecasting bitcoin volatility. Reference [34] employed the weighted TX Dagum distribution model, known for its heavy-tailed properties, to analyze bitcoin prices.
Reference [1] used three variants of RNNs—LSTM, GRU, and Bi-LST—for predicting the exchange rates of BTC, ETC, and Litecoin. The findings, evaluated through RMSE and MAPE, indicate that Bi-LSTM outperforms LSTM and GRU in prediction accuracy. Bi-LSTM demonstrates superior predictive capability, yielding MAPE values of 0.036 for BTC, 0.041 for LTC, and 0.124 for ETH.

3. Methods and Materials

3.1. Introduction to Orthogonal Lie Group and Its Algebra

This section presents the descriptions of the special orthogonal Lie group SO(3), its algebra, and the relations between stochastic dynamics and this group, as outlined in [11,30,35].

3.2. The Lie Group S O ( 3 ) and Its Algebra

The Lie group S O ( 3 ) and its algebra are defined as follows:
S O ( 3 ) = B G L 3 : B B T = I    a n d    d e t B = 1
The Lie group SO(3) is recognized with the unit sphere S 2 = x 1 , x 2 , x 3 : x 1 2 + x 2 2 + x 3 2 = 1 with parametrization x 1 = c o s θ ,    x 2 = s i n θ   s i n φ , x 3 = s i n θ   c o s φ .
The Lie algebra of this group is denoted by s o ( 3 ) and generated by basis matrix elements.
Y 1   = 0 1 0 1 0 0 0 0 0 ,        Y 2   = 0 0 1 0 0 0 1 0 0 ,        Y 3 = 0 0 0 0 0 1 0 1 0   
This algebra is non-commutative, and satisfies the condition X T = X for
X = 0 x 1 x 2 x 1 0 x 3 x 2 x 3 0 s o ( 3 )
The connection between this algebra and the group is as follows.
e x p : s o 3 S O ( 3 )
e x p   ( X ) = B S O 3
e x p 0 x 3 x 2 x 3 0 x 1 x 2 x 1 0 = I 3 + s i n θ   X x 1 , x 2 , x 3 + 1 c o s θ   X x 1 , x 2 , x 3 2 = B   ϵ   S O 3              

3.3. Stochastic Dynamics on the Lie Group S O ( 3 ) and Its Algebra

On the manifold of SO(3), the bilinear state equation, the bitcoin price, and the dynamics for f are given as follows:
d B = B X d t + B d W ,
r B = 1 2 T r M B N B T ,
d f = T r B T M B X I N d t + d W N + 1 2 d W N d W T
where B S O ( 3 ) , X , d W s o ( 3 ) and M , N R 3 × 3 are positive definite symmetric matrices.
Consequently, the elements in Equation (4) can be described as follows:
X = 0 x 3 x 2 x 3 0 x 1 x 2 x 1 0   and   d W = 0 d w 3 d w 2 d w 3 0 d w 1 d w 2 d w 1 0 s o ( 3 )
M = m 11 m 12 m 13 m 12 m 22 m 23 m 13 m 23 m 33 ,   N = n 11 n 12 n 13 n 12 n 22 n 23 n 13 n 23 n 33
Hence, we establish the definitions of the bitcoin price, denoted as r , and the stochastic dynamic, represented as d r for f on S O 3 , in the following manner:
r B = 1 2 a 11 n 11 + a 22 n 22 + a 33 n 33 + a 12 + a 21 n 12 + a 13 + a 31 n 13 + a 23 + a 32 n 23
where
a 11 = x 11 b 11 + x 12 b 21 + x 13 b 31 ,      a 22 = x 22 b 11 + x 22 b 22 + x 23 b 32
a 33 = x 31 b 13 + x 32 b 23 + x 33 b 33 ,      a 12 = x 11 b 12 + x 12 b 22 + x 13 b 32
a 21 = x 21 b 11 + x 22 b 21 + x 23 b 31 ,      a 13 = x 11 b 13 + x 12 b 23 + x 13 b 33
a 31 = x 31 b 11 + x 32 b 21 + x 33 b 31 ,      a 23 = x 21 b 13 + x 22 b 23 + x 23 b 33
a 32 = x 31 b 12 + x 32 b 22 + x 33 b 32
x 11 = b 11 m 11 + b 21 m 21 + b 31 m 31 ,      x 12 = b 11 m 12 + b 21 m + a 31 q 32
x 21 = b 12 m 11 + b 22 m 21 + b 32 m 31 ,      x 22 = b 12 m 12 + b 22 m 22 + b 23 m 32
x 31 = b 13 m 11 + b 23 m 21 + b 33 m 31 ,      x 32 = b 13 m 12 + b 23 m 22 + b 33 m 32
x 13 = b 11 m 13 + b 21 m 23 + b 31 m 33 ,      x 23 = b 12 m 13 + b 22 m 23 + b 32 m 33
x 33 = b 13 m 13 + b 23 m 23 + b 33 m 33   where   b i j S O 3
and
d r = T r B T M B a i j X I N d i j d t + B T M B a i j d W N + e i j   B T M B a i j d W N d W T k i j
= a 11 d 11 + a 12 d 21 + a 13 d 31 + a 12 d 12 + a 22 d 22 + a 23 d 32 + a 13 d 13 + a 23 d 23 + a 33 d 33 d t
+ a 11 e 11 + a 12 e 21 + a 13 e 31 + a 21 e 12 + a 22 e 22 + a 23 e 32 + a 13 e 13 + a 23 e 23 + a 33 e 33
+ 1 2 a 11 k 11 + a 12 k 21 + a 13 k 31 + a 21 k 12 + a 22 k 22 + a 23 k 32 + a 31 k 13 + a 32 k 23 + a 33 k 33
d i j = 1 b 3 b 2 b 3 1 b 1 b 2 b 1 1 n 11 n 12 n 13 n 21 n 22 n 23 n 31 n 32 n 33
e i j = 0 d w 3 d w 2 d w 3 0 d w 1 d w 2 d w 1 0 n 11 n 12 n 13 n 21 n 22 n 23 n 31 n 32 n 33
k i j = e 11 e 12 e 13 e 21 e 22 e 32 e 31 e 32 e 33 0 d w 3 d w 2 d w 3 0 d w 1 d w 2 d w 1 0
Thus, the differential expression we give above can be expressed as follows:
d r = β t r + α 2 r 2 d t + α 3 r 3 / 2 d w
where
β t = β 1 + β 2 s i n θ t + β 3 c o s θ t + β 4 s i n 2 θ t + β 5 c o s 2 θ t

3.4. Hybrid Model

The suggested hybrid model was developed as follows.
d r L t
where L t represents LSTM, a type of RNN [36], which leverages the interdependencies among the samples within a segment of the time series on the S O 3 manifold to achieve precise prediction. The operations of the LSTM can be described by the following equations:
m t = f t m t 1 + j t m ~ t
m ~ t = tanh V m x t + W m r t 1 + b m
j t = σ V j x t + W j r t 1 + b j
f t = σ V f x t + W f r t 1 + b f
o t = σ V o x t + W o r t 1 + b o
r t = o t t a n h   ( m t )
where b is a biasvector, V and W are matrices of weights, σ(·) is the sigmoid function’s symbol, and * is the element-wise multiplication’s symbol.
At time step t, the LSTM unit receives the m t 1 state vector and the r t 1 output vector from the preceding time step, and the input feature vector x t to produce the state vector m t and the output vector r t . The LSTM model utilises temporal dependencies by using x t and r t 1 to determine the prior state that needs to be retained through the forget gate f t . The new information is formed in a normalised manner as m ~ t , and its intensity is established by applying the input gate activation j t to it.

4. Data

Bitcoin data (BT) acquired from the OPEN Access Data web site were used. They include daily bitcoin data (Figure 1) and weekly bitcoin data (Figure 2) for the periods 18 July 2010–28 December 2023 and 18 July 2010–24 December 2023, respectively.
The first step was to obtain the descriptive statistics of the bitcoin data and apply a unit root test. Table 1 shows the obtained statistics. As validated by the JB test, the data’s excess kurtosis prevents them from being modeled by a normal distribution.
Table 2 displays the outcomes from the URT tests and heteroskedasticity.
In all cases, the trend specification was found to be insignificant. All results are presented for the first-differenced series.
The second section of Table 2 shows URT for both linear and nonlinear series. The ADF test reveals that all series are I (1) processes. The KSS test, which examines the null hypothesis of a unit root against STAR-type nonlinear processes, also indicates that all series are integrated of order one.

5. Results

The results were derived through a three-stage process. These stages unfolded as follows.

5.1. Determination of Fractal Dimension, Investigation of Long-Term Dependence, Fractionality, and Chaotic Dynamics

Asymmetric Cantor set, Boundary of the Dragon curve, Julia set z2 −1, Boundary of the Lévy C curve, von Koch curve, and Brownian function (Wiener process) tests were applied. And then fractionality and long-term dependence were scrutinized using Hurst and Mandelbrot R/S tests along with Lo’s R/S tests.
Chaotic dynamics were detected through the use of Lyapunov (λ) and entropy tests. The Lyapunov analysis revealed the average exponential rate at which nearby orbits in phase space either diverge or converge. A positive λ (λ > 0) indicated chaos, signifying trajectory divergence, while λ ≤ 0 indicated regular motion, and (λ = 0) suggested a bifurcation. A (λ > 1) indicated deterministic chaotic behavior.
Further exploration was halted if (λ ≤ 0) or (λ > 1). However, if λ was between 0 and 1 and positive entropy values were observed, this suggested uncertainty or a random process, prompting further investigation into the variables’ nonlinearities and stochastic processes.
The Hurst exponent measures the irregularity of variables and captures the rate of chaos, while λ reflects how chaos influences future predictions, indicating the exponential divergence of adjacent orbits.

5.1.1. Fractal Dimension, Fractionality, Chaos, and Long-term Dependence

The descriptive tests shown in Table 1 suggested heteroscedasticity in the daily percentage change series. This was confirmed by White and ARCH-LM tests, which tested for nonlinear forms of heteroscedasticity and ARCH-type effects, respectively.
Table 3 presents the fractal dimensions and Hurst–Mandelbrot R/S test statistics. The table lists fractal names alongside their actual Hausdorff dimensions. The long memory of the series was tested using Lo R/S and Hurst–Mandelbrot R/S tests, with results detailed in Table 3.
The scaled range (R/S) statistic, based on the influential studies of references [38,39,40], is a measure used to assess the dependency structure in non-Gaussian distributed data. In the field of financial research, the Hurst exponent (HE) has been utilized to investigate dependency structures in bitcoin by [20] and in the metaverse by [41].
According to these studies, it has been found that the time series of cryptocurrency prices may exhibit long-range dependence [6,42,43]. Long-range dependence is associated with fractional Brownian motion (fBm), an extension of classical Brownian motion (Bm) that describes a random walk [6]. The properties of Bm and fBm can be quantified using the Hurst exponent (HE), which ranges between 0 and 1. The key characteristics of the HE are as follows: (a) H = 0.5 indicates a Bm process without long-memory behavior; (b) H > 0.5 indicates an fBm process with a long-memory effect; and (c) H < 0.5 indicates an anti-persistent process associated with short-term memory.
The HE and fractal dimension shown in Table 4 suggest persistence for BTC.
Reference [4] determined the HE for BT to be 0.61317, while reference [6] found it to be 0.533. Both results are similar to our findings. Additionally, reference [44] observed that bitcoin’s HE has decreased over time. The long-memory HE is locally not Brownian, as evidenced by the decay of the HE over time between regulatory acts, as demonstrated by references [45,46].

5.1.2. Test Results for Entropy and Chaos

Following the examination of non-normality and fractionality, the focus shifted to analyzing the chaotic framework. Table 5 presents the results of the largest Lyapunov exponents (λ). Since the analyzed period was relatively short, the Largest Lyapunov test results were compared with two separate tests with different structures.
The largest Lyapunov results reveal that all variables exhibit chaotic behavior, as evidenced by λ estimates falling within the range of 0 < λ < 1 across all cases. With λ > 0, the variables display divergence from their initial conditions. Notably, the variables demonstrate clear signs of chaos, with positive λ estimates ranging from 0.33 to 0.35. Based on these findings, we determine that the variables exhibit chaotic dynamics [41].
To test the chaotic structure, two more methods were used after the Lyapunov test. Thus, the existence of a chaotic structure was examined with three different tests. Two methods were employed for estimating the Lyapunov exponents (λ), namely, the Rosenstein et al. [47] and Kantz [48] methods. Moreover, employing two methods serves as a precautionary measure and provides validation for detecting chaos in the series, if present. Both methods have shown good performance in identifying chaotic processes, even when noise is present. The main parameter, embedded dimension, was set with three initial states. Table 5 presents the results obtained from the two methods, focusing solely on the dimension.
Notably, the values determined by the Rosenstein et al. [47] and Kantz [48] methods yielded close and similar results regarding the presence of chaotic dynamics in bitcoin daily data and bitcoin weekly data. The chaos results determined by the three models are positive but less than one.
The value 1/λ can be viewed as an indicator of the predictability of future returns based on past data. For BTC daily data, predictability is limited to 1/λ = 3.020 days.
Therefore, we proceeded to the second stage and obtained the entropy results. We used two different entropy tests: Shanon entropy, and Havrda–Charvât–Tsallis entropy, and additionally the Kolmogorov–Sinai (KS) complexity measure.
Statistical techniques are effectively used to determine complexity in nonlinear systems through entropy [19,49,50]. Entropy measures the rate of information generation within a mechanism, and Table 6 presents the results of entropy to examine chaotic dynamics.
Positive entropy results suggest uncertainty or a random process. These results are derived from references [51,52,53]. KS complexity is assessed following the method outlined in [54]. These measures provide information on the presence of chaos and quantify the degree of complexity and randomness. Through these stages, we explored the stochastic processes and nonlinearities of the variables.
Our findings indicate that all series display completely random or uncertain behavior. For interpretability, the SE is scaled to the range [0, 1] using minimum and maximum bits. A value of 1 suggests complete randomness and unpredictability, while a value of 0 signifies total predictability. A score approaching 1 shows a greater deviation from long-term equilibrium. Additionally, entropy can be seen as a measure of information distortion, as reflected in BTd and BTw. The significantly positive SE values confirm a high degree of uncertainty in BTd and BTw.
To further verify these findings, we employed the HCT divergence measure, initially developed by Havrda and Charvt [52] and later by Tsalis [53]. The results from the HCT measure corroborate those obtained from SE.
Finally, we applied the Kaspar and Schuster method [54] to evaluate the three series for complexity using the KSCM. Higher values indicate greater unpredictability due to chaotic characteristics. The KSCM relates to the complexity or unpredictability of a system. The KSCM concentrates on particular features of the series in contrast to the Shannon and HCT entropy measures. Although information and uncertainty are the goals of both Shannon entropy and KS measures, their applications differ. While KS entropy studies the behavior of dynamic systems and their sensitivity to initial conditions, SE concentrates on probability distributions and information content. SE quantifies the amount of information present in a source or distribution, whereas KS entropy focuses more on the dynamic characteristics of systems and how sensitive they are to starting conditions.
Overall, chaotic dynamics, randomness, and complexity in the series are confirmed by the KS measure results. Collectively, the results of the Shannon, HCT, and KS measures point to chaos and randomness in the BTd and BTw series under study.

5.2. Nonlinearity Test Results

Since λ was less than 1, we ran the second stage, in which we will assess the stationarity of the variables. Unit Root tests were employed to ascertain stationarity. Linear ADF, and nonlinear KSS, tests were utilized for this purpose. BDS tests were employed to discern the presence of a nonlinear structure. Since BDS tests indicated nonlinearities, TeraesvirtaNW and WhiteNW tests, the Tsay test for nonlinearity, and LR test for threshold nonlinearity were applied.
The results are presented in Table 7 and Table 8. The BDS test exhibits the highest power in detecting nonlinearity, but it does not explain the type of nonlinearity. For this purpose, some other tests must be used [49]. The TeraesvirtaNW and WhiteNW tests, the Tsay test for nonlinearity, and the LR test for threshold nonlinearity indicate that the linear method is misspecified.
Table 8 shows that all variables are nonlinear for all dimensions according to the BDS test.

5.3. Results of the Hybrid Model

In this subsection, we will proceed with solving the equations in Equations (5) and (6). For the variables, we will use the Lie method, which achieves significant success in solving differential models in the presence of uncertainty and chaotic structure, along with the LSTMLie model, which is an advanced version of the Lie method. A comparison of the LieOLS and LieNLS results with the LieLSTMOLS and LieLSTMNLS results will be performed.
Within the framework of the Forecast evaluation, we will compare the results obtained from LieOLS and LieNLS with those obtained from LieLSTMOLS and LieLSTMNLS. In this subsection, we will give our results in two parts.

5.3.1. Experimental Results

The parameter coefficients for bitcoin daily and bitcoin weekly variables are presented in Table 9. The table gives the results obtained by combining both the OLS and NLS methods with the Lie method. The estimates of the Lie parameters are presented in Table 9. The estimates for the α 2 coefficient obtained with both methods are close in value for both models, while the estimates for α 3 exhibits notable differences.
The coefficient of α 3 for the daily bitcoin value is 0.81795, which is significantly higher than the coefficient value of 0.037505 determined by the LieNLS model. Although both variable values are below 1, there is a substantial difference between the coefficients. For the weekly bitcoin value, the α 3 coefficient values from the LieOLS and LieNLS methods are close to each other. The coefficient of the β 2 variable for daily data is also close and negative for both the LieOLS and LieNLS methods. However, for the weekly bitcoin variable, the coefficients are close and positive. The R2 value is significant for all models, with values of 0.85, 0.741, 0.87, and 0.729 for LieOLSd, LieOLSw, LieNLSd, and LieNLSw, respectively. The models have passed the RESET, BP, and ARCH tests (these values are not shown).
The results of the LieOLS and Lie NLS models were also compared with the results of the ARFIMA model. In the ARFIMA model, the MA(1) values are negative for both daily and weekly values. While the d coefficient is positive in the model for daily, it is not expected that MA(1) values are negative and statistically insignificant. In addition, t value for AR(1) was found as 1.135 in the model for daily. It is statistically insignificant. AR(1) is also statistically insignificant in the model for weekly. The ARFIMA model is insignificant compared to the LieOLS and LieNLS methods. After this stage, the model was not used for further stages.
After obtaining the results of LieOLS and LieNLS models, we obtained the results of the hybrid model in the second stage. The parameters and coefficients obtained by solving the two processes (Lie and deep learning) within the framework of the hybrid method are given in Table 10.
Comparing the results of the hybrid model obtained by enhancing the LieOLS and LieNLS methods with the LSTM method to the results of the LieOLS and LieNLS methods alone revealed several improvements. The most notable improvement was in the coefficients of the variables α 2 and α 3 , which differed significantly in the results of the LieOLS and LieNLS methods. For α 2 , there was a distinct oscillation between the daily and weekly variables. Although all coefficients were less than 1, there were still noticeable differences. However, in the studies enhanced with the LSTM method, the results showed convergence. Another significant improvement was observed for the α 3 variable. For instance, while the daily bitcoin data showed different results for the LieOLS and LieNLS methods, the LSTM-enhanced method yielded similar results. This indicates the success of the LSTM method in improving the LieOLS and LieNLS methods.

5.3.2. Forecast Results

According to the results of many studies, the neural network structure is particularly effective in prediction outcomes. Therefore, forecast accuracy is very important in this study. Results were obtained for the in-sample and then for the out-of-sample data.
The forecasting accuracy of the Lie-OLS and LieNLS models was subsequently assessed and enhanced through the utilization of LSTM. To implement the LSTM method, the data were split into two distinct sets: an in-sample training set and an out-sample test set. These sets were created according to time intervals.

The In-Sample Results

Table 11 displays the results of the LieLSTMOLS and LieLSTMNLS methods. Additionally, it presents the outcomes achieved by employing standard regression techniques with the Lie OLS models for comparison.
The LieLSTMOLS models are more successful than the reference LieOLS models, as shown in Table 10.
The success of models upgraded with LSTM is increasing. This shows us that the success rate will increase in the LSTM out-of-sample model.

The Out-of-Sample Results

The results of MAE and RMSE were calculated for LieOLS, LieNLS, LieLSTMNLS, and LieLSTMOLS to assess their predictive performance for T + 1, T + 10 workdays, and T + 1, and T + 10 weeks, as shown in Table 12. The findings from out-of-sample testing reveal that LieLSTMNLS and LieLSTMOLS yield the highest forecast accuracy.
When comparing the results of LieOLS and LieNLS with those of LieLSTMOLS and LieLSTMNLS, it is evident that the LSTM method provides significant improvement in RMSE, MAE, and MAPE results. For instance, for the daily bitcoin data, the RMSE value is 5.38 for the LieOLS method and 4.81 for the LieNLS method. However, for the LieLSTMOLS method, the RMSE value is 1.517, and for the LieLSTMNLS method, it is 1.67.
In terms of RMSE results, the best performance was obtained with the LieLSTMNLS model for T+10. The second-best result was for the bitcoin weekly data with the LieLSTMNLS model for the T + 1 period, followed by the LieLSTMNLS T + 10 result. The highest value, or in other words, the least successful result, was 1.8427, obtained for the LieLSTMNLS method for the T + 1 period. Generally, the RMSE values for LieLSTMOLS and LieLSTMNLS range from 1.0327 to 1.8427. In contrast, the RMSE values for LieOLS and LieNLS generally range from 3.82 to 5.61. Based on our forecast outcomes, the LSTM models demonstrate superior performance compared to the Lie model, showcasing higher forecasting accuracy.

Assessment of Forecast Accuracy

The equivalence of prediction accuracy (null hypothesis H0) was tested using the WSR and DM tests in Table 13 and Table 14.
The results show that the DM and WSR statistics p-values are both 0.00, indicating significance at the 1% level in Table 10 and Table 11. The null hypothesis (H0) for these tests assumes that the models possess equivalent levels of accuracy. In most cases, the H0 hypothesis is rejected as the p-value is <0.05. Accordingly, in the RMSE comparison, the p-value is >0.05, indicating that these two models have comparable RMSE performance.

6. Conclusions

We introduced hybrid models for examining the price behavior and return of bitcoin during the period from 18 July 2010 to 28 December 2023 for daily data and 18 July 2010 to 24 December 2023 for weekly data. In our foundational model, the Lie group SO(3) serves as a differential manifold, effectively identified with the unit sphere S 2 . Furthermore, we integrated this model with LSTM to evaluate its efficacy. In this paper, the focus was on the mean-reverting tendency of bitcoin and a two-factor model for valuing financial and tangible assets based on bitcoin. Our study developed a short-term model and solved it through a hybrid approach combining the Lie method and LSTM network. Upon examination of the bitcoin price time series, we observed excess JB and kurtosis. While alternative methods may be considered for analyzing these processes, our proposed Lie model readily addresses this issue. This is attributed to the modeling of bitcoin prices on the S 2 .
This study primarily aims to enhance the predictive power of variables exhibiting chaotic structures and confirming the presence of entropy by upgrading the LieOLS and LieNLS methods to the LieLSTMOLS and LieLSTMNLS methods. For this purpose, the existence of chaos was first investigated. The chaotic structure was determined using the Lyapunov, Rosenstein et al. [47], and Kantz [48] methods. The results of entropy were obtained from the Havrda–Charvát–Tsallis (HCT) entropy [52,53] and Shannon entropy (SE) tests [51]. KSCM was applied. The nonlinearity and fractionality tests indicated a preference for fractionality, nonlinearity, and long-term dependence across all analyzed series, particularly in the volatility of each series.
So, the tests confirmed the presence of chaotic structure, complexity, and entropy in Bitcoin, with fractionality being most prominent in Bitcoin data. Firstly, the standard ARFIMA method was applied, and its results were compared with those of the LieNLS and LieOLS methods. The findings indicated that under conditions of chaos, entropy, and complexity, the ARFIMA method did not produce successful outcomes. After, LieOLS and LieNLS models, and the LSTM-enhanced LieLSTMOLS and LieLSTMNLS methods were applied. To evaluate the forecasting success of the models, we calculated RMSE, MAE, and MAPE. When comparing the RMSE, MAE, and MAPE results of the LieOLS and LieNLS models with the LSTM-enhanced LieLSTMOLS and LieLSTMNLS, the success of the LSTM-enhanced models became evident. We advocate for modeling with LieLSTM methods to achieve superior forecasting outcomes. The LieLSTMOLS and LieLSTMNLS methods streamline numerical computations. Both LieLSTMOLS and LieLSTMNLS methods presented improved forecasting performance. Specifically, in forecasting bitcoin prices 1 and 10 days, and 1 and 10 weeks ahead, models incorporating LSTM demonstrated reduced values of RMSE and MAE. According to WSR and DB tests, the Lie-LSTM methods emerge as successful in terms of forecasting performance.
Our study underscores the importance of employing the Lie method for analyzing the dynamics of bitcoin.
Our results have significant implications for traders, investors, and policymakers. Our hybrid LieLSTMOLS and LieLSTMNLS methods showed considerable success. However, our models have certain limitations: they do not incorporate sentiment analysis from the bitcoin market. We propose the following enhancements:
  • Expanding the size of the dataset.
  • Applying our model to other cryptocurrencies.

Author Contributions

Conceptualization, M.B., Y.U. and R.T.; methodology, M.B., Y.U. and R.T.; software, M.B., Y.U. and R.T.; validation, M.B., Y.U. and R.T.; formal analysis, M.B., Y.U. and R.T.; investigation, M.B., Y.U. and R.T.; resources, M.B., Y.U. and R.T.; data curation, M.B., Y.U. and R.T.; writing—original draft preparation, M.B., Y.U. and R.T.; writing—review and editing, M.B., Y.U. and R.T.; visualization, M.B., Y.U. and R.T.; supervision, M.B., Y.U. and R.T.; project administration, M.B., Y.U. and R.T.; funding acquisition, M.B., Y.U. and R.T. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The OPEN Access Bitcoin price historical data can be downloaded from https://www.investing.com/crypto/bitcoin/historical-data, accessed on 28 December 2023.

Acknowledgments

This study was supported by the Yildiz Technical University Scientific Research Projects Coordination Unit, Turkey, under project number FBA-2024-6165.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Seabe, P.L.; Moutsinga, C.R.B.; Pindza, E. Forecasting Cryptocurrency Prices Using LSTM, GRU, and Bi-Directional LSTM: A Deep Learning Approach. Fractal Fract. 2023, 7, 203. [Google Scholar] [CrossRef]
  2. Peters, E.E. Fractal Market Analysis: Applying Chaos Theory to Investment and Economics; Wiley Finance Editions; John Wiley & Sons: Hoboken, NJ, USA, 1994; Volume xviii, pp. 1–315. [Google Scholar]
  3. Kristoufek, L. Fractal markets hypothesis and the global financial crisis: Wavelet power evidence. Sci. Rep. 2013, 3, 2857. [Google Scholar] [CrossRef]
  4. Celeste, V.; Corbet, S.; Gurdgiev, C. Fractal dynamics and wavelet analysis: Deep volatility and return properties of Bitcoin, Ethereum and Ripple. Q. Rev. Econ. Financ. 2020, 76, 310–324. [Google Scholar] [CrossRef]
  5. Phillips, R.C.; Gorse, D. Cryptocurrency price drivers: Wavelet coherence analysis revisited. PLoS ONE 2018, 13, e0195200. [Google Scholar] [CrossRef] [PubMed]
  6. David, S.A.; Inacio, C.M.C., Jr.; Nunes, R.; Machado, J.A.T. Fractional and fractal processes applied to cryptocurrencies price series. J. Adv. Res. 2021, 32, 85–98. [Google Scholar] [CrossRef] [PubMed]
  7. Gazizov, R.K.; Ibragimov, N.H. Lie symmetry analysis of differential equations in finance. Nonlinear Dyn. 1998, 17, 387–407. [Google Scholar] [CrossRef]
  8. Carr, P.; Lipton, A.; Madan, D. The Reduction Method for Valuing Derivative Securities; Working Paper; New York University: New York, NY, USA, 2002. [Google Scholar]
  9. Lo, C.F.; Hui, C.H. Valuation of financial derivatives with time-dependent parameters: Lie-algebraic approach. Quant. Financ. 2001, 1, 73–78. [Google Scholar] [CrossRef]
  10. Park, F.C.; Chun, C.M.; Han, C.W.; Webber, N. Interest rate models on Lie groups. Quant. Financ. 2011, 11, 559–572. [Google Scholar] [CrossRef]
  11. Bildirici, M.; Bayazit, N.G.; Ucan, Y. Modelling Oil Price with Lie Algebras and Long Short-Term Memory Networks. Mathematics 2021, 9, 1708. [Google Scholar] [CrossRef]
  12. Shittu, O.I.; Yaya, O.S. Measuring forecast performance of ARMA and ARFIMA models: An application to US Dollar/UK pound foreign exchange rate. Eur. J. Sci. Res. 2009, 32, 167–176. [Google Scholar]
  13. Cheah, E.T.; Fry, J. Speculative bubbles in bitcoin markets? An empirical investigation into the fundamental value of bitcoin. Econ. Lett. 2015, 130, 32–36. [Google Scholar] [CrossRef]
  14. Bariviera, A.F. The inefficiency of bitcoin revisited: A dynamic approach. Econ. Lett. 2017, 161, 1–4. [Google Scholar] [CrossRef]
  15. Urquhart, A. The inefficiency of Bitcoin. Econ. Lett. 2016, 148, 80–82. [Google Scholar] [CrossRef]
  16. Lahmiri, S.; Bekiros, S. Chaos, randomness and multi-fractality in Bitcoin market. Chaos Solitons Fractals 2018, 106, 28–34. [Google Scholar] [CrossRef]
  17. Corbet, S.; Meegan, A.; Larkin, C.; Lucey, B.; Yarovaya, L. Exploring the dynamic relationships between cryptocurrencies and other financial assets. Econ. Lett. 2018, 165, 28–34. [Google Scholar] [CrossRef]
  18. Stavroyiannis, S.; Babalos, V.; Bekiros, S.; Lahmiri, S.; Uddin, G. The High Frequency Multifractal properties of Bitcoin. Phys. A Stat. Mech. Appl. 2019, 520, 62–71. [Google Scholar] [CrossRef]
  19. Bildirici, M.E.; Sonustun, B. Chaotic behavior in gold, silver, copper and bitcoin prices. Resour. Policy 2021, 74, 102386. [Google Scholar] [CrossRef]
  20. Grobys, K. A Fractal and Comparative View of the Memory of Bitcoin and S&P 500 Returns. Res. Int. Bus. Financ. 2023, 66, 102021. [Google Scholar]
  21. Thakkar, A.; Chaudhari, K. Predicting Stock Trend Using an Integrated Term Frequency-Inverse Document Frequency-Based Feature Weight Matrix with Neural Networks. Appl. Soft Comput. J. 2020, 96, 10668. [Google Scholar] [CrossRef]
  22. Thakkar, A.; Lohiya, R. Analyzing fusion of regularization techniques in the deep learning-based intrusion detection system. Int. J. Intell. Syst. 2021, 36, 7340–7388. [Google Scholar] [CrossRef]
  23. Wu, C.H.; Lu, C.C.; Ma, Y.F.; Lu, R.S. A new forecasting framework for bitcoin price with LSTM. In Proceedings of the 2018 IEEE International Conference on Data Mining Workshops (ICDMW), Singapore, 17–20 November 2018; pp. 168–175. [Google Scholar]
  24. Saad, M.; Spaulding, J.; Njilla, L.; Kamhoua, C.A.; Nyang, D.; Mohaisen, A. Overview of Attack Surfaces in Blockchain; Shetty, S., Kamhoua, C., Njilla, L., Eds.; The IEEE Computer Society, Inc.: Washington, DC, USA, 2019. [Google Scholar]
  25. Ji, S.; Kim, J.; Im, H. A comparative study of Bitcoin price prediction using deep learning. Mathematics 2019, 7, 898. [Google Scholar] [CrossRef]
  26. Atsalakis, G.S.; Atsalaki, I.G.; Pasiouras, F.; Zopounidis, C. Bitcoin price forecasting with neuro-fuzzy techniques. Eur. J. Oper. Res. 2019, 276, 770–780. [Google Scholar] [CrossRef]
  27. Chowdhury, R.; Rahman, M.A.; Rahman, M.S.; Mahdy, M.R.C. An approach to predict and forecast the price of constituents and index 5960 References of cryptocurrency using machine learning. Phys. A Stat. Mech. Its Appl. 2020, 551, 124569. [Google Scholar] [CrossRef]
  28. Zhang, X.; Wang, H.; Huang, C.; Xu, X. Bitcoin price prediction using a hybrid model of wavelet decomposition, neural networks, and long short-term memory. Int. J. Forecast. 2020, 36, 101565. [Google Scholar]
  29. Herrera-Camacho, J.; Pérez-Soltero, A.; Hernández-Araico, A.; Antúnez-Montes, O. Forecasting the volatility of Bitcoin: An approach based on machine learning models. Expert. Syst. Appl. 2020, 152, 113415. [Google Scholar]
  30. Derbentsev, V.; Babenko, V.; Khrustalev, K.; Obruch, H.; Khrustalova, S. Comparative performance of machine learning ensemble algorithms for forecasting cryptocurrency prices. Int. J. Eng. 2021, 34, 140–148. [Google Scholar]
  31. Chen, W.; Xu, H.; Jia, L.; Gao, Y. Machine learning model for Bitcoin exchange rate prediction using economic and technology determinants. Int. J. Forecast. 2021, 37, 28–43. [Google Scholar] [CrossRef]
  32. Patel, M.M.; Tanwar, S.; Gupta, R.; Kumar, N. A deep learning-based cryptocurrency price prediction scheme for financial institutions. J. Inf. Secur. Appl. 2020, 55, 102583. [Google Scholar] [CrossRef]
  33. Li, Y.; Jiang, S.; Li, X.; Wang, S. Hybrid data decomposition-based deep learning for Bitcoin prediction and algorithm trading. Financ. Innov. 2022, 8, 3. [Google Scholar] [CrossRef]
  34. Ting, L.; Abd El-Raouf, M.M.; Bakr, M.E.; Alsahangiti, A.M. Analysis of bitcoin prices using a heavy-tailed version of Dagum distribution and machine learning methods. Alex. Eng. J. 2023, 80, 572–583. [Google Scholar] [CrossRef]
  35. Klimyk, A.U.; Vilenkin, N.Y. Representations of Lie groups and special functions. In Representation Theory and Noncommutative Harmonic Analysis II; Springer: Berlin/Heidelberg, Germany, 1995; pp. 137–259. [Google Scholar]
  36. Hochreiter, S.; Schmidhuber, J. Long short-term memory. Neural Comput. 1997, 9, 1735–1780. [Google Scholar] [CrossRef] [PubMed]
  37. Kapetanios, G.; Shin, Y.; Snell, A. Testing for a Unit Root in the Nonlinear STAR Framework. J. Econom. 2003, 112, 359–379. [Google Scholar] [CrossRef]
  38. Mandelbrot, B.B. The Variation of Certain Speculative Prices. J. Bus. 1963, 36, 394–419. [Google Scholar] [CrossRef]
  39. Mandelbrot, B.B. Statistical methodology for nonperiodic cycles from covariance to R/S analysis. Ann. Econ. Soc. Meas. 1972, 1, 259–290. [Google Scholar]
  40. Mandelbrot, B.B.; Wallis, J.R. Robustness of the rescaled range R/S in the measurement of noncyclic long run Statistical dependence. Water Resour. Res. 1969, 5, 967–988. [Google Scholar] [CrossRef]
  41. Bildirici, M.; Ersin, Ö.Ö.; Ibrahim, B. Chaos, Fractionality, Nonlinear Contagion, and Causality Dynamics of the Metaverse, Energy Consumption, and Environmental Pollution: Markov-Switching Generalized Autoregressive Conditional Heteroskedasticity Copula and Causality Methods. Fractal Fract. 2024, 8, 114. [Google Scholar] [CrossRef]
  42. Mensi, W.; Al-Yahyaee, K.H.; Kang, S.H. Structural breaks and double long memory of cryptocurrency prices: A comparative analysis from bitcoin and ethereum. Financ. Res. Lett. 2018, 29, 222–230. [Google Scholar] [CrossRef]
  43. Bouri, E.; Gil-Alana, L.A.; Gupta, R.; Roubaud, D. Modelling long memory volatility in the bitcoin market: Evidence of persistence and structural breaks. Int. J. Financ. Econ. 2019, 24, 412–426. [Google Scholar] [CrossRef]
  44. Bariviera, A.F.; Basgall, M.J.; Hasperué, W.; Naiouf, M. Some stylized facts of the Bitcoin market. Phys. A Stat. Mech. Appl. 2017, 484, 82–90. [Google Scholar] [CrossRef]
  45. Ausloos, M.; Ivanova, K. Introducing False EUR and False EUR exchange rates. Phys. A Stat. Mech. Appl. 2000, 286, 353–366. [Google Scholar] [CrossRef]
  46. Ausloos, M.; Ivanova, K. Multifractal nature of stock exchange prices. Comput. Phys. Commun. 2002, 147, 582–585. [Google Scholar] [CrossRef]
  47. Rosenstein, M.T.; Collins, J.J.; De Luca, C.J. A Practical Method for Calculating Largest Lyapunov Exponents from Small Data Sets. Phys. D Nonlinear Phenom. 1993, 65, 117–134. [Google Scholar] [CrossRef]
  48. Kantz, H. A robust method to estimate the maximal Lyapunov exponent of a timeseries. Phys. Lett. A 1994, 185, 77–87. [Google Scholar] [CrossRef]
  49. Brock, W.; Dechert, W.D.; Scheinkman, J. A Test for Independence Based on the Correlation Dimension; Econpapers, Working papers SSRI-8702; University of Wisconsin: Madison, WI, USA, 1987. [Google Scholar]
  50. Kim, J.M.; Lee, N.; Hwang, S.Y. A Copula Nonlinear Granger Causality. Econ. Model. 2020, 88, 420–430. [Google Scholar] [CrossRef]
  51. Shannon, C.E. A Mathematical Theory of Communication. Bell Syst. Tech. J. 1948, 27, 379–423. [Google Scholar] [CrossRef]
  52. Havrda, J.; Charvât, F. Quantification Method of Classification Processes Concept of Structural α-Entropy. Kybernetica 1967, 3, 30–35. [Google Scholar]
  53. Tsallis, C. Possible Generalization of Boltzmann-Gibbs Statistics. J. Stat. Phys. 1988, 52, 479–487. [Google Scholar] [CrossRef]
  54. Kaspar, F.; Schuster, H.G. Easily Calculable Measure for the Complexity of Spatiotemporal Patterns. Phys. Rev. A 1987, 36, 842–848. [Google Scholar] [CrossRef]
Figure 1. Daily bitcoin price from 18 July 2010 to 28 December 2023.
Figure 1. Daily bitcoin price from 18 July 2010 to 28 December 2023.
Fractalfract 08 00413 g001
Figure 2. Weekly bitcoin price from 18 July 2010 to 24 December 2023.
Figure 2. Weekly bitcoin price from 18 July 2010 to 24 December 2023.
Fractalfract 08 00413 g002
Table 1. Descriptive stats and URT.
Table 1. Descriptive stats and URT.
Descriptive StatsDailyWeekly
Maximum2.99944810.99875
Minimum−0.7695510.396199
Skewness−0.240834−1.042385
Kurtosis3.0759482.879419
Jarque–Bera33.47633125.0098
Observations3379688
Table 2. Heteroskedasticity and unit root tests.
Table 2. Heteroskedasticity and unit root tests.
ARCH-LM Test
BTdBTw
ARCH-LM (1–5)389.67256.03
ResultsARCH effectsARCH effects
Unit Root Test (URT)
KSS [37]−16.59016−9.411
ADF−9.247−5.142103
Table 3. Fractal dimensions and R/S test results.
Table 3. Fractal dimensions and R/S test results.
BTdBTw
Hurst–Mandelbrot R/S test statistic0.450.51
The actual Hausdorff dimensions
Fractal nameBTd DHBTw DH
Asymmetric Cantor set0.70.71
Boundary of the Dragon curve1.541.51
Julia set z2 −11.31.32
Boundary of the Lévy C curve1.931.924
von Koch curve0.9070.93
Brownian function (Wiener process)1.441.46
Table 4. The Hurst exponent and fractal dimension.
Table 4. The Hurst exponent and fractal dimension.
Hurst (H)Fractal Dimension (dA)
BTdBTwBTdBTw
0.530.5351.4761.469
Table 5. Results of Largest Lyapunov and the Lyapunov exponent by the Rosenstein, Collins and DeLuca method and Kantz method [47,48].
Table 5. Results of Largest Lyapunov and the Lyapunov exponent by the Rosenstein, Collins and DeLuca method and Kantz method [47,48].
Largest Lyapunov Exponent (λ)Lyapunov Exponents by Rosenstein, Collins, DeLuca Method [47]Lyapunov Exponents by Kantz Method [48] 1/λ
BTdBTwBTdBTwBTdBTwBTdBTw
0.330.350.510.1150.530.1093.022.857
Table 6. Entropy test results.
Table 6. Entropy test results.
BTdBTw
Shannon entropy
Shannon, transformed to the [0, 1] range
0.4890.306
Havrda–Charvât–Tsallis (HCT) measure51.2752.36
Kolmogorov–Sinai (KS) complexity measure7.466.93
Table 7. Statistics for nonlinearity tests.
Table 7. Statistics for nonlinearity tests.
TestsX.Squared-DailyX.Squared-Weekly
TeraesvirtaNW test11,922.4958.20973
WhiteNW test1919.9149.83447
LR test for
threshold nonlinearity
2462.02199.00979
F-statsF-stats
Tsay’s test for nonlinearity161,606.62.96846
Table 8. BDS test statistic.
Table 8. BDS test statistic.
DailyWeekly
Dimensionsz-Statisticz-Statistic
2149.164647.87819
3159.874251.55992
4173.203456.45552
5192.404562.04549
6218.578169.07627
Table 9. Lie parameter estimations.
Table 9. Lie parameter estimations.
LieOLS MethodsLieNLS MethodsARFIMA Methods
DailyWeeklyDailyWeekly
α 2 0.104384
(5.12)
0.670879
(9.11)
0.277586
(8.33)
0.400311
(3.36)
--
α 3 0.81795
(3.268)
0.507589
(10.47)
0.037505
(7.627)
0.524064
(4.76)
--
β 1 0.237793
(4.69)
0.190746
(3.025)
0.037536
(4.931)
0.204789
(5.04)
--
β 2 −0.107061
(5.99)
0.565645
(5.068)
−0.100084
(2.556)
0.507935
(5.43)
--
β 3 0.056989
(8.79)
−0.158533
(1.92)
0.083018
(1.98)
−0.143251
(0.72)
--
β 4 0.056989
(2.17)
0.076463
(1.73)
0.139092
(1.86)
0.066750
(2.012)
--
β 5 −0.03626
(1.81)
0.297055
(1.79)
0.064969
(2.096)
−0.109947
(1.96)
--
d ----0.389472
(5.137)
0.483771
(4.45147)
A R ( 1 ) ----0.217658
(1.135)
0.59742
(1.403)
M A ( 1 ) ----−0.352901
(1.506645)
−0.155307
(4.91951)
SIGMASQ----2.208836
(29.87)
3.282842
(33.8377)
AIC2.683.662.773.493.6467424.04
R20.850.7410.870.7290.6446710.741
Table 10. LieLSTM parameter estimations.
Table 10. LieLSTM parameter estimations.
LieLSTMOLS MethodsLieLSTMNLS Methods
DailyWeeklyDailyWeekly
α 2 0.214
(2.62)
0.18
(2.14)
0.252
(2.07)
0.121
(1.86)
α 3 0.35
(2.28)
0.259
(2.67)
0.405
(3.17)
0.314
(2.26)
β 1 0.93
(1.89)
0.76
(3.45)
0.86
(2.91)
0.69
(3.27)
β 2 −0.261
(2.76)
0.315
(2.18)
−0.195
(2.44)
0.335
(1.93)
β 3 0.019
(3.28)
0.142
(1.98)
0.028
(1.88)
0.151
(3.22)
β 4 0.10485
(1.88)
0.0663
(1.76)
0.10492
(2.16)
0.0753
(3.48)
β 5 −0.03626
(1.96)
0.297055
(2.063)
0.064969
(1.97)
−0.109947
(2.13)
AIC1.21.952.0152.05
R20.850.790.860.791
Table 11. Forecast results from the in-sample data.
Table 11. Forecast results from the in-sample data.
Lie OLS MethodLie NLS
Method
LieLSTMOLS
Method
LieLSTMNLS Method
DailyWeeklyDailyWeeklyDailyWeeklyDailyWeekly
RMSE6.5145.6145.435.381.481.4891.491.824
MAE6.304.074.974.741.191.1991.191.5071
MAPE68.8659.7751.2655.8411.89 12.92 11.7621.145
Table 12. The performances of the methods compared in out-of-sample situations.
Table 12. The performances of the methods compared in out-of-sample situations.
Standard Lie OLS MethodStandard Lie NLS Method
DailyWeeklyDailyWeekly
T + 1T + 10T + 1T + 10T + 1T + 10T + 1T + 10
RMSE5.385.465.615.194.214.813.823.91
MAE4.744.915.075.623.383.972.972.65
MAPE55.8460.0161.7756.5144.0451.1641.5844.36
LSTM
LieLSTMOLS MethodLieLSTMNLS Method
DailyWeeklyDailyWeekly
T + 1T + 10T + 1T + 10T + 1T + 10T + 1T + 10
RMSE1.5171.581.04871.07061.671.03271.84271.767
MAE0.660.6660.750.74760.650.8960.458500.712
MAPE11.7411.3119.1859.26912.7311.911512.787211.984
Table 13. The WSR test p-values.
Table 13. The WSR test p-values.
LieOLSLieNLSLieLSTMOLSLieLSTMNLS
LieOLS-
LieNLS0.36-
LieLSTMOLS0.0080.024-
LieLSTMNLS0.0150.0230.001-
Table 14. The DM test p-values.
Table 14. The DM test p-values.
LieOLSLieNLSLieLSTMOLSLieLSTMNLS
LieOLS-
LieNLS0.32-
Lie-LSTMOLS0.0120.019-
Lie-LSTMNLS0.0130.0270.006-
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Bildirici, M.; Ucan, Y.; Tekercioglu, R. A Hybrid Approach Combining the Lie Method and Long Short-Term Memory (LSTM) Network for Predicting the Bitcoin Return. Fractal Fract. 2024, 8, 413. https://doi.org/10.3390/fractalfract8070413

AMA Style

Bildirici M, Ucan Y, Tekercioglu R. A Hybrid Approach Combining the Lie Method and Long Short-Term Memory (LSTM) Network for Predicting the Bitcoin Return. Fractal and Fractional. 2024; 8(7):413. https://doi.org/10.3390/fractalfract8070413

Chicago/Turabian Style

Bildirici, Melike, Yasemen Ucan, and Ramazan Tekercioglu. 2024. "A Hybrid Approach Combining the Lie Method and Long Short-Term Memory (LSTM) Network for Predicting the Bitcoin Return" Fractal and Fractional 8, no. 7: 413. https://doi.org/10.3390/fractalfract8070413

Article Metrics

Back to TopTop