Skip to main content
Advertisement
Browse Subject Areas
?

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

  • Loading metrics

Statistical Analysis of the Exchange Rate of Bitcoin

Abstract

Bitcoin, the first electronic payment system, is becoming a popular currency. We provide a statistical analysis of the log-returns of the exchange rate of Bitcoin versus the United States Dollar. Fifteen of the most popular parametric distributions in finance are fitted to the log-returns. The generalized hyperbolic distribution is shown to give the best fit. Predictions are given for future values of the exchange rate.

Introduction

Introduced and first documented by Satoshi Nakamoto in 2009, Bitcoin is a form of cryptocurrency—an “electronic payment system based on cryptographic proof” [1], instead of traditional trust. [1] noted that buying and selling online has become reliant “almost exclusively on financial institutions serving as trusted third parties to process electronic payments”. In other words, payments for online transactions must go through a company, such as a bank or credit card issuer, to be checked for factors such as fraud and successful payment. This kind of system is based on trust, however these checks come at a price in the form of increased transaction costs [1], meaning that we often see restrictions in the form of minimum spend limits for electronic payments—i.e., on credit or debit cards. Bitcoin transactions are non-reversible—they are “computationally impractical to reverse” [1] and can help to reduce fraud.

Interest in Bitcoin has grown at an increasing pace in recent years. At the end of August 2013, the total available Bitcoins were valued at over 1.5 billion United Stated Dollars (USDs), and in December 2013 the processing power of the Bitcoin network was claimed to be “roughly 300 times the combined power of the top 500 supercomputers” [2]. [3] states that this is because supporters of Bitcoin see it as “an ideal currency for mainstream consumers and merchants”. In short, the high liquidity, reduced costs and the high speed of Bitcoin’s partially anonymous system are what make this currency so interesting [3].

From a wider perspective, Bitcoin is not currently controlled by a central governing body, reducing privacy concerns. In addition, Bitcoin is not linked with any type of commodity, for example, gold or silver [4]. Due to the decentralised nature of Bitcoin, the network is instead controlled by its users. The Bitcoin system utilises a peer-to-peer network of all those who are involved in creating and trading Bitcoins, to process and check all transactions. Therefore “each participant is obliged to maintain the entire transaction history of the system rendering all transactions transparent” [4]. This in theory should create an incentive for all users to protect the Bitcoin network. The freedom of Bitcoin may also allow organisations such as WikiLeaks to be funded and to carry out business with fewer restrictions. However, this freedom along with increased interest and adoption from users means that it may aid and “facilitate money laundering, tax evasion and trade in illegal drugs and child pornography” [3].

Bitcoin has properties which could make it important in commerce, the most significant being low transaction costs [5]. As there is essentially no middle man when performing transactions using Bitcoins, “there are few, if any, transaction fees associated with transfers” [6]. This is in comparison to traditional payment methods which can have significantly higher transaction fees. Thus, in some cases, Bitcoin could provide a more feasible alternative payment method [6]. This has implications in the developed world, for example, allowing individuals and businesses to carry out online transactions with little or no fees, reducing overall costs. In particular, for transactions which require conversions between different currencies (often incurring exchange rate fees), Bitcoin could offer a simpler and more universal payment system.

Similarly, for less economically developed countries (for simple monetary transfers between two parties) services such as Western Union have traditionally been a popular way to send money back home from overseas, or to another party within the same country. A flat or percentage fee is often incurred whilst sending money. Again, Bitcoin could allow for money to be quickly and securely transferred, without the need for any additional fees. This would be hugely beneficial to those from less economically developed countries.

Traditional purchase of goods and services online is dominated by credit and debit cards, or PayPal. But where other digital currencies have failed to get a foothold, Bitcoin may not necessarily succeed. [3] suggests that even if card use is becoming less popular, companies may be able to reduce transaction fees in general, to compete with Bitcoin. On the other hand, Bitcoin may instead be able to establish itself as a standard in micropayments. The relative cost of processing lower value transactions is much greater for traditional payment methods, thus Bitcoin has a competitive advantage [3].

Bitcoin as an international payment standard has its benefits, but its volatile price suggests that it may still suffer from problems of traditional currencies. Therefore, Bitcoin could be considered as a currency exchange rate. However, some researchers argue that Bitcoin does not fulfil the criteria for it to be considered as a true currency. [4] claim that “Bitcoin is not a denominated fiat currency”, however it has features similar to cash, for example, irreversibility and partial anonymity. According to [7], the wild fluctuations in Bitcoin price cannot be explained by economic and financial theory. Factors such as interest rates and inflation do not exist, as there is no central bank overseeing the issuing of Bitcoin. Thus, Bitcoin price is “driven solely by the investors’ faith in the perpetual growth” [7]. Further to this, [5] indicates that the three criteria for Bitcoin to be a currency, being a unit of account; medium of exchange; store of value; are not sufficiently met. International use of Bitcoin is still very limited, “indicating that few people use it widely as a medium of exchange” [5]; Bitcoin can be traded on various exchanges usually at different prices; the daily exchange against USD shows little correlation with USD exchange rate against other major currencies.

Although Bitcoin can be considered to be relatively new, there has already been some initial analysis into the cryptocurrency, and we provide a literature review here.

[2] study the links between social signals and Bitcoin price through a social feedback cycle. Using data from Bitcoin exchanges, social media, Google search trends and the user base of Bitcoin, they found two main positive feedback loops, social and user adoption cycle. An increase in popularity of Bitcoin leads to increases in searches for Bitcoin and more social media coverage. Increases in the number of users leads to an increase in Bitcoin popularity and coverage which contributes to the effect of the social cycle. However, their results fail in explaining sudden negative changes in Bitcoin price.

