Next Article in Journal
Quantum Contextual Advantage Depending on Nonzero Prior Probabilities in State Discrimination of Mixed Qubit States
Next Article in Special Issue
Cryptocurrency Market Consolidation in 2020–2021
Previous Article in Journal / Special Issue
Continuous Time Random Walk with Correlated Waiting Times. The Crucial Role of Inter-Trade Times in Volatility Clustering
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

What Drives Bitcoin? An Approach from Continuous Local Transfer Entropy and Deep Learning Classification Models

by
Andrés García-Medina
1,2,* and
Toan Luu Duc Huynh
3,4,5
1
Unidad Monterrey, Centro de Investigación en Matemáticas, A.C. Av. Alianza Centro 502, PIIT, Apodaca 66628, Mexico
2
Consejo Nacional de Ciencia y Tecnología, Av. Insurgentes Sur 1582, Col. Crédito Constructor, Ciudad de México 03940, Mexico
3
WHU—Otto Beisheim School of Management, 56179 Düsseldorf, Germany
4
UEH Institute of Innovation (UII), University of Economics Ho Chi Minh City, Ho Chi Minh City 70000, Vietnam
5
IPAG Business School, 75006 Paris, France
*
Author to whom correspondence should be addressed.
Entropy 2021, 23(12), 1582; https://doi.org/10.3390/e23121582
Submission received: 28 September 2021 / Revised: 19 November 2021 / Accepted: 23 November 2021 / Published: 26 November 2021
(This article belongs to the Special Issue Three Risky Decades: A Time for Econophysics?)

Abstract

:
Bitcoin has attracted attention from different market participants due to unpredictable price patterns. Sometimes, the price has exhibited big jumps. Bitcoin prices have also had extreme, unexpected crashes. We test the predictive power of a wide range of determinants on bitcoins’ price direction under the continuous transfer entropy approach as a feature selection criterion. Accordingly, the statistically significant assets in the sense of permutation test on the nearest neighbour estimation of local transfer entropy are used as features or explanatory variables in a deep learning classification model to predict the price direction of bitcoin. The proposed variable selection do not find significative the explanatory power of NASDAQ and Tesla. Under different scenarios and metrics, the best results are obtained using the significant drivers during the pandemic as validation. In the test, the accuracy increased in the post-pandemic scenario of July 2020 to January 2021 without drivers. In other words, our results indicate that in times of high volatility, Bitcoin seems to self-regulate and does not need additional drivers to improve the accuracy of the price direction.

1. Introduction

Currently, there is tremendous interest in determining the dynamics and direction of the price of Bitcoin due to its unique characteristics, such as its decentralization, transparency, anonymity, and speed in carrying out international transactions. Recently, these characteristics have attracted the attention of both institutional and retail investors. Thanks to technological developments, investor trading strategies are benefited by digital platforms; therefore, market participants are more likely to digest and create information for this market. Of special interest is its decentralized character, since its value is not determined by a central bank but, essentially, only by supply and demand, recovering the ideal of a free market economy. At the same time, it is accessible to all sectors of society, which breaks down geographic and particular barriers for investors. The fact that there are a finite number of coins and the cost of mining new coins grows exponentially has suggested to some specialists that it may be a good instrument for preserving value. That is, unlike fiat money, Bitcoin cannot be arbitrarily issued, so its value is not affected by the excessive issuance of currency that central banks currently follow, or by low interest rates as a strategy to control inflation. In other words, it has been recently suggested that bitcoin is a safe-haven asset or store of value, having a role similar to that once played by gold and other metals.
The study of cryptocurrencies and bitcoin has been approached from different perspectives and research areas. It has been addressed from the point of view of financial economics, econometrics, data science, and more recently by econophysics. In these approaches, various methodologies and mathematical techniques have been utilised to understand different aspects of these new financial instruments. These topics range from systemic risk, the spillover effect, autoscaling properties, collective patterns, price formation, and forecasting in general. Remarkable work in the line of multiscale analysis of cryptocurrency markets can be found in [1]. However, this paper is motivated by using the econphysics approach, incorporated with rigorous control variables to predict Bitcoin price patterns. We would like to offer a comprehensive review of the determinants of Bitcoin prices. The first pillar can be defined as sentiment and social media content. While Bitcoin is widely considered a digital financial asset, investors pay attention to this largest market capitalization by searching its name. Therefore, the strand of literature on Google search volume has become popular for capturing investor attention [2]. Concomitantly, not only peer-to-peer sentiment (individual Twitter accounts or fear from investors) [3,4] but also influential accounts (the U.S. President, media companies) [5,6,7] significantly contribute to Bitcoin price movement. Given the greatest debate on whether Bitcoin should act as a hedging, diversifying or safe-haven instrument, Bitcoin exhibits a mixture of investing features. More interestingly, uncertain shocks might cause changes in both supply and demand in Bitcoin circulation, implying a change in its prices [8]. Thus, the diverse stylized facts of Bitcoin, including heteroskedasticity and long memory, require uncertainty to be controlled in the model. While uncertainties represent the amount of risk (compensated by the Bitcoin returns) [9], our model also includes the price of risk, named the ‘risk aversion index’ [10]. These two concepts (amount of risk and the price of risk) demonstrate discount rate factors in the time variation of any financial market [11]. In summary, the appearance of these determinants could capture the dynamics of the cryptocurrency market. Since cryptocurrency is a newly emerging market, the level of dependence in the market structure is likely higher than that in other markets [12]. Furthermore, the contagion risk and the connectedness among these cryptocurrencies could be considered the risk premium for expected returns [13,14]. More importantly, this market can be driven by small market capitalization, implying vulnerability of the market [15]. Hence, our model should contain alternative coins (altcoins) to capture their movements in the context of Bitcoin price changes. Finally, investors might consider the list of these following assets as alternative investment, precious metals being the first named. They are not only substitute assets [16] but also predictive factors (for instance, gold and platinum) [17], which additionally include commodity markets (such as crude oil [18,19], exchange rate [20], equity market [21]), and Tesla’s owner [22]). In summary, there are voluminous determinants of Bitcoin prices. In the scope of this study, we focus on the predictability of our model, especially the inclusion of social media content, representing the high popularity of information, on the Bitcoin market. However, the more control variables there are, the higher the accuracy of prediction. Our model thus may be a useful tool by combining the huge predictive factors for training and forecasting the response dynamics of Bitcoin to other relevant information.
This study approaches Bitcoin from the framework of behavioural and financial economics using an approach from econophysics and data science. In this sense, it seeks to understand the speculative character and the possibilities of arbitrage through a model that includes investor attention and the effect of the news, among other factors. For this, we will use a causality method originally proposed by Schreiber [23], and we will use the information as characteristics of a deep learning model. The current literature only focuses on specific sentiment indicators (such as Twitter users [3] or the number of tweets [24,25]), and our study crawled the original text from influential Twitter social media users (such as the President of United States, CEO of Tesla, and well-known organizations such as the United Nations and BBC Breaking News). Then, we processed language analyses to construct the predictive factor for Bitcoin prices. Therefore, our model incorporates a new perspective on Bitcoin’s drivers.
In this direction, the work of [26] uses the effective transfer entropy as an additional feature to predict the direction of U.S. stock prices under different machine learning approaches. However, the approximation is discrete and based on averages. Furthermore, the employed metrics are not exhaustive to determine the predictive power of the models. In a similar vein, the authors of [27] perform a comparative analysis of machine learning methods for the problem of measuring asset risk premiums. Nevertheless, they do not take into account recurrent neural network models or additional nontraditional features. Furthermore, an alternative approach to study the main drivers of Bitcoin is discussed in [28], where the author explores wavelet coherence to examine the time and frequency domains between short- and long-term interactions. In the same vein, the recent studies employed the correlation networks and vector error correction models to explain the price prediction and exchange spillovers [29,30]. Of course, Bitcoin prediction is more likely to have sentimental and ‘noise’ factors differing from stock prediction.
On the other hand, there are methodologies to explain machine learning results known as eXplainable Artificial Intelligence (XAI). Among these, two of the most popular are Local Interpretable Model Agnostic [31] and Shapley Additive Explanation (SHAP) [32]. Both techniques are based on disturbing the model locally. The former assumes a linear model to obtain the score of the characteristics in terms of the importance of making predictions; the latter uses game theory concepts to find the best feature fitting in terms of predictive gain. In [33] these techniques are extended to include temporal dependencies and demonstrate the need to develop XAI techniques applicable to time series. In [34,35] is proposed an XAI method applicable to credit risk. In a similar vein, the authors of [36] mention the difficulty of estimating out-of-sample behavior in stress scenarios. An interesting work is [37], where it is considered a gradient boosting decision trees approximation to predict the drops of the S&P 500 markets using a large number of characteristics. The authors claim that retaining a small and carefully selected amount of features improves the learning model results.
However, as mentioned in the cornerstone work [31] it is not possible to explain a highly non-linear model through local perturbations. That is, there is a high instability derived from the characteristics of the inherent dynamical system. In addition, the examples of the articles mentioned above run in most cases in seconds or minutes. Therefore, the LIME and SHAP methods are appropriate mainly for machine learning models or simple deep learning scenarios [38]. In this spirit, it is not practical to follow the traditional XAI approach, given the computational demand derived from the number of hyperparameters and configurations to be implemented. However, our proposal to use transfer entropy in the variable selection process can be considered an alternative strategy to XAI. In particular, of interest for highly non-linear dependency conditions, such as bitcoin dynamics.
Our study embodied a wide range of Bitcoin’s drivers from alternative investment, economic policy uncertainty, investor attention, and so on. However, social media is our main contribution to predictive factors. Specifically, we study the effect that a set of Twitter accounts belonging to politicians and millionaires has on the behaviour of Bitcoin’s price direction. In this work, the statistically significant drivers of Bitcoin are detected in the sense of the continuous estimation of local transfer entropy (local TE) through nearest neighbours and permutation tests. The proposed methodology deals with non-Gaussian data and nonlinear dependencies in the problem of variable selection and forecasting. One main aim is to quantify the effects of investor attention and social media on Bitcoin in the context of behavioural finance. Another aim is to apply classification metrics to indicate the effects of including or not the statistically significant features in an LSTM’s classification problem.
The next Section 2 introduce the local transfer entropy, the nearest neighbour estimation technique, the deep learning forecasting models, and the classification metrics. Section 3 describes the data and their main descriptive characteristics. Section 4 presents and highlights the main results. Finally, Section 5 highlights the implications of the results, and future work is proposed.

