[Paper Review] Information-theoretic measures for non-linear causality detection: application to social media sentiment and cryptocurrency prices
This paper proposes an information-theoretic approach using transfer entropy to detect non-linear causality between social media sentiment and cryptocurrency prices. It applies both linear (Geweke's autoregressive) and non-linear (Schreiber's non-parametric) transfer entropy on 48 months of hourly data for BTC, XRP, LTC, and ETH, finding significant non-linear causality in both directions—especially strong for BTC and LTC—with non-linear effects an order of magnitude greater than linear ones.
Information transfer between time series is calculated by using the asymmetric information-theoretic measure known as transfer entropy. Geweke's autoregressive formulation of Granger causality is used to find linear transfer entropy, and Schreiber's general, non-parametric, information-theoretic formulation is used to detect non-linear transfer entropy. We first validate these measures against synthetic data. Then we apply these measures to detect causality between social sentiment and cryptocurrency prices. We perform significance tests by comparing the information transfer against a null hypothesis, determined via shuffled time series, and calculate the Z-score. We also investigate different approaches for partitioning in nonparametric density estimation which can improve the significance of results. Using these techniques on sentiment and price data over a 48-month period to August 2018, for four major cryptocurrencies, namely bitcoin (BTC), ripple (XRP), litecoin (LTC) and ethereum (ETH), we detect significant information transfer, on hourly timescales, in directions of both sentiment to price and of price to sentiment. We report the scale of non-linear causality to be an order of magnitude greater than linear causality.
Motivation & Objective
- To investigate whether social media sentiment causally influences cryptocurrency prices, and vice versa, using information-theoretic methods.
- To validate transfer entropy techniques on synthetic data (random walks and logistic maps) to ensure reliability in detecting linear and non-linear causality.
- To compare the strength of linear versus non-linear causality in sentiment-price dynamics across major cryptocurrencies.
- To assess the significance of detected information transfer using shuffled time series and Z-scores under a null hypothesis.
- To explore how different partitioning strategies in non-parametric density estimation affect the significance and robustness of results.
Proposed method
- Uses Schreiber’s non-parametric transfer entropy to detect non-linear information transfer between time series, based on conditional probabilities of state transitions.
- Employs Geweke’s autoregressive formulation of Granger causality to compute linear transfer entropy as a benchmark for comparison.
- Performs significance testing by comparing observed transfer entropy against a null distribution generated from shuffled time series, calculating Z-scores.
- Applies different partitioning schemes (e.g., equal-frequency, equal-width bins) in kernel density estimation to optimize detection sensitivity and significance.
- Uses a custom Python package (PyCausality) for all computations, hosted on GitHub, to ensure reproducibility and extensibility.
- Employs hourly data from CryptoCompare’s API for price and PsychSignal’s data for sentiment (positive/negative messages via hashtags) over a 48-month period.
Experimental results
Research questions
- RQ1Does social media sentiment causally influence cryptocurrency prices, and vice versa, in a non-linear fashion?
- RQ2How does the strength of non-linear causality compare to linear causality in sentiment-price dynamics across major cryptocurrencies?
- RQ3Which partitioning strategy in non-parametric density estimation yields the most significant and robust detection of information transfer?
- RQ4Is the detected causality statistically significant after accounting for random fluctuations via surrogate data (shuffled time series)?
- RQ5Does the direction and magnitude of information transfer vary meaningfully across different cryptocurrencies, particularly BTC, LTC, XRP, and ETH?
Key findings
- Non-linear causality, measured via transfer entropy, is consistently stronger than linear causality, with non-linear effects being an order of magnitude greater than linear ones.
- Significant non-linear information transfer was detected in both directions—sentiment to price and price to sentiment—for BTC, LTC, and XRP, with the strongest and most consistent signals observed for BTC and LTC.
- For Bitcoin (BTC), the causal influence is slightly stronger from price to sentiment, whereas for other cryptocurrencies, sentiment to price dominates.
- The significance of detected causality was confirmed via Z-scores calculated against shuffled time series, validating the results against random chance.
- The choice of partitioning method in non-parametric density estimation significantly affects the statistical significance of results, with optimal strategies improving detection power.
- The study demonstrates that traditional linear Granger causality methods detect minimal or no causality, underscoring the necessity of non-linear techniques for capturing true dynamics in speculative asset markets.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.