[7] studies the relationship between digital currencies, such as Bitcoin, and search queries through Google Trends and Wikipedia. Price level was shown to be significantly positively related to search terms, with the relation being bi-directional, in that searches affects prices and prices affect searches.

[8] provide an empirical analysis of Bitcoin-Exchange Risk. They note that whilst Bitcoin has seen the greatest adoption of any cryptocurrency thus far, it has also attracted the attention of criminals. Focusing on the risk of Bitcoin users from currency exchanges, their survival analysis shows that “exchange probability of closure is inversely correlated to its trade volumes” [8]. Supporting this analysis, there is an indication that “popular exchanges are more likely to suffer security breaches” [8], something which one might expect.

[9]’s analysis looked into whether Bitcoin intra-network transaction and on-exchange trading volumes are linked, and also tries to determine if Bitcoin can be classed as an asset or a currency. Using data from 2011 to 2013, including trading data, transaction data and important Bitcoin dates, results indicate that the interest generated from new users of Bitcoin impacts on the volume of Bitcoins traded at the Bitcoin exchange, but not in the overall system. The authors note that as a currency, Bitcoin would need to be a “means of trade, a vehicle to store value, or a unit of account in order to compare the value of different goods or services” [9]. Thereby hypothesising that increased adoption of Bitcoin will increase overall Bitcoin network volume. However, if Bitcoin is an asset, the hypothesis is that an increase in Bitcoin adoption is positively linked to an increase in Bitcoin exchange volume. Therefore, from the results it appears that new users adopt Bitcoin with “speculative investment” as an objective, rather than using it as currency to purchase goods and services.

Some of the latest research comes from [10], modelling and predicting the Bitcoin/USD exchange rate through the application of a non-causal autoregressive model. Using data from daily closing rates of Bitcoin/USD from February 2013-June 2013, results from the analysis show that the Bitcoin/USD rate “displays episodes of local trends, which can be modelled and interpreted as speculative bubbles” [10]. [10] suggest that these speculative bubbles may arise as a result of speculative trading of Bitcoin—further supporting [9]’s conclusion that new Bitcoin users treat it as an asset.

[11] look at the structure and evolution of the Bitcoin transaction network. The study shows two phases in the lifetime of the Bitcoin system, initially when user adoption was low, Bitcoin was “more of an experiment than a real currency”. However, after it started to gain momentum, Bitcoin started to behave more like a real currency. In addition, they found that in the second phase the accumulation of Bitcoins through wealth distribution converges to a stable stretched exponential distribution.

The study of [4] measures volatility of Bitcoin exchange rate against six major currencies. Using raw annualised data over a four year period from 2010 to 2014 and adjusted data, taking account of volume of transactions, they find that Bitcoin shows the highest annualised volatility of percentage change in daily exchange rates. However, accounting for the (low) volume of Bitcoin trades, volatility of the Bitcoin exchange rate is significantly reduced, showing a more stable exchange rate. The authors note that claims of volatility and risk in Bitcoin should be interpreted carefully. The significance of the low trading volume of Bitcoin means that the volatility of Bitcoin will appear greater, and any trading will have a greater effect than with traditional currency.

Using the data for the period 2010–2013, [12] show “Bitcoin investment exhibits very high volatility but also very high returns. In addition, for holders of well diversified portfolios, high risk is compensated by low correlations with other assets. Including even a small proportion of Bitcoins in a well-diversified portfolio may dramatically improve risk-return characteristics”.

Using a known technique that is robust in detecting bubbles, [13] investigated the existence of bubbles in the Bitcoin market. They detected a number of short-lived bubbles over the period 2010–2014. Three of these were huge appearing in the latter part of the period 2011–2013 and lasting from 66 to 106 days.

Through wavelet coherence analysis, [14] examines Bitcoin price formation and the main drivers of price. The study shows that factors such as “use in trade, money supply and price level” have an impact on long term price. A general increase in price attracts people to create Bitcoins, thus profit arises from the creation of Bitcoins over time. Although price is determined through supply and demand, it is also influenced by the interest of investors. In periods of significant growth or decline in price, good and bad news were found to push the price further up or down, respectively.

As there is no intermediary, there is no bid-ask spread for the Bitcoin exchange rate. The lack of bid-ask spreads, that is, the absence of transaction costs, can effect the movement of quote prices, hence shape the statistical properties or returns. There is a huge literature on the effects of transaction costs and bid-ask spreads on returns: [15] find evidence to suggest that “market-observed average returns are an increasing function of the spread; asset returns to their holders, net of trading costs, increase with the spread; and, there is a clientele effect, whereby stocks with higher spreads are held by investors with longer holding periods”; [16] find evidence to suggest that “returns on high-spreads stocks are higher, but less spread-sensitive, than the returns on low-spread stocks”; [17] finds evidence to suggest that serial covariances of returns are strongly negatively correlated with the square of quoted spreads; [18] find evidence to suggest that quoted spreads are larger when larger trades take place; and so on. This suggests that any effect on the return of Bitcoin must be related to other factors such as news relating to the digital currency.

Two recent papers on fitting of distributions to exchange rate data (not just Bitcoin) are [19] and [20]. [19] fitted the generalized Lambda, skew t, normal inverse Gaussian and normal distributions as well as the Johnson’s family of distributions to the data. [20] fitted the Student’s t, asymmetric Student’s t, hyperbolic, generalized hyperbolic, generalized Lambda, skew t, normal inverse Gaussian and normal distributions to the data.