2. Materials and Methods

2.1. Transfer Entropy

Transfer Entropy (TE) [23] measures the flow of information from system Y over system X in a nonsymmetric way. Denote the sequences of states of systems X, Y in the following way: x i = x ( i ) and y i = y ( i ) , i = 1 , , N . The idea is to model the signals or time series as Markov systems and incorporate the temporal dependencies by considering the states x i and y i to predict the next state x i + 1 . If there is no deviation from the generalized Markov property p ( x i + 1 | x i , y i ) = p ( x i + 1 | x i ) , then Y has no influence on X. Hence, TE is derived using the last idea and defined as
T Y X ( k , l ) = p ( x i + 1 , x i ( k ) , y i ( l ) ) log p ( x i + 1 | x i ( k ) , y i ( l ) ) p ( x i + 1 | x i ( k ) ) ,
where x i ( k ) = ( x i , , x i k + 1 ) and y i ( l ) = ( y i , , y i l + 1 ) .
TE can be thought of as a global average or expected value of a local transfer entropy at each observation [39]
T Y X ( k , l ) = log p ( x i + 1 | x i ( k ) , y i ( l ) ) p ( x i + 1 x i ( k ) )
The main characteristic of the local version of TE is to be measured at each time n for each destination element X in the system and each causal information source Y of the destination. It can be either positive or negative for a specific event set ( x i + 1 , x i ( k ) , y i ( l ) ) , which gives the opportunity to have a measure of informativeness or noninformativeness at each point of a pair of time series.
On the other hand, there exist several approximations to estimate the probability transition distributions involved in TE expression. Nevertheless, there is not a perfect estimator. It is generally impossible to minimize both the variance and the bias at the same time. Then, it is important to choose the one that best suits the characteristics of the data under study. That is the reason finding good estimators is an open research area [40]. This study followed the Kraskov-Stögbauer-Grassberger) KSG estimator [41], which focused on small samples for continuous distributions. Their approach is based on nearest neighbours. Although obtaining insight into this estimator is not easy, we will try it in the following.
Let X = ( x 1 , x 2 , , x d ) now denote a d-dimensional continuous random variable whose probability density function is defined as p : R d R . The continuous or differential Shannon entropy is defined as
H ( X ) = R d p ( X ) log p ( X ) d X
The KSG estimator aims to use similar length scales for K-nearest-neighbour distance in different spaces, as in the joint space to reduce the bias [42].
To obtain the explicit expression of the differential entropy under the KSG estimator, consider N i.i.d. samples χ = { X ( i ) } i = 1 N , drawn from p ( X ) . Beneath the assumption that ϵ i , K is twice the (maximum norm) distance to the k-th nearest neighbour of X ( i ) , the differential entropy can be estimated as
H ^ K S G , K ( X ) ψ ( N ) ψ ( K ) + d N i = 1 N log ϵ i , K ,
where ψ is known as the digamma function and can be defined as the derivative of the logarithm of the gamma function Γ ( x )
ψ ( K ) = 1 Γ ( K ) d Γ ( K ) d K
The parameter K defines the size of the neighbourhood to use in the local density estimation. It is a free parameter, but there exists a trade-off between using a smaller or larger value of K. The former approach should be more accurate, but the latter reduces the variance of the estimate. For further intuition, Figure 1 graphically shows the mechanism for choosing the nearest neighbours at K = 3 .
The KSG estimator of TE can be derived based on the previous estimation of the differential entropy. Yet, in most cases, as analysed in this work, no analytic distribution is known. Hence, the distribution of T Y s X ( k , l ) must be computed empirically, where Y s denotes the surrogate time series of Y. This is done by a resampling method, creating a large number of surrogate time-series pairs { Y s , X } by shuffling (for permutations or redrawing for bootstrapping) the samples of Y. In particular, the distribution of T Y s X ( k , l ) is computed by permutation, under which surrogates must preserve p ( x n + 1 | x n ) but not p ( x n + 1 | x n , y n ) .

