December 1, 2021

Granger Causality Test

In this post I use a Granger causality test to further uncover whether a causal relationship between cryptocurrency prices, stock prices, and google trends is feasible.

Granger Causality

To further uncover possible causal relationships, I use time series data to perform Granger causality tests. While a Granger causality test does not imply a causal relationship between two variables, it can be used to show one time series is useful in forecasting the other. In the context of cryptocurrency, it may be useful to show that stock market price increases consistently occur a few days before cryptocurrency prices increase. By knowing this information, investors may be able anticipate changes in the market a few days or hours before and invest accordingly.

In the first test, I use the average Google Trends index and log average cryptocurrency price across all cryptocurrencies. The results of the test show both cryptocurrency prices Granger cause changes in Google Trends Index, and Google Trends Index Granger caused changes in cryptocurrency prices, although slightly less significant. Because the results are significant in both directions, I once again may conclude that we are simply seeing a high correlation between two variables. However, given the results are more significant in the Google Trends index on log average cryptocurrency price, perhaps with more granular data (hourly), we would see a relationship that exists only in one direction.

Second, I perform a Granger Causality test to see if the Nasdaq stock market is useful for forecasting changes in cryptocurrency prices. My results indicate that the Nasdaq stock market index Granger causes changes in cryptocurrency prices, however cryptocurrency prices do not Granger cause changes in the Nasdaq stock market index. Many people have created trading algorithms and bots that use this information. By knowing stock market prices will increase a few days or hours before cryptocurrency prices increase, they take advantage of this lag in changes in hopes of increasing their return. While the concept seems good in theory, the market remains too volatile to make this trading technique consistently profitable.

As mentioned before, Granger causality test certainly does not mean causality, the test can be used to determine if one time series is useful for forecasting another. With these results we may suspect a possible causal relationship, however, given the robustness of our results we may only conclude there is a high correlation between these variables. With more data and increased granularity, we would likely be able to paint a more comprehensive and accurate picture of how the variables interact.

November 4, 2021

Cryptocurrency
Data Collection

Overview of the cryptocurrency market and the importance of this type of research. I also discuss the process of collecting and manipulating cryptocurrency data.

November 22, 2021

Cryptocurrency
Fixed Effects Model

In this post I discuss the results of a fixed effects model using a balanced panel data set. In this post, I also showcase a transformable line graph that I built using Tableau.

December 1, 2021

Granger Causality

What can a Granger causality test tell us about the relatonship between Google search, stock price and Bitcoin price data.

December 9, 2021

CryptoFord

Using current cryptocurrency data, I show that digtial currency prices follow Benford's Law.