One of the known features of Bitcoin is that it is highly volatile, see, for example, [4] and [12]. Hence, accurate fitting of its variation is so important. The aim of this paper is to provide a formal statistical analysis of the exchange rate of Bitcoin versus the USD using a wide range of known parametric distributions in finance. The statistical analysis presented is the most comprehensive using parametric distributions for any kind of exchange rate data.

Other motivation for this paper are: i) the exchange rate of Bitcoin to the USD behaves very differently to the exchange rate of major currencies, see Section 2; ii) there have been studies investigating the best fitting distributions for the exchange rate of major currencies, but none so far for the exchange rate of Bitcoin; iii) risk measures like the value at risk and expected shortfall can be easily computed from the fitted parametric distributions; iv) out of sample values can be easily predicted from the fitted parametric distributions.

The contents of this paper are organized as follows. Section 2 presents the Bitcoin data used here. Some summary features of the data are described. Section 3 presents fifteen of the most popular parametric distributions in finance. Several of these distributions were introduced in the last few years. Section 4 analyzes the exchange rate data for Bitcoin using the distributions in Section 3. Among other things future predictions are given for the exchange rate. Finally, some conclusions and future work are noted in Section 5.

Data

The data are daily Bitcoin Exchange Rate on Bitstamp (Bitcoin versus USD) from the 13th of September 2011 to the 8th of May 2014. The data were obtained from the database Quandl, see https://www.quandl.com/data/BITCOIN/BITSTAMPUSD Note that there are no data before the 13th of September 2011. We have chosen to use data from the Bitstamp Bitcoin exchange instead of the Bitcoin Price Index published by CoinDesk for the following reasons. We wanted to focus on a specific Bitcoin exchange based in Britain, and one which has a significant trading volume. Bitstamp fulfils both these criteria, being located in London and being the world’s second largest Bitcoin trading volume. Bitstamp exchange started trading on 13th September 2011, however, CoinDesk launched its Bitcoin Price Index only on 11th September 2013. Therefore, we feel that using the Bitcoin Price Index would lead to a sample size which may be too small and unreliable to conclude any results from. The Bitcoin Price Index represents an average of Bitcoin prices across leading global exchanges. Therefore, the index is easily affected when a certain exchange approaches a downturn or a suspension. In addition, the Bitcoin Price Index omits Bitcoin exchange if the price is not updated for more than thirty minutes. Overall, both the Bitcoin Index Price and Bitstamp exchange price overlap and follow each other very closely, so there is little difference from choosing one over the other.

The log-returns of the exchange rate are plotted in Fig 1. Some summary statistics of the log-returns are given in Table 1. We see that the log-returns have mean and median almost equal to zero, are negatively skewed and have a peakedness greater than that of the normal distribution. Also shown in Table 1 are the summary statistics of the exchange rates to USD of some of the major currencies: Australian Dollar, Brazilian Real, Canadian Dollar, Swiss Franc, Euro, British Pound and Japanese Yen. We see that the behavior of Bitcoin is sharply different compared to these currencies: its minimum is much smaller, its first quartile is much smaller, its median is much larger, its mean is much larger, its third quartile is much larger, its maximum is much larger, its interquartile range is much wider, its range is much wider, its skewness is much more negative, its kurtosis is much more peaked, its standard deviation is much larger, its variance is much larger and its coefficient of variation is much smaller. These results are consistent with findings in [4] and [5].

thumbnail
Table 1. Summary statistics log-returns of the exchange rate of Bitcoin versus those of Australian Dollar, Brazilian Real, Canadian Dollar, Swiss Franc, Euro, British Pound and Japanese Yen.

https://doi.org/10.1371/journal.pone.0133678.t001

Fitting of a statistical distribution usually assumes that the data are independent and identically distributed (i.e., randomness), have no serial correlation, and have no heteroskedasticity.

We tested for randomness using [21]’s rank test, [22]’s test, the difference sign test, the rank test, [23]’s runs test, the turning point test, and the test due to [24] and [25]. The corresponding p-values based on log-returns and squares of log-returns are given in Table 2. We tested for no serial correlation using [26] [27] [28]’s method and the method due to [29] and [30]. The corresponding p-values based on log-returns and squares of log-returns are given in Table 3. These values are supported by the plots of the autocorrelation function and the partial autocorrelation function shown in Figs 2, 3, 4 and 5. We tested for no heteroskedasticity using [31]’s test. The corresponding p-values based on log-returns and squares of log-returns are given in Table 4. All of the tests performed in Tables 2, 3 and 4 are non-parametric in nature, i.e., no distributional assumptions are made about the data.

thumbnail
Fig 2. Autocorrelation function of the log-returns of the exchange rate of Bitcoin.

https://doi.org/10.1371/journal.pone.0133678.g002

thumbnail
Fig 3. Partial autocorrelation function of the log-returns of the exchange rate of Bitcoin.

https://doi.org/10.1371/journal.pone.0133678.g003

thumbnail
Fig 4. Autocorrelation function of the squared log-returns of the exchange rate of Bitcoin.

https://doi.org/10.1371/journal.pone.0133678.g004

thumbnail
Fig 5. Partial autocorrelation function of the squared log-returns of the exchange rate of Bitcoin.

https://doi.org/10.1371/journal.pone.0133678.g005

thumbnail
Table 3. p-values of the tests for no serial correlation.

https://doi.org/10.1371/journal.pone.0133678.t003

thumbnail
Table 4. p-values of the tests for no heteroskedasticity.

https://doi.org/10.1371/journal.pone.0133678.t004

It is not uncommon that exchange rate data are independent and identically distributed, have no serial correlation, and have no heteroskedasticity. Some published examples of such exchange rate data can be found in [19] and [20].