2.2. Deep Learning Models

We can think of artificial neural networks (ANNs) as a mathematical model whose operation is inspired by the activity and interactions between neuronal cells due to their electrochemical signals. The main advantages of ANNs are their non-parametric and nonlinear characteristics. The essential ingredients of an ANN are the neurons that receive an input vector x i , and through the point product with a vector of weights w, generate an output via the activation function g ( · ) :
f ( x i ) = g ( x u · w ) + b ,
where b is a trend to be estimated during the training process. The basic procedure is the following. The first layer of neurons or input layer receives each of the elements of the input vector x i and transmits them to the second (hidden) layer. The next hidden layers calculate their output values or signals and transmit them as an input vector to the next layer until reaching the last layer or output layer, which generates an estimation for an output vector.
Further developments of ANNs have brought recurrent neural networks (RNNs), which have connections in the neurons or units of the hidden layers to themselves and are more appropriate to capture temporal dependencies and therefore are better models for time series forecasting problems. Instead of neurons, the composition of an RNN includes a unit, an input vector x t , and an output signal or value h t . The unit is designed with a recurring connection. This property induces a feedback loop, which sends a recurrent signal to the unit as the observations in the training data set are analysed. In the internal process, backpropagation is performed to obtain the optimal weights. Unfortunately, backpropagation is sensitive to long-range dependencies. The involved gradients face the problem of vanishing or exploding. Long-short-term memory (LSTM) models were introduced by Hochreiter and Schmidhuber [43] to avoid these problems. The fundamental difference is that LSTM units are provided with memory cells and gates to store and forget unnecessary information.
The final ANNs we need to discuss are convolutional neural networks (CNNs). They can be thought of as a kind of ANN that uses a high number of identical copies of the same neuron. This allows the network to express computationally large models while keeping the number of parameters small. Usually, in the construction of these types of ANNs, a max-pooling layer is included to capture the largest value over small blocks or patches in each feature map of previous layers. It is common that CNN and pooling layers are followed by a dense fully connected layer that interprets the extracted features. Then, the standard approach is to use a flattened layer between the CNN layers and the dense layer to reduce the feature maps to a single one-dimensional vector [44].

2.3. Classification Metrics

In classification problems, we have the predicted class and the actual class. The possible scenarios under a classification prediction are given by the confusion matrix. They are true positive ( T P ), true negative ( T N ), false positive ( F P ), and false negative ( F N ). Based on these quantities, it is possible to define the following classification metrics:
  • Accuracy = T P + T N T P + T N + F P + F N
  • Sensitivity, recall or true positive rate (TPR) = T P T P + F N
  • Specificity, selectivity or true negative rate (TNR) = T N T N + F P
  • Precision or Positive Predictive Value (PPV) = T P T P + F P
  • False Omission Rate (FOR) = F N F N + T N
  • Balanced Accuracy (BA) = T P R + T N R 2
  • F1 score = 2 P P V × T P R P P V + T P R .
The most complex measure is the area under the curve (AUC) of the receiver operating characteristic (ROC), where it expresses the pair ( T P R τ , 1 T N R τ ) for different thresholds τ . Contrary to the other metrics, the AUC of the ROC is a quality measure that evaluates all the operational points of the model. A model with the aforementioned metric equal to 0.5 is considered a random model. Then, a value significantly higher than 0.5 is considered a model with predictive power, with a value of 1 the upper bound of this quantity.

3. Data