Section 3 discusses fifteen distributions for the log-returns of the exchange rate of Bitcoin. These distributions are the normal, Student’ t, logistic, Laplace, exponential power, skew normal, skew t, generalized t, skewed exponential power, asymmetric exponential power, skewed Student’s t, asymmetric Student’s t, normal inverse gamma, hyperbolic and generalized hyperbolic distributions. The choice of these fifteen distributions is not arbitrary. Some of these distributions have been used by many others to fit exchange rate data: [32] fitted the normal distribution to the exchange rates of Japanese Yen to USD, Deutsche Mark to USD, British Pound to USD, Japanese Yen to Deutsche Mark, Japanese Yen to British Pound and Deutsche Mark to British Pound; [33] fitted the hyperbolic distribution; [34] fitted the skewed t distribution to the exchange rate of Polish Zloty to USD; [35] fitted the Laplace distribution to the exchange rate of Euro to USD; [36] fitted the Student’s t and skewed Student’s t distributions to the exchange rates of British Pound to USD, Euro to USD and Japanese Yen to USD; [37] fitted the skewed t distribution to the exchange rates of Mexican Peso, Brazilian Real, Euro, Swiss Franc, Canadian Dollar, Japanese Yen, British Pound and Australian Dollar to USD; [38] fitted the normal, Student’s t and normal inverse gamma distributions to the exchange rates of British Pound, Canadian Dollar, Euro, Deutsche Mark, Japanese Yen, and Swiss Franc to USD; [39] fitted the normal distribution to the exchange rate of Peso in Mexico to USD; [40] fitted the skewed Student’s t and generalized hyperbolic distributions to the exchange rates of Euro and Japanese Yen to USD; [19] fitted the skew t, normal inverse Gaussian and normal distributions to the exchange rates of Japanese Yen, Brazilian Real, Australian Dollar, Canadian Dollar, Swiss Franc, Euro, British Pound, Mexican Peso and Turkish Lira to USD; [20] fitted the skew t, normal inverse Gaussian, normal, Student’s t, asymmetric Student’s t, hyperbolic and generalized hyperbolic distributions to the same exchange rate data as in [19]; and so on. We feel that the collection used here is the most comprehensive collection of distributions used to analyze any exchange rate data set anywhere.

Distributions Fitted

Let X denote a continuous random variable representing the log-returns of the exchange rate of Bitcoin. Let f(x) denote the probability density function (pdf) of X. Let F(x) denote the cumulative distribution function (cdf) of X. We suppose X follows one of fifteen possible distributions, the most popular parametric distributions used in finance. They are specified as follows:

  • the normal distribution [41], [42] with for −∞ < x < ∞, −∞ < μ < ∞ and σ > 0;
  • the Student’s t distribution [43] with for −∞ < x < ∞, −∞ < μ < ∞, σ > 0 and ν > 0, where and B(⋅, ⋅) denotes the beta function defined by
  • the logistic distribution with for −∞ < x < ∞, −∞ < μ < ∞ and σ > 0;
  • the Laplace distribution [44] with for −∞ < x < ∞, −∞ < μ < ∞ and σ > 0;
  • the exponential power distribution [45] with for −∞ < x < ∞, −∞ < μ < ∞, σ > 0 and β > 0, where Γ(⋅) denotes the gamma function defined by
  • the skew normal distribution [46] with for −∞ < x < ∞, −∞ < μ < ∞, −∞ < λ < ∞ and σ > 0, where ϕ(⋅) and Φ(⋅) denote, respectively, the pdf and the cdf of the standard normal distribution;
  • the skew t distribution [47] with for −∞ < x < ∞, −∞ < μ < ∞, −∞ < λ < ∞, σ > 0 and ν > 0, where 2F1(a, b; c; x) denotes the Gauss hypergeometric function defined by where (e)k = e(e + 1)⋯(e + k − 1) denotes the ascending factorial;
  • the generalized t distribution [48] with for −∞ < x < ∞, −∞ < μ < ∞, σ > 0, ν > 0 and τ > 0;
  • the skewed exponential power distribution [49] with for −∞ < x < ∞, −∞ < μ < ∞, α > 0, σ > 0 and p > 0, where C = 1/[2σA0 (p)] and A0(x) = x(1/x)−1Γ(1/x);
  • the asymmetric exponential power distribution [49] with for −∞ < x < ∞, −∞ < μ < ∞, σ > 0, α > 0, p1 > 0 and p2 > 0, where C is given by
  • the skewed Student’s t distribution [50] with for −∞ < x < ∞, −∞ < μ < ∞, 0 < α < 1 and ν > 0;
  • the asymmetric Student’s t distribution [50] with for −∞ < x < ∞, −∞ < μ < ∞, 0 < α < 1, ν1 > 0 and ν2 > 0, where
  • the normal inverse gamma distribution [51] with for −∞ < x < ∞, −∞ < μ < ∞, δ > 0, α > 0 and β > 0, where and Kν(⋅) denotes the modified Bessel function of the second kind of order ν defined by where Iν(⋅) denotes the modified Bessel function of the first kind of order ν defined by
  • the hyperbolic distribution [51] with for −∞ < x < ∞, −∞ < μ < ∞, δ > 0, α > 0 and β > 0, where ;
  • the generalized hyperbolic distribution [51] with for −∞ < x < ∞, −∞ < μ < ∞, −∞ < λ < ∞, δ > 0, α > 0 and β > 0, where .
Several of these distributions are nested: the normal distribution is the limiting case of the Student’s t distribution as ν → ∞; the normal distribution is the particular case of the exponential power distribution for β = 2; the Laplace distribution is the particular case of the exponential power distribution for β = 1; the normal distribution is the particular case of the skew normal distribution for λ = 0; the Student’s t distribution is the particular case of the skew t distribution for λ = 0; the exponential power distribution is the particular case of the skewed exponential power distribution for α = 1/2; the Student’s t distribution is the particular case of the generalized t distribution for τ = 2; the skewed exponential power distribution is the particular case of the asymmetric exponential power distribution for p1 = p2; the Student’s t distribution is the particular case of the skewed Student’s t distribution for α = 1/2; the skewed Student’s t distribution is the particular case of the asymmetric Student’s t distribution for ν1 = ν2; the skewed exponential power distribution is the particular case of the asymmetric exponential power distribution for p1 = p2; the normal inverse gamma distribution is the particular case of the generalized hyperbolic distribution for λ = −1/2; the hyperbolic distribution is the particular case of the generalized hyperbolic distribution for λ = 1; and so on.

The fifteen distributions include heavy tailed and light tailed distributions. The normal, logistic, Laplace, exponential power, skew normal, skewed exponential power and asymmetric exponential power distributions have light tails. The Student’s t, skew t, generalized t, skewed Student’s t, asymmetric Student’s t, normal inverse gamma, hyperbolic and generalized hyperbolic distributions have heavy tails.

Each distribution was fitted by the method of maximum likelihood. That is, if x1, x2, …, xn are independent observations on X then the parameters of each distribution are the values maximizing the likelihood or the log-likelihood where is a vector of parameters specifying f(⋅). We shall let denote the maximum likelihood estimate of Θ. The maximization was performed using the routine nlm in the R software package [52]. The standard errors of were computed by approximating the covariance matrix of by the inverse of observed information matrix, i.e.,

Many of the fitted distributions are not nested. Discrimination among them was performed using various criteria:

  • the Akaike information criterion due to [53] defined by
  • the Bayesian information criterion due to [54] defined by
  • the consistent Akaike information criterion (CAIC) due to [55] defined by
  • the corrected Akaike information criterion (AICc) [56] defined by
  • the Hannan-Quinn criterion [57] defined by
  • the Kolmogorov-Smirnov statistic [58], [59] defined by where I{⋅} denotes the indicator function and the maximum likelihood estimate of F(x);
  • the Anderson-Darling statistic [60] defined by where x(1)x(2) ≤ ⋯ ≤ x(n) are the observed data arranged in increasing order.
The smaller the values of these criteria the better the fit. For more discussion on these criteria, see [61] and [62].

The likelihood ratio test [63] can be used to discriminate among nested distributions. According to this test, if Distribution 1 has k1 parameters and yields a log-likelihood of ln L1 and Distribution 2, a particular case of Distributions 1, has k2 < k1 parameters and yields a log-likelihood of ln L2, then the former should be preferred if , where denotes the 100α percentile of a chi-square random variable with ν degrees of freedom.

Results and Discussion

The fifteen distributions in Section 3 were fitted to the data described in Section 2. The method of maximum likelihood was used. The log-likelihood values, the values of AIC, AICc, BIC, HQC, CAIC and the p-values of KS, AD for the fitted distributions are shown in Table 5. The parameter estimates and their standard errors for the fitted distributions are shown in Table 6.

thumbnail
Table 5. Log-likelihoods and the five criteria for the fitted distributions.

https://doi.org/10.1371/journal.pone.0133678.t005

thumbnail
Table 6. Fitted distributions, parameter estimates and standard errors.

https://doi.org/10.1371/journal.pone.0133678.t006

We can see from Table 5 that the Laplace distribution gives the smallest values for −ln L, AIC, AICc, BIC, HQC, CAIC and the largest p-values among all the two-parameter distributions. The exponential power distribution gives the smallest values for −ln L, AIC, AICc, BIC, HQC, CAIC and the largest p-values among all the three-parameter distributions. The generalized t distribution gives the smallest values for −ln L, AIC, AICc, BIC, HQC, CAIC and the largest p-values among all the four-parameter distributions. The generalized hyperbolic distribution gives the smallest values for −ln L, AIC, AICc, BIC, HQC, CAIC and the largest p-values among all the five-parameter distributions.

Overall, the generalized hyperbolic distribution gives the best fit by having the smallest values for −ln L, AIC, AICc, BIC, HQC, CAIC and the largest p-values. The normal distribution gives the worst fit by having the largest values for −ln L, AIC, AICc, BIC, HQC, CAIC and the smallest p-values. The skew normal distribution gives the second worst fit by having the second largest values for −ln L, AIC, AICc, BIC, HQC, CAIC and the second smallest p-values. With respect to p-values, all but the normal, skew normal and logistic distributions provide adequate fits at the five percent level.

The normal inverse gamma and the hyperbolic distributions are particular cases of the generalized hyperbolic distribution. The use of the likelihood ratio test shows that neither of them provide as good a fit as the generalized hyperbolic distribution.

One should not conclude that the generalized hyperbolic distribution gives the best fit because it has the largest number of parameters. Each of the five criteria (AIC, AICc, BIC, HQC, CAIC) has a factor penalizing for every new parameter added. The factor is 2 for the AIC, ln n for the BIC, ln n for the CAIC and 2 ln ln n for the HQC. So, more parameters do not necessarily imply better fits. The generalized hyperbolic distribution gives the best fit only because it captures the data significantly better than other distributions.

The probability plot and the density plot of the fitted generalized hyperbolic distribution are shown in Figs 6 and 7. The fitted pdf is also plotted on the log scale. Both figures suggest that the fit is good. The fit appears reasonable also in the tails.

thumbnail
Fig 6. Probability plot for the fit of the generalized hyperbolic distribution.

https://doi.org/10.1371/journal.pone.0133678.g006

thumbnail
Fig 7. Empirical histogram and fitted pdf of the generalized hyperbolic distribution (left), Empirical pdf and fitted pdf of the generalized hyperbolic distribution plotted on log scale (right).

https://doi.org/10.1371/journal.pone.0133678.g007

The value at risk (VaR) and expected shortfall (ES) are two of the most important measures of financial risk. For the best fitting distribution, the VaR and the ES with probability p can be estimated by and respectively, where . The plot of versus p is shown in Fig 8. The plot of versus p is shown in Fig 9. Also shown in these figures are historical estimates of the VaR and the ES. The fitted values for the VaR and the ES appear very close to the historical estimates.

thumbnail
Fig 8. Historical estimates of the VaR and estimates based on the fitted generalized hyperbolic distribution.

https://doi.org/10.1371/journal.pone.0133678.g008

thumbnail
Fig 9. Historical estimates of the ES and estimates based on the fitted generalized hyperbolic distribution.

https://doi.org/10.1371/journal.pone.0133678.g009

The estimates of the VaR and the ES can be inferred from Figs 8 and 9, respectively. The estimates for p = 0.1, 0.01, 0.001, 0.0001, 0.00001, 0.9, 0.99, 0.999, 0.9999, 0.99999 are given in Table 7. The two tails in Fig 8 are highly steeped, confirming that the returns of Bitcoin are highly volatile.

An out of sample performance of these risk measures can be assessed by a backtest measure due to [64]: (1) where for α small, for α larger, for α small, for α large, for α small, for α large, and qα is the αth empirical quantile of . Smaller backtest measures correspond to better forecasting.

The values of Eq (1) for α = 0.001, 0.999 and the fifteen distributions are shown in Table 8. We see that the generalized hyperbolic distribution gives the smallest values. These values appear reasonably small. The largest values are given by the normal distribution.

thumbnail
Table 8. The backtest measure for the fitted distributions.

https://doi.org/10.1371/journal.pone.0133678.t008

Finally, we give predictions for the exchange rate of Bitcoin. Let Yi denote the exchange rate on the ith day counting from the 13th of September 2011. Then Xi = ln Yi − ln Yi−1 is the log-return on the ith day. We can write the exchange rate on the nth day (counting from the 13th of September 2011) as We suppose Y0 is a deterministic variable taking the value 5.97, the value suggested by the data set. So, say.

According to our results, Xi can be assumed to be independent and identical generalized hyperbolic random variables. The generalized hyperbolic random variable does have a closed form characteristic function [51]. Hence, by the inversion theorem of [65], the cdf of T can be expressed as where and Im(⋅) denotes the imaginary part. The cdf of Yn is therefore

Various high and low percentiles of Yn for n = 1000, 2000, 3000, 4000, 5000 are given in Table 9. These predictions can be reliable and accurate at least in the short term given the goodness of fit to the data and given the small values of the backtest measure. The extreme worst case scenario could occur if rules and regulations prohibit Bitcoin being used or entered into countries and markets. This will lead to a deterioration in confidence of Bitcoin investors. The extreme best case scenario could lead to Bitcoin being used as an alternative for Paypal or even as the main currency in many countries.

thumbnail
Table 9. Predictions for the exchange rate of Bitcoin at day n (counting from the 13th of September 2011).

https://doi.org/10.1371/journal.pone.0133678.t009

The numbers in Table 9 are consistent with the observations “… the most notable aspect of this forecast is the uncertainty. Confidence intervals are very wide, so the overall confidence in the point forecast is low. With such high volatility, the best an investor or user of Bitcoins could hope for is to have advance warning of dramatic crashes” of [66].

Conclusions

We have analyzed the exchange rate of Bitcoin versus USD using fifteen of the most popular parametric distributions in finance, the most comprehensive collection of distributions ever fitted to any exchange rate data. We have found that the generalized hyperbolic distribution gives the best fit, as assessed by the log-likelihood value, AIC value, AICc value, BIC value, HQC value, CAIC value, probability plot and the density plot.

We have given predictions for the log-returns of the exchange rate based on the VaR and the ES, the two most popular financial risk measures. In particular, the log-returns will be greater than 2.282 × 10−1 with 1 percent chance and will be less than −2.043 × 10−1 with 1 percent chance. Also, the log-returns will be greater than 4.539 × 10−1 with 0.1 percent chance and will be less than −4.108 × 10−1 with 0.01 percent chance.

We have also given predictions for the exchange rate at future times taken in steps of one thousand days (approximately three years). In particular, the exchange rate in about six years from the 13th of September 2011 could exceed 10172920 with 1 percent chance and could be less than 13.36 with 1 percent chance. Also, the exchange rate in about nine years from the 13th of September 2011 could exceed 4637660718 with 1 percent chance and could be less than 146.519 with 1 percent chance.

These conclusions are consistent with the following: “Bitcoin exchange rates exhibit somewhat complicated dynamics. In the past 24 months, the USD-BTC exchange rate increased more than 50-fold” [67]; “Bitcoin investment exhibits very high volatility but also very high returns” [12].

Some future work are to use nonparametric or semiparametric distributions to analyze the exchange rate data.

Acknowledgments

The authors would like to thank the Editors and the referees for careful reading and for comments which greatly improved the paper.

Author Contributions

Analyzed the data: JC SN SC. Contributed reagents/materials/analysis tools: JC SN SC. Wrote the paper: JC SN SC.

References

  1. 1. Nakamoto S. Bitcoin: A peer-to-peer electronic cash system. 2009. https://Bitcoin.org/Bitcoin.pdf
  2. 2. Garcia D, Tessone CJ, Mavrodiev P, Perony N. The digital traces of bubbles: Feedback cycles between socio-economic signals in the Bitcoin economy. Journal of the Royal Society Interface. 2014; 11: 20140623
  3. 3. Grinberg R. Bitcoin: An innovative alternative digital currency. Hastings Science and Technology Law Journal. 2011; 4: 160–207.
  4. 4. Sapuric S, Kokkinaki A. Bitcoin is volatile! Isn’t that right? Business Information Systems Workshops, Lecture Notes in Business Information Processing; 2014: pp. 255–265.
  5. 5. Yermack D. Is Bitcoin a real currency? Working Paper, New York University; 2014.
  6. 6. Ly KM. Coining Bitcoin’s “legal-bits”: Examining the regulatory framework for Bitcoin and virtual currencies. Harvard Journal of Law and Technology. 2014; 27: 587–608.
  7. 7. Kristoufek L. BitCoin meets Google Trends and Wikipedia: Quantifying the relationship between phenomena of the Internet era. Scientific Reports. 2013; 3: 3415. pmid:24301322
  8. 8. Moore T, Chritsin N. Beware the middleman: Empirical analysis of Bitcoin-exchange risk. Financial cryptography and data security. Lecture Notes in Computer Science. 2013; 7859: 25–33.
  9. 9. Glaser F, Zimmermann K, Haferkorn M, Weber MC, Siering M. Bitcoin—Asset or currency? Revealing users’ hidden intentions. Proceedings of the Twenty Second European Conference on Information Systems, Recanati Business School, Tel Aviv University, Tel Aviv; 2014.
  10. 10. Hencic A, Gourieroux C. Noncausal autoregressive model in application to Bitcoin/USD exchange rate. Proceedings of the 7th Financial Risks International Forum, Paris, France; 2014.
  11. 11. Kondor D, Posfai M, Csabai I, Vattay G. Do the rich get richer? An empirical analysis of the Bitcoin transaction network. PLoS ONE. 2014; 9: e86197
  12. 12. Briere M, Oosterlinck K, Szafarz A. Virtual currency, tangible return: Portfolio diversification with Bitcoins. Journal of Asset Management. 2015; in press.
  13. 13. Cheung A, Su JJ, Roca E. Crypto-currency bubbles: An application of the Phillips-Shi-Yu (2013) methodology on Mt. Gox Bitcoin prices. Applied Economics. 2015; 47: 2348–2358.
  14. 14. Kristoufek L. What are the main drivers of the Bitcoin price? Evidence from wavelet coherence analysis. PLoS ONE. 2015; 10: e0123929
  15. 15. Amihud Y, Mendelson H. (1986a). Asset pricing and the bid-ask spread. Journal of Financial Economics. 1986; 17: 223–249.
  16. 16. Amihud Y, Mendelson H. Liquidity and stock returns. Financial Analysts Journal. 1986; 42: 43–48.
  17. 17. Stoll HR. Inferring the components of the bid-ask spread: Theory and empirical tests. Journal of Finance. 1989; 44: 115–134.
  18. 18. Huang RD, Stoll H. The components of the bid-ask spread: A general approach. Review of Financial Studies. 1997; 10: 995–1034.
  19. 19. Corlu CG, Corlu A. Modelling exchange rate returns: Which flexible distribution to use? Quantitative Finance. 2015; in press
  20. 20. Nadarajah S, Afuecheta E, Chan S. A note on “Modelling exchange rate returns: Which flexible distribution to use?”. Quantitative Finance. 2015; in press
  21. 21. Bartels R. The rank version of von Neumann’s ratio test for randomness. Journal of the American Statistical Association. 1982; 77: 40–46.
  22. 22. Cox DR, Stuart A. Some quick sign test for trend in location and dispersion. Biometrika, 42, 80–95.
  23. 23. Wald A, Wolfowitz J. On a test whether two samples are from the same population. Annals of Mathematical Statistics. 1940; 11: 147–162.
  24. 24. Box GEP, Pierce DA. Distribution of residual correlations in autoregressive-integrated moving average time series models. Journal of the American Statistical Association. 1970; 65: 1509–1526.
  25. 25. Ljung GM, Box GEP. On a measure of lack of fit in time series models. Biometrika. 1978; 65: 297–303.
  26. 26. Durbin J, Watson GS. Testing for serial correlation in least squares regression I. Biometrika. 1950; 37: 409–428. pmid:14801065
  27. 27. Durbin J, Watson GS. Testing for serial correlation in least squares regression II. Biometrika. 1951; 38: 159–178. pmid:14848121
  28. 28. Durbin J, Watson GS. Testing for serial correlation in least squares regression III. Biometrika. 1971; 58: 1–19.
  29. 29. Godfrey LG. Testing against general autoregressive and moving average error models when the regressors include lagged dependent variables. Econometrica. 1978; 46: 1293–1302.
  30. 30. Breusch TS. Testing for autocorrelation in dynamic linear models. Australian Economic Papers. 1979; 17: 334–355.
  31. 31. Breusch TS, Pagan AR. A simple test for heteroscedasticity and random coefficient variation. Econometrica. 1979; 47: 1287–1294.
  32. 32. Coppes RC. Are exchange-rate changes normally distributed. Economics Letters. 1995; 47: 117–121.
  33. 33. Bauer C. Value at risk using hyperbolic distributions. Journal of Economics and Business. 2000; 52: 455–467.
  34. 34. Pipien M. Garch processes with skewed-t and stable conditional distributions. Bayesian analysis for PLN/USD exchange rate. Folia Oeconomica Cracoviensia. 2004; 45: 45–62.
  35. 35. Linden M. Estimating the distribution of volatility of realized stock returns and exchange rate changes. Physica A—Statistical Mechanics and Its Applications. 2005; 352: 573–583.
  36. 36. Alexander C, Lazar E. Normal mixture GARCH(1,1): Applications to exchange rate modelling. Journal of Applied Econometrics. 2006; 21: 307–336.
  37. 37. Gurrola P. Capturing fat-tail risk in exchange rate returns using SU curves: A comparison with the normal mixture and skewed Student distributions. Journal of Risk. 2007; 10: 73–100.
  38. 38. Kilic R. Conditional volatility and distribution of exchange rates: GARCH and FIGARCH models with NIG distribution. Studies in Nonlinear Dynamics and Econometrics. 2007; 11, 1.
  39. 39. Herrera FL, Benavides DR, Arango FO. The stochastic volatility of the Peso-Dollar exchange rate: The floating regime in Mexico. Investigacion Economica. 2011; 70: 19.
  40. 40. Nakajima J. Stochastic volatility model with regime-switching skewness in heavy-tailed errors for exchange rate returns. Studies in Nonlinear Dynamics and Econometrics. 2013; 17: 499–520.
  41. 41. de Moivre A. The doctrine of chances. 1738
  42. 42. Gauss CF. Theoria motvs corporvm coelestivm in sectionibvs conicis Solem ambientivm (in Latin). 1809.
  43. 43. Gosset WS. The probable error of a mean. Biometrika. 1908; 6: 1–25.
  44. 44. Laplace PS. Mémoire sur la probabilité des causes par les évènements. Mémoires de l’Academie Royale des Sciences Presentés par Divers Savan. 1774; 6: 621–656.
  45. 45. Subbotin MT. On the law of frequency of errors. Matematicheskii Sbornik. 1923; 31: 296–301.
  46. 46. Azzalini A. A class of distributions which includes the normal ones. Scandinavian Journal of Statistics. 1985; 12: 171–178.
  47. 47. Azzalini A, Capitanio A. Distributions generated by perturbation of symmetry with emphasis on a multivariate skew t distribution. Journal of the Royal Statistical Society, B. 2003; 65: 367–389.
  48. 48. McDonald JB, Newey WK. Partially adaptive estimation of regression models via the generalized t distribution. Econometric Theory. 1988; 4: 428–457.
  49. 49. Zhu D, Zinde-Walsh V. Properties and estimation of asymmetric exponential power distribution. Journal of Econometrics. 2009; 148: 86–99.
  50. 50. Zhu D, Galbraith JW. A generalized asymmetric Student-t distribution with application to financial econometrics. Journal of Econometrics. 2010; 157: 297–305.
  51. 51. Barndorff-Nielsen O. Exponentially decreasing distributions for the logarithm of particle size. Proceedings of the Royal Society of London. Series A, Mathematical and Physical Sciences. 1977; 353: 401–409.
  52. 52. R Development Core Team. A language and environment for statistical computing: R foundation for statistical computing. 1Vienna, Austria; 2014.
  53. 53. Akaike H. A new look at the statistical model identification. IEEE Transactions on Automatic Control. 1974; 19: 716–723.
  54. 54. Schwarz GE. Estimating the dimension of a model. Annals of Statistics. 1978; 6: 461–464.
  55. 55. Bozdogan H. Model selection and Akaike’s Information Criterion (AIC): The general theory and its analytical extensions. Psychometrika. 1987; 52: 345–370.
  56. 56. Hurvich CM, Tsai CL. Regression and time series model selection in small samples. Biometrika. 1989; 76: 297–307.
  57. 57. Hannan EJ, Quinn BG. The determination of the order of an autoregression. Journal of the Royal Statistical Society, B. 1979: 41; 190–195.
  58. 58. Kolmogorov A. Sulla determinazione empirica di una legge di distribuzione. Giornale dell’Istituto Italiano degli Attuari. 1933; 4: 83–91.
  59. 59. Smirnov N. Table for estimating the goodness of fit of empirical distributions. Annals of Mathematical Statistics. 1948; 19: 279–281.
  60. 60. Anderson TW, Darling DA. A test of goodness of fit. Journal of the American Statistical Association. 1954; 49: 765–769.
  61. 61. Burnham KP, Anderson DR. Multimodel inference: Understanding AIC and BIC in model selection. Sociological Methods and Research. 2004; 33: 261–304.
  62. 62. Fang Y. Asymptotic equivalence between cross-validations and Akaike Information Criteria in mixed-effects models. Journal of Data Science. 2011; 9: 15–21.
  63. 63. Cox DR, Hinkley DV. Theoretical statistics. London: Chapman and Hall; 1974.
  64. 64. Embrechts P, Kaufmann R, Patie P. Strategic long-term financial risks: Single risk factors. Computational Optimization and Applications. 2005; 32: 61–90.
  65. 65. Wendel JG. The non-absolute convergence of Gil-Pelaez’ inversion integral. Annals of Mathematical Statistics. 1961; 32: 338–339.
  66. 66. MacDonell A. Popping the Bitcoin bubble: An application of log-periodic power law modeling to digital currency. Working paper; 2014.
  67. 67. Badev A, Chen M. Bitcoin: Technical background and data analysis. Paper Number 2014-104, Finance and Economics Discussion Series, Divisions of Research and Statistics and Monetary Affairs, Federal Reserve Board, Washington, D.C. 2014.