An important part of the work is the acquisition and preprocessing of data. We focus on the period of time from 1 January 2017 to 9 January 2021 at a daily frequency for a total of n = 1470 observations. As a priority, we consider the variables listed in Table 1 as potential drivers of the price direction of Bitcoin (BTC). Investor attention is considered Google Trends with the query = “Bitcoin”. Additionally, the number of mentions is properly scaled to make comparisons between days of different months because by default, Google Trends weighs the values by a monthly factor. Then, the log return of the resulting time series is calculated.
The social media data are collected from the Twitter API (https://developer.twitter.com/en/docs/twitter-api, accessed on 15 January 2021). Nevertheless, the API of Twitter only enables downloading the latest 3200 tweets of a public profile, which generally was not enough to cover the period of study. Then, the dataset has been completed with the freely available repository of https://polititweet.org/ (accessed on 15 January 2021). In this way, the collected number of tweets was 21,336, 22,808, 24,702, 11,140, and 26,169 for each of the profiles listed on Table 1 in the social media type, respectively. The textual data of each tweet in the collected dataset are transformed to a sentiment polarity score through the VADER lexicon [45]. Then, the scores are aggregated daily for each profile. The resulting daily time series have missing values due to the inactivity of the users, and then a third-order spline is considered before calculating their differences. The last is to stationarize the polarity time series. It is important to remember that Donald Trump’s account was blocked on 8 January 2021, so it was also necessary to impute the last value to have series of the same length.
The economic policy uncertainty index is a Twitter-based uncertainty index (Twitter-EPU). The creators of the index used the Twitter API to extract tweets containing keywords related to uncertainty (“uncertain”, “uncertainly”, “uncertainties”, “uncertainty”) and economy (“economic”, “economical”, “economically”, “economics”, “economies”, “economist”, “economists”, “economy”). Then, we use the index consisting of the total number of daily tweets containing inflections of the words uncertainty and economy (Please consult https://www.policyuncertainty.com/twitter_uncert.html for further details of the index, accessed on 15 January 2021). The risk aversion category considers the financial proxy to risk aversion and economic uncertainty proposed as a utility-based aversion coefficient [10]. A remarkable feature of the index is that in early 2020, it reacted more strongly to the new COVID-19 infectious cases than did a standard uncertainty proxy.
As complementary drivers, it includes a set of highly capitalized cryptocurrencies and a heterogeneous portfolio of financial indices. Specifically, Ethereum (ETH), Litecoin (LTC), Ripple (XRP), Dogecoin (DOGE), and the stable coin TETHER are included from yahoo finance (https://finance.yahoo.com/, accessed on 15 January 2021). The components of the heterogeneous portfolio are listed in Table 1, which takes into account the Chicago Board Options Exchange’s CBOE Volatility Index (VIX). This last information was extracted from Bloomberg (https://www.bloomberg.com/, accessed on 15 January 2021). It is important to point out that risk aversion and the financial indices do not have information that corresponds to weekends. The imputation method to obtain a complete database consisted of repeated Friday values as a proxy for Saturday and Sunday. Then, the log return of the resulting time series is calculated. This last transformation was also made for Twitter-EPU and cryptocurrencies. The complete dataset can be found in the Supplementary Materials.
Usually, the econophysics and data science approaches share the perspective of observing data first and then modelling the phenomena of interest. In this spirit, and with the intention of gaining intuition on the problem, the standardized time series (target and potential drivers), as well as the cumulative return of the selected cryptocurrencies and financial assets are plotted in Figure 2 and Figure 3. The former figure shows high volatility in almost all the studied time series around March 2020, which might be due to the declaration of the pandemic by the World Health Organization (WHO) and the consequent fall of the worlds main stock markets. The latter figure exhibits the overall best cumulative gains for BTC, ETH, LTC, XRP, DOGE, and Tesla. It is worth noting that the only asset with a comparable profit to that of the cryptocurrencies is Tesla, which reaches high cumulative returns starting at the end of 2019 and increases its uptrend immediately after the announcement of the worldwide health emergency.
Furthermore, Figure 4 shows the heatmap of the correlation matrix of the preprocessed dataset. We can observe the formation of certain clusters, such as cryptocurrencies, metals, energy, and financial indices, which tells us about the heterogeneity of the data. It should also be noted that the VIX volatility index is anti-correlated with most of the variables.
Additionally, the main statistical descriptors of the data are presented in Table 2. The first column is the variable’s names or tickers. The subsequent columns represent the mean, standard deviation, skewness, kurtosis, Jarque Bera test (JB), and the associated p value of the test for each variable, i.e., target, and potential drivers. Basically, none of the time series passes the test of normality distribution, and most of them present a high kurtosis, which is indicative of heavy tail behaviour. Finally, stationarity was checked in the sense of Dickey-Fuller and the Phillips-Perron unit root tests, where all variables pass both tests.

4. Results

4.1. Variable Selection

The observed characteristics of the data in the previous section justify the use of a non-parametric approach to determine the explainable features to be employed in the predictive classification model. Therefore, the variable selection procedure consisted of applying the continuous transfer entropy from each driver to Bitcoin using the KSG estimation. Figure 5 shows the average transfer entropy when varying the Markov order k , l and neighbour parameter K from one to ten for a total of 1000 different estimations by each driver. The higher the intensity of the colour, the higher the average transfer entropy (measured in nats). The grey cases do not transfer information to BTC. In other words, these cases do not show a statistically significant flow of information, where the permutation test is applied to construct 100 surrogate measurements under the null hypothesis of no directed relationship between the given variables.
The tuple of parameters { k , l , K } that give the highest average transfer entropy from each potential driver to BTC are considered optimal, and the associated local TE is kept as a feature in the classification model of Bitcoin’s price direction. Figure 6 shows the local TE from each statistically significant driver to BTC at the optimal parameter tuple { k , l , K } . Note that the set of local TE time series is limited to 23 features. Consequently, the set of originally proposed potential drivers is reduced from 25 to 23. Surprisingly, NASDAQ and Tesla do not send significative information to BTC for any value of { k , l , K } in the grid of the 1000 different configurations. The variations are smooth on K, but not on the Markov order k , l . It is also notorious the negligible amounts of the flow of information at k = l = 1 .

4.2. Bitcoin’s Price Direction

The task of detecting Bitcoin’s price direction was done through a deep learning approach. The first step consisted of splitting the data into training, validation, and test datasets. The chosen training period runs from 1 January 2017 to 4 January 2020, or 75% of the original entire period of time, and is characterized as a prepandemic scenario. The validation dataset is restricted to the period from 5 January 2020 to 11 July 2020, or 13% of the original data, and is considered the pandemic scenario. The test dataset involves the postpandemic scenario from 12 July 2020 to 9 January 2021 and contains 12% of the complete dataset. Deep learning forecasting requires transforming the original data into a supervised data set. Here, samples of 74 historical days and a one-step prediction horizon are given to the model to obtain a supervised training dataset, with the first dimension being a power of two, which is important for the hyperparameter selection of the batch dimension. Specifically, the sample dimensions are 1024, 114, and 107 for training, validation, and testing, respectively. Because we are interested in predicting the direction of BTC, the time series are not demeaned and instead are only scaled by their variance when feeding the deep learning models. An important piece in a deep learning model is the selection of the activation function. In this work, the rectified linear unit (ReLU) was selected for the hidden layers. Then, for the output layer, the sigmoid function is chosen because we are dealing with a classification problem. In addition, an essential ingredient is the selection of the stochastic gradient descent method. Here, Adam optimization is selected based on adaptive estimation of the first- and second-order moments. In particular, we used version [46] to search for the long-term memory of past gradients to improve the convergence of the optimizer.
There exist several hyperparameters to take into account when modelling a classification problem under a deep learning approach. These hyperparameters must be calibrated on the training and validation datasets to obtain reliable results on the test dataset. The usual procedure to set them is via a grid search. Nevertheless, deeper networks with more computational power are necessary to obtain the optimal values in a reasonable amount of time. To avoid excessive time demands, we vary the most crucial parameters in a small grid and apply some heuristics when required. The number of epochs, is selected under the early stopping procedure. Another crucial hyperparameter is the batch, or the number of samples to work through before updating the internal weight of the model. For this parameter the selected grid was { 32 , 64 , 128 , 256 } . Additionally, we consider the initial learning rates at which the optimizer starts the algorithm, which were { 0.001 , 0.0001 } . As an additional method of regularization, the effect of dropping between consecutive layers is added. This value can take values from 0 to 1. Our grid for this hyperparameter is { 0.3 , 0.5 , 0.7 } . Finally, because of the stochastic nature of the deep learning models, it is necessary to run several realizations and work with averages. We repeat the hyperparameter selection with ten different random seeds for robustness. The covered scenarios are the following: univariate (S1), where bitcoin is self-driven; all features (S2), where all the potential drivers listed in Table 1 are included as features of the model; significative features (S3), only statistically significant drivers under the KSG transfer entropy approach are considered as features; local TE, only the local TE of the statistically significant drivers are included as a feature; and finally the significative features + local TE (S5) scenario, which combines scenarios (S3) and (S4). Finally, five different designs have been proposed for the architectures of the neural networks, which are denoted as deep LSTM (D1), wide LSTM (D2), deep bidirectional LSTM (D3), wide bidirectional LSTM (D4), and CNN (D5). The specific designs and diagrams of these architectures are displayed in Figure 7. In total, 6000 configurations or models were executed, which included the grid search for the optimal hyperparameters, the different scenarios and architectures, and the realizations on different seeds to avoid biases due to the stochastic nature of the considered machine learning models.
The computation was done in a workstation with the following characteristics: Alienware Aurora R7, Ubuntu 20.10, Processor i9-9900X 8 cores, 16 logic, 64 GB RAM, Dual NVIDIA RTX 2080 ti, 3TB HHD. On this equipment, the computational demand extends the execution to nearly 60 h of computation. Table 3 and Table 4 present the main results for the validation and test datasets, respectively. Table 2 explicitly states the best value for the dropout, learning rate (LR), and batch hyperparameters. In both tables, the hashtag (#) column indicates the number of times the specific scenario gives the best score for the different metrics considered so far. Hence, the architecture design D3 for case S3 yields the highest number of metrics with the best scores in the validation dataset. In contrast, in the test dataset, the highest number of metrics with the best scores correspond to design D2 for case S1. Nevertheless, design D5 from case S5 is close in the sense of the # value, where it presents the best AUC and PPV scores. An important point to keep in mind is that only during the validation stage we find models with an AUC greater than 0.6, so this metric does not give evidence of predictive power in the testing stage.
In a robustness discussion, we would like to compare our predictive feature with the existing approaches. While the current studies look at the conventional approach of econometrics [29,30], our study sheds light on the deep learning method. Accordingly, we had two samples (training sample and test group). Therefore, it allows us to validate our findings with different periods. The unique, comparable study that we have found in the area of learning models is due to [26]. However, they only show the results for two accuracy metrics when predicting the direction of the US markets. Even so, barely the metrics exceed the value of 0.6, and it is not clear if they are considering a test set.

5. Discussion

We start from descriptive statistics as a first approach to intuitively grasp the complex nature of Bitcoin, as well as its proposed heterogeneous drivers. As expected, the variables did not satisfy the normality assumption and presented high kurtosis, highlighting the need to use non-parametric and nonlinear analyses.
The KSG estimation of TE found a consistent flow of information from the potential drivers to Bitcoin through the considered range of K nearest neighbours. Even when, in principle, the variance of the estimate decreases with K, the results obtained with K = 1 do not change abruptly for larger values. In fact, the variation in the structure of the TE matrix for different Markov orders k , l is more notorious. Additionally, attention must be paid to the evidence about the order k = l = 1 through values near zero. Practitioners usually assume this scenario under Gaussian estimations. A precaution must then be made about the memory parameters of Markov, at least when working with the KSG estimation. The associated local TE does not show any particular pattern beyond high volatility, reaching values of four nats when the average is below 0.1. Thus, volatility might be a better proxy for price fluctuations in future studies.
In terms of intuitive explanations, we found that the drivers of Bitcoin might not truly capture its returns in distressed periods. Although we expected to witness that the predictive power of these determinants might play an important role across time horizons, it turns out that the prediction model of Bitcoin relies on a choice of a specific period. Thus, our findings also confirm the momentum effect that exists in this market [47]. Due to the momentum effect, the timing of market booms could not truly be supported much for further analysis by our models. In regard to our main social media hypothesis, the popularity of Bitcoin content still exists as the predictive component in the model. More noticeably, our study highlights that Bitcoin prices can be driven by momentum on social media [24]. However, the selection of training and testing periods should be cautious with the boom and burst of this cryptocurrency. Apparently, while the fundamental value of Bitcoin is still debatable [48], using behavioural determinants could have some merits in predicting Bitcoin. Thus, we believe that media content would support the predictability of Bitcoin prices alongside other financial indicators. Concomitantly, after clustering these factors, we found that the results seem better able to provide insights into Bitcoin’s drivers.
On the other hand, the forecasting of Bitcoin’s price direction improves in the validation set but not for all metrics in the test dataset when including significant drivers or local TE as a feature. Nonetheless, the last assertion relies on the number of metrics with the best scores. Although the test dataset having the best performance corresponds to the deep bidirectional LSTM (D3) for the scenario univariate (S3), this case only beat three of the eight metrics. The other five metrics are outperformed by scenarios including significative features (S3) and significative features + local TE (S5). Furthermore, the second-best performances are tied with two of the eight metrics with leading values. Interestingly, the last case shows the best predictive power on the CNN model using significant features as well as local TE indicators (D5–S5). In particular, it outperforms the AUC and PPV overall, yet AUC is in the border of a random model. To delve into the explainable aspect, a future work will seek to apply the Shapley-Lorentz decomposition proposed in [49,50]. There the authors develop a global methodology, which can be associated with a generalization of AUC-ROC.
Moreover, it is important to note that the selected test period is atypical in the sense of a bull period for Bitcoin as a result of the turbulence generated by the COVID-19 public health emergency; this might induce safe haven behaviour related to this asset and increase its price and capitalization. This atypical behaviour opens the door to propose future work to model Bitcoin by the self-exciting process of the Hawkes model during times of great turbulence.
We would like to end by emphasizing that we were not exhaustive in modelling classification forecasting. In contrast, our intention was to exemplify the effect of including the significant features and local TE indicators under different configurations of a deep learning model through a variety of classification metrics. Two methodological contributions to highlight are the use of nontraditional indicators such as market sentiment, as well as a continuous estimation of the local TE as a tool to determine additional drivers in the classification model. Finally, the models presented here are easily adaptable to high-frequency data because they are non-parametric and nonlinear in nature.

Supplementary Materials

The following are available online at https://www.mdpi.com/article/10.3390/e23121582/s1, File S1: preprocessed data.

Author Contributions

Conceptualization, A.G.-M. and T.L.D.H.; Data curation, A.G.-M.; Formal analysis, A.G.-M.; Funding acquisition, A.G.-M.; Investigation, A.G.-M. and T.L.D.H.; Methodology, A.G.-M.; Writing original draf, A.G.-M. and T.L.D.H.; Writing—review & editing, A.G.-M. and T.L.D.H. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded Consejo Nacional de Ciencia y Tecnología (CONACYT, Mexico) through fund FOSEC SEP-INVESTIGACION BASICA (Grant No. A1-S-43514).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data is available as Supplementary Materials.

Acknowledgments

We thank Román A. Mendoza for support in the acquisition of the financial time series. To Rebeca Moreno for her kindness in drawing the diagrams of the Supplementary Materials. Also, it is necessary to thank the fruitful discussion with Victor Muñiz. T.L.D.H. acknowledges funding from the University of Economics Ho Chi Minh City (Vietnam) with registered project 2021-08-23-0530.

Conflicts of Interest

The authors declare no conflict of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to publish the results.

References

  1. Wątorek, M.; Drożdż, S.; Kwapień, J.; Minati, L.; Oświęcimka, P.; Stanuszek, M. Multiscale characteristics of the emerging global cryptocurrency market. Phys. Rep. 2020, 901, 1–82. [Google Scholar] [CrossRef]
  2. Urquhart, A. What causes the attention of Bitcoin? Econ. Lett. 2018, 166, 40–44. [Google Scholar] [CrossRef] [Green Version]
  3. Shen, D.; Urquhart, A.; Wang, P. Does twitter predict Bitcoin? Econ. Lett. 2019, 174, 118–122. [Google Scholar] [CrossRef]
  4. Burggraf, T.; Huynh, T.L.D.; Rudolf, M.; Wang, M. Do FEARS drive Bitcoin? Rev. Behav. Financ. 2020, 13, 229–258. [Google Scholar] [CrossRef]
  5. Huynh, T.L.D. Does Bitcoin React to Trump’s Tweets? J. Behav. Exp. Financ. 2021, 31, 100546. [Google Scholar] [CrossRef]
  6. Corbet, S.; Larkin, C.; Lucey, B.M.; Meegan, A.; Yarovaya, L. The impact of macroeconomic news on Bitcoin returns. Eur. J. Financ. 2020, 26, 1396–1416. [Google Scholar] [CrossRef]
  7. Cavalli, S.; Amoretti, M. CNN-based multivariate data analysis for bitcoin trend prediction. Appl. Soft Comput. 2021, 101, 107065. [Google Scholar] [CrossRef]
  8. Gronwald, M. Is Bitcoin a Commodity? On price jumps, demand shocks, and certainty of supply. J. Int. Money Financ. 2019, 97, 86–92. [Google Scholar] [CrossRef]
  9. Baker, S.R.; Bloom, N.; Davis, S.J. Measuring economic policy uncertainty. Q. J. Econ. 2016, 131, 1593–1636. [Google Scholar] [CrossRef]
  10. Bekaert, G.; Engstrom, E.C.; Xu, N.R. The Time Variation in Risk Appetite and Uncertainty. Working Paper 25673, National Bureau of Economic Research, 2019. Available online: http://www.nber.org/papers/w25673 (accessed on 15 January 2021).
  11. Das, S.; Demirer, R.; Gupta, R.; Mangisa, S. The effect of global crises on stock market correlations: Evidence from scalar regressions via functional data analysis. Struct. Chang. Econ. Dyn. 2019, 50, 132–147. [Google Scholar] [CrossRef]
  12. Lahiani, A.; Jlassi, N.B.; Jeribi, A. Nonlinear tail dependence in cryptocurrency-stock market returns: The role of Bitcoin futures. Res. Int. Bus. Financ. 2021, 56, 101351. [Google Scholar] [CrossRef]
  13. Luu Duc Huynh, T. Spillover risks on cryptocurrency markets: A look from VAR-SVAR granger causality and student’st copulas. J. Risk Financ. Manag. 2019, 12, 52. [Google Scholar] [CrossRef] [Green Version]
  14. Huynh, T.L.D.; Nguyen, S.P.; Duong, D. Contagion risk measured by return among cryptocurrencies. In Proceedings of the International Econometric Conference of Vietnam, Ho Chi Minh, Vietnam, 15–16 January 2018; pp. 987–998. [Google Scholar]
  15. Huynh, T.L.D.; Nasir, M.A.; Vo, X.V.; Nguyen, T.T. “Small things matter most”: The spillover effects in the cryptocurrency market and gold as a silver bullet. N. Am. J. Econ. Financ. 2020, 54, 101277. [Google Scholar] [CrossRef]
  16. Thampanya, N.; Nasir, M.A.; Huynh, T.L.D. Asymmetric correlation and hedging effectiveness of gold & cryptocurrencies: From pre-industrial to the 4th industrial revolution. Technol. Forecast. Soc. Chang. 2020, 159, 120195. [Google Scholar]
  17. Huynh, T.L.D.; Burggraf, T.; Wang, M. Gold, platinum, and expected Bitcoin returns. J. Multinatl. Financ. Manag. 2020, 56, 100628. [Google Scholar] [CrossRef]
  18. Huynh, T.L.D.; Shahbaz, M.; Nasir, M.A.; Ullah, S. Financial modelling, risk management of energy instruments and the role of cryptocurrencies. Ann. Oper. Res. 2020, 1–29. [Google Scholar] [CrossRef]
  19. Huynh, T.L.D.; Ahmed, R.; Nasir, M.A.; Shahbaz, M.; Huynh, N.Q.A. The nexus between black and digital gold: Evidence from US markets. Ann. Oper. Res. 2021, 1–26. [Google Scholar] [CrossRef]
  20. Chu, J.; Nadarajah, S.; Chan, S. Statistical analysis of the exchange rate of bitcoin. PLoS ONE 2015, 10, e0133678. [Google Scholar]
  21. Lahmiri, S.; Bekiros, S.; Bezzina, F. Multi-fluctuation nonlinear patterns of European financial markets based on adaptive filtering with application to family business, green, Islamic, common stocks, and comparison with Bitcoin, NASDAQ, and VIX. Phys. A Stat. Mech. Its Appl. 2020, 538, 122858. [Google Scholar] [CrossRef]
  22. Ante, L. How Elon Musk’s Twitter Activity Moves Cryptocurrency Markets. 2021. SSRN 3778844. Available online: https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3778844 (accessed on 15 June 2021).
  23. Schreiber, T. Measuring information transfer. Phys. Rev. Lett. 2000, 85, 461–464. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  24. Philippas, D.; Rjiba, H.; Guesmi, K.; Goutte, S. Media attention and Bitcoin prices. Financ. Res. Lett. 2019, 30, 37–43. [Google Scholar] [CrossRef]
  25. Naeem, M.A.; Mbarki, I.; Suleman, M.T.; Vo, X.V.; Shahzad, S.J.H. Does Twitter Happiness Sentiment predict cryptocurrency? Int. Rev. Financ. 2020. [Google Scholar] [CrossRef]
  26. Kim, S.; Ku, S.; Chang, W.; Song, J.W. Predicting the Direction of US Stock Prices Using Effective Transfer Entropy and Machine Learning Techniques. IEEE Access 2020, 8, 111660–111682. [Google Scholar] [CrossRef]
  27. Gu, S.; Kelly, B.; Xiu, D. Empirical asset pricing via machine learning. Rev. Financ. Stud. 2020, 33, 2223–2273. [Google Scholar] [CrossRef] [Green Version]
  28. Kristoufek, L. What are the main drivers of the Bitcoin price? Evidence from wavelet coherence analysis. PLoS ONE 2015, 10, e0123923. [Google Scholar] [CrossRef] [PubMed]
  29. Giudici, P.; Polinesi, G. Crypto price discovery through correlation networks. Ann. Oper. Res. 2021, 299, 443–457. [Google Scholar] [CrossRef]
  30. Giudici, P.; Pagnottoni, P. Vector error correction models to measure connectedness of Bitcoin exchange markets. Appl. Stoch. Models Bus. Ind. 2020, 36, 95–109. [Google Scholar] [CrossRef] [Green Version]
  31. Ribeiro, M.T.; Singh, S.; Guestrin, C. “Why should i trust you? ” Explaining the predictions of any classifier. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA, 13–17 August 2016; pp. 1135–1144. [Google Scholar]
  32. Lundberg, S.M.; Lee, S.I. A unified approach to interpreting model predictions. In Proceedings of the 31st International Conference on Neural Information Processing Systems, Long Beach, CA, USA, 4–9 December 2017; pp. 4768–4777. [Google Scholar]
  33. Schlegel, U.; Arnout, H.; El-Assady, M.; Oelke, D.; Keim, D.A. Towards a rigorous evaluation of xai methods on time series. In Proceedings of the 2019 IEEE/CVF International Conference on Computer Vision Workshop (ICCVW), Seoul, Korea, 27–28 October 2019; pp. 4197–4201. [Google Scholar]
  34. Bussmann, N.; Giudici, P.; Marinelli, D.; Papenbrock, J. Explainable AI in fintech risk management. Front. Artif. Intell. 2020, 3, 26. [Google Scholar] [CrossRef] [PubMed]
  35. Bussmann, N.; Giudici, P.; Marinelli, D.; Papenbrock, J. Explainable machine learning in credit risk management. Comput. Econ. 2021, 57, 203–216. [Google Scholar] [CrossRef]
  36. Bracke, P.; Datta, A.; Jung, C.; Sen, S. Machine Learning Explainability In Finance: An Application To Default Risk Analysis. 2019. Available online: https://www.bankofengland.co.uk/working-paper/2019/machine-learning-explainability-in-finance-an-application-to-default-risk-analysis (accessed on 15 November 2021).
  37. Ohana, J.J.; Ohana, S.; Benhamou, E.; Saltiel, D.; Guez, B. Explainable AI (XAI) models applied to the multi-agent environment of financial markets. In Proceedings of the International Workshop on Explainable, Transparent Autonomous Agents and Multi-Agent Systems, Virtual Event, 3–7 May 2021; Springer: Berlin/Heidelberg, Germany, 2021; pp. 189–207. [Google Scholar]
  38. Hailemariam, Y.; Yazdinejad, A.; Parizi, R.M.; Srivastava, G.; Dehghantanha, A. An Empirical Evaluation of AI Deep Explainable Tools. In Proceedings of the 2020 IEEE Globecom Workshops GC Wkshps, Madrid, Spain, 7–11 December 2020; pp. 1–6. [Google Scholar]
  39. Lizier, J.T.; Prokopenko, M.; Zomaya, A.Y. Local information transfer as a spatiotemporal filter for complex systems. Phys. Rev. E 2008, 77, 026110. [Google Scholar] [CrossRef] [Green Version]
  40. Bossomaier, T.; Barnett, L.; Harré, M.; Lizier, J.T. An introduction to Transfer Entropy; Springer: Berlin/Heidelberg, Germany, 2016; pp. 78–82. [Google Scholar]
  41. Kraskov, A.; Stögbauer, H.; Grassberger, P. Estimating mutual information. Phys. Rev. E 2004, 69, 066138. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  42. Gao, S.; Ver Steeg, G.; Galstyan, A. Efficient estimation of mutual information for strongly dependent variables. arXiv 2015, arXiv:1411.2003. [Google Scholar]
  43. Hochreiter, S.; Schmidhuber, J. Long Short-Term Memory. Neural Comput. 1997, 9, 1735–1780. [Google Scholar] [CrossRef] [PubMed]
  44. Brownlee, J. Deep Learning for Time Series Forecasting: Predict the Future with MLPs, CNNs and LSTMs in Python; Machine Learning Mastery: 2018. Available online: https://machinelearningmastery.com/deep-learning-for-time-series-forecasting/ (accessed on 15 November 2021).
  45. Hutto, C.; Gilbert, E. Vader: A parsimonious rule-based model for sentiment analysis of social media text. Proc. Int. AAAI Conf. Web Soc. Media 2014, 8, 216–225. [Google Scholar]
  46. Reddi, S.J.; Kale, S.; Kumar, S. On the convergence of adam and beyond. arXiv 2018, arXiv:1904.09237. [Google Scholar]
  47. Grobys, K.; Sapkota, N. Cryptocurrencies and momentum. Econ. Lett. 2019, 180, 6–10. [Google Scholar] [CrossRef]
  48. Chaim, P.; Laurini, M.P. Is Bitcoin a bubble? Phys. A Stat. Mech. Its Appl. 2019, 517, 222–232. [Google Scholar] [CrossRef]
  49. Giudici, P.; Raffinetti, E. Shapley-Lorenz eXplainable artificial intelligence. Expert Syst. Appl. 2021, 167, 114104. [Google Scholar] [CrossRef]
  50. Giudici, P.; Raffinetti, E. Lorenz model selection. J. Classif. 2020, 37, 754–768. [Google Scholar] [CrossRef]
Figure 1. Graphical representation of nearest-neighbors selection. At a given sample point, X ( i ) , the max-norm rectangle contains the K = 3 nearest-neighbors.
Figure 1. Graphical representation of nearest-neighbors selection. At a given sample point, X ( i ) , the max-norm rectangle contains the K = 3 nearest-neighbors.
Entropy 23 01582 g001
Figure 2. Standardized time series after preprocessing, as explained in the main text.
Figure 2. Standardized time series after preprocessing, as explained in the main text.
Entropy 23 01582 g002
Figure 3. Cumulative returns of the selected cryptocurrencies and financial assets. The scale is logarithmic in the y-axis and starts in one to be financially interpreted as the gains.
Figure 3. Cumulative returns of the selected cryptocurrencies and financial assets. The scale is logarithmic in the y-axis and starts in one to be financially interpreted as the gains.
Entropy 23 01582 g003
Figure 4. Correlation matrix of the preprocessed time series.
Figure 4. Correlation matrix of the preprocessed time series.
Entropy 23 01582 g004
Figure 5. Average transfer entropy from each potential driver to BTC. The y-axis indicates the driver, and the x-axis indicates the Markov order pair k , l of the source and target. From (a) to (j), nearest neighbours K run from one to ten, respectively.
Figure 5. Average transfer entropy from each potential driver to BTC. The y-axis indicates the driver, and the x-axis indicates the Markov order pair k , l of the source and target. From (a) to (j), nearest neighbours K run from one to ten, respectively.
Entropy 23 01582 g005
Figure 6. Local TE of the highest significant average values on the tuple { k , l , K } . NASDAQ and Tesla are omitted because they do not send significative information to BTC for any considered value on the grid of the tuple { k , l , K } .
Figure 6. Local TE of the highest significant average values on the tuple { k , l , K } . NASDAQ and Tesla are omitted because they do not send significative information to BTC for any considered value on the grid of the tuple { k , l , K } .
Entropy 23 01582 g006
Figure 7. From (top) to (bottom): D1, D2, D3, D4, and D5.
Figure 7. From (top) to (bottom): D1, D2, D3, D4, and D5.
Entropy 23 01582 g007
Table 1. Type of driver and variable name.
Table 1. Type of driver and variable name.
TypeVariables
Investor attentionGoogle Trends
Social mediaBBC Breaking News
Department of State
United Nations
Elon Musk
Donald Trump
Twitter-EPUTwitter-based Uncertainty Index
Risk AversionFinancial Proxy to Risk Aversion and Economic Uncertainty
CryptocurrenciesETH
LTC
XRP
DOGE
TETHER
Financial indicesGold
Silver
Palladium
Platinum
DCOILBRENTEU
DCOILWTICO
EUR/USD
S&P 500
NASDAQ
VIX
ACWI
Tesla
Table 2. The symbols **, and *** denote the significance at the 5%, and 1% levels, respectively.
Table 2. The symbols **, and *** denote the significance at the 5%, and 1% levels, respectively.
VariableMeanStd. Dev.SkewnessKurtosisJBp-Value
BTC0.00250.0424−0.893412.747010,073.5034***
Google Trends0.00180.19150.26116.85102868.6001***
BBC Breaking News0.00073.5295−0.178915.537614,686.4748***
Department of State−0.00134.06100.09418.46984362.1014***
United Nations0.00073.26890.17480.274711.9228**
Elon Musk0.00351.88770.06723.8630906.9805***
Donald Trump0.00014.82940.04615.24341670.4686***
Twitter−EPU0.00090.30010.30493.6071812.4777***
Risk Aversion0.00010.07263.7594165.22321,664,075.5884***
ETH0.00340.0566−0.39919.70095759.1438***
LTC0.00250.06060.691910.54046870.4947***
XRP0.00270.07532.290336.240581,162.9262***
DOGE0.00260.06691.231215.034214,113.2759***
TETHER0.00000.00620.325520.095224,581.8501***
Gold0.00060.0082−0.65955.57611995.0834***
Silver0.00050.0164−1.130413.084110,720.4362***
Palladium0.00150.0197−0.919820.531225,840.0775***
Platinum0.00040.0145−0.906810.72747196.3125***
DCOILBRENTEU−0.00040.0374−3.145581.2272403,755.7220***
DCOILWTICO0.00060.03580.736238.424489,931.3161***
EUR/USD0.00020.00420.03360.899949.0930***
S&P 5000.00060.0125−0.571420.544625,746.7436***
NASDAQ0.00080.0145−0.360111.77718463.6169***
VIX−0.00610.08101.41658.45374833.8826***
ACWI0.00060.0115−1.141520.483725,833.5682***
Tesla0.00170.0371−0.37305.50891877.5034***
Table 3. Classification metrics on the validation dataset.
Table 3. Classification metrics on the validation dataset.
DesignCaseDropoutLRBatchAccAUCTPRTNRPPVFORBAF1#
D1S10.30.0013257.110.538884.7525.2856.6340.9755.0267.89
S20.30.00112857.280.539180.3330.7557.1842.4055.5466.80
S30.70.00112858.070.537974.4339.2558.5142.8656.8465.51
S40.30.00125657.980.530475.4137.9258.3042.7456.6765.76
S50.30.00125657.190.510087.5422.2656.4539.1854.9068.64
D2S10.30.0016459.820.544481.9734.3458.9637.6758.1568.59
S20.30.0013261.140.590965.5756.0463.1941.4260.8164.36
S30.30.00112862.280.606262.9561.5165.3140.9462.2364.115
S40.50.00013255.440.496475.0832.8356.2746.6353.9664.33
S50.70.0013258.070.570663.7751.5160.2244.7457.6461.94
D3S10.30.00112856.230.486588.5219.0655.7340.9453.7968.40
S20.30.0016459.650.581668.6949.2560.9042.2658.9764.56
S30.30.00112860.090.561976.7240.9459.9239.5558.8367.29
S40.30.0013258.160.535079.1833.9657.9841.3756.5766.94
S50.30.00125659.470.570268.6948.8760.7242.4458.7864.46
D4S10.50.0013257.280.527680.1630.9457.1942.4655.5566.76
S20.70.00112858.680.544766.2350.0060.3943.7458.1163.17
S30.70.0016458.250.546864.2651.3260.3144.4957.7962.22
S40.50.00125657.110.509278.3632.6457.2543.2855.5066.16
S50.70.00013257.110.532870.3341.8958.2144.9156.1163.70
D5S10.70.00112860.090.583472.1346.2360.6940.9659.1865.92
S20.30.0016460.000.568367.7051.1361.4642.0959.4264.43
S30.50.0013259.390.564868.0349.4360.7642.6758.7364.19
S40.50.0013259.120.557275.5740.1959.2541.1657.8866.43
S50.30.00112860.790.582570.3349.8161.7340.6760.0765.75
Table 4. Classification metrics on the test dataset.
Table 4. Classification metrics on the test dataset.
DesignCaseAccAUCTPRTNRPPVFORBAF1#
D1S164.300.498190.9911.6767.0160.3851.3377.18
S256.820.494674.0822.7865.4269.1748.4369.48
S361.780.518879.5826.6768.1560.1753.1273.422
S451.960.489860.7034.7264.7169.0647.7162.65
S560.470.484283.6614.7265.9368.6449.1973.74
D2S160.750.478685.9211.1165.5971.4348.5174.39
S252.060.487056.4843.3366.2866.4549.9160.99
S353.460.499756.7646.9467.8564.5051.8561.81
S455.700.479470.5626.3965.4068.7548.4867.89
S550.930.480655.4941.9465.3467.6748.7260.02
D3S165.050.507295.215.5666.5462.9650.3878.333
S255.700.524863.3840.5667.7764.0451.9765.50
S357.380.517667.3237.7868.0963.0452.5567.71
S451.400.505152.9648.3366.9065.7550.6559.12
S554.210.509460.5641.6767.1965.1251.1263.70
D4S161.210.483186.4811.3965.8170.0748.9374.74
S248.130.471848.1748.0664.6568.0248.1155.21
S347.200.477143.2455.0065.4667.0549.1252.08
S445.980.435950.9936.1161.1572.8043.5555.61
S551.960.474355.4945.0066.5566.1150.2560.52
D5S158.040.501778.5917.5065.2670.7048.0571.31
S255.230.494262.3941.1167.6364.3451.7564.91
S354.210.499463.1036.6766.2766.5049.8864.65
S454.490.526962.3938.8966.8265.6050.6464.53
S555.790.531661.8343.8968.4963.1752.8664.992
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

García-Medina, A.; Luu Duc Huynh, T. What Drives Bitcoin? An Approach from Continuous Local Transfer Entropy and Deep Learning Classification Models. Entropy 2021, 23, 1582. https://doi.org/10.3390/e23121582

AMA Style

García-Medina A, Luu Duc Huynh T. What Drives Bitcoin? An Approach from Continuous Local Transfer Entropy and Deep Learning Classification Models. Entropy. 2021; 23(12):1582. https://doi.org/10.3390/e23121582

Chicago/Turabian Style

García-Medina, Andrés, and Toan Luu Duc Huynh. 2021. "What Drives Bitcoin? An Approach from Continuous Local Transfer Entropy and Deep Learning Classification Models" Entropy 23, no. 12: 1582. https://doi.org/10.3390/e23121582

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop