4,698
Views
8
CrossRef citations to date
0
Altmetric
Research Article

Forecasting USDTRY rate by ARIMA method

ORCID Icon & ORCID Icon | (Reviewing Editor)
Article: 1335968 | Received 26 Apr 2017, Accepted 24 May 2017, Published online: 08 Jun 2017

Abstract

This paper conducts a USDTRY rate forecast by ARIMA method using 3,069 daily observations between the dates of 3 January 2005 and 8 March 2017 and generates both long-term and short-term models. Existing works related to USDTRY rate forecast using ARIMA method generate static models, and none of them conduct multi-step prediction or out of sample fit. The work described in this paper, however, applies dynamic model generation and conducts multi-step ahead prediction for out of sample observations. In forecasts performed in this work for USDTRY rate, the short-term ARIMAs outperform the long-term ARIMAs in predicting accuracy. Specifically, for the short-term ARIMAs appropriate specification is raised as ARIMA (2,1,0); on the other hand, for the long-term ARIMAs, the best order is emerged as ARIMA (0,1,1).

Public Interest Statement

Being a candidate country to the European Union and being an emerging economy at the same time, Turkey is a hub for all the investors around the world, especially for the Europeans. In this respect, predictability of Turkish lira has a vital importance to them. Considering these challenges, we try to predict exchange rate of USDTRY by one of the best-known time series forecasting method, namely ARIMA. This work is the sixth of the researches which dealt with USDTRY rate forecasting by ARIMA method. Moreover, the paper is the second study which is written in English in this field. By this way, we bring academic community in current Turkish literature written in this subject. Besides, this study suggests using dynamic and renewed models for every step prediction instead of using static models only, for ARIMA method.

1. Introduction

Foreign exchange rate determines the price of a currency unit, relative to another currency unit. Because every international economic transaction necessitates using foreign currency, it is vital to predict future values of exchange rate for almost every economic agent, especially for the corporations and the governments.

It is also important for a trader to predict the future values of an exchange rate as foreign exchange rates are traded in Foreign Exchange Markets (FXs) with the intention of gaining profit. The idea in this practice is simple, buying low and selling high.

One of the methods for predicting future values of exchange rate is using time series analysis. In their seminal work, Box and Jenkins (Citation1970) identify a procedure for time series forecasting, namely autoregressive integrated moving average (ARIMA) approach which includes model identification, parameter estimation and model checking.

On the other hand, as it is stated by the studies of Zhang (Citation2003) and Pai and Lin (Citation2005), there are limitations of ARIMA method such as pre-assumed linear form of the model. As it is specifically argued by Zhang (Citation2003), the approximation of linearity does not give satisfactory conclusions for real-world problems, in other words ARIMA cannot properly account for the non-linear patterns of data. This means, when ARIMA method is implied in highly volatile time series, forecasting results can lack of accuracy. Considering this drawback, hybrid models such as combination of ARIMA and artificial neural network (ANN) is proposed because of their capabilities of fitting non-linear data better than ARIMA method. Such hybrid models contain ability of machine learning methods (MLM) to be applied in non-linear data.

Although the latest study of Hsu, Lessmann, Sung, Ma, and Johnson (Citation2016) discuss the supremacy of MLM (such as ANN and support vector machines) over econometric methods (EM) (such as ARIMA or generalized autoregressive conditional heteroskedasticity—GARCH) in time series prediction, and conclude with investigating 30 researches done not only in FX markets but also in other financial markets that the best MLM outperform the best EM, the work of Babu and Reddy (Citation2015) shows up as an exception. They conclude that ARIMA model surpasses ANN and fuzzy neuron (FN) in predicting Indian rupee against the major currencies. Hence, as it is highlighted by the study of Babu and Reddy (Citation2015), ARIMA method has still a significance in applying on exchange rates.

In this framework, while being aware of the limitation of linearity assumption for ARIMA method, we aim to forecast United State dollar/Turkish lira (USDTRY) rate using observations between the dates of 3 January 2005 and 8 March 2017 and to forecast both long- and short-term pattern using 3,039 daily observations for long-term models (LTM) and using 119 daily observations for short-term models (STM).

The rest of the paper is organized as follows. Section 2 reviews the current literature about USDTRY rate and about other exchange rate forecasting which use ARIMA method, Section 3 briefly explain the ARIMA method, Section 4 analyses the data by making necessary transformation of the series and by conducting required tests, Section 5 analyse and ensure the stationary condition, Section 6 specifies the models and makes predictions, Section 7 discusses the results and, finally, Section 8 provides the conclusion.

2. Related works

2.1. Related works for USDTRY rate forecasting using ARIMA method

To the best of our knowledge there are few studies related to USDTRY rate forecasting using ARIMA method.

Bircan and Karagoz (Citation2003) analyse monthly average price of USDTRY using 132 monthly observations between the date of January 1991 and December 2002. They estimate an ARIMA model with (2,1,1) order and conclude that ARIMA method is appropriate for USDTRY forecasting.

Kadilar, Şimşek, and Aladağ (Citation2009) find the most appropriate model as ARIMA (0,0,1) (0,0,1)6 using weekly rates of USDTRY between the dates of 3 January 2005 and 28 January 2008 with 160 observations.

Vergil and Özkan (Citation2007) compare the success of ARIMA model against monetary model (MM) by fitting the USDTRY rate with the monthly observations taken from the dates between January 1980 and July 2001. By reaching ARIMA (3,1,2) as the appropriate specification, they conclude ARIMA is more efficient in fitting USDTRY rate compared to MM.

Kaynar and Taştan (Citation2009), taking the observations both daily and monthly between the dates of January 2000 and June 2008 find the best model for the former as ARIMA (2,1,0) and for the later as ARIMA (0,1,1).

Özkan (Citation2011), using 338 monthly observations for the years of 1986 and 2010 compares three model including ARIMA, ANN and conjunctural model (CM). Although, she does not state the specification of generated ARIMA model, concludes that ANN is the most successful method for predicting USDTRY rate.

None of the literature specified above, however, makes one or multi step ahead prediction for out of sample observations. On the contrary, they just evaluate the generated models with the observations used also for generating the model.

2.2. Related works for other currency rates forecasting using ARIMA method

Yao and Tan (Citation2000), using observations of 510 weekly closing rates of United State dollar/Japanese yen (USDJPY), United State dollar/Deutsche mark (USDDM), United State dollar/British pound (USDGBP), United State dollar/Swiss franc (USDCHF), United State dollar/Australian dollar (USDAUD) between the dates of 18 May 1984 and 7 of July 1995, investigate if ANN predictions are applicable for gaining FX trading profits.

They generate two different ANN models, one with delay variables of the currency as input variables and the other with technical indicators as input variables. By conducting this analysis, they also compare ARIMA models with these two ANN models and conclude that ANN outperforms ARIMA.

Zhang (Citation2003) creates a hybrid model of ARIMA and ANN. Using this hybrid model and 731 weekly observations from 1980 to 1993, he forecasts USDGBP rate and deduces that hybrid model gives more sound results than both ARIMA and ANN.

Maniatis (Citation2012), using 3,202 daily observations between the dates of 4 of January 1999 and 1 July 2011 forecasts European Union currency/United State dollar (EURUSD) rate by ARIMA method, exponential smoothing technique (EST) and probabilistic approach (PA). He concludes that the latter outperforms the others.

Maria and Eva (Citation2011), forecast exchange rates of European Union currency/Romanian leu (EURRON), United State dollar/Romanian leu (USDRON), British pound/Romanian leu (GBPRON), Japanese yen/Romanian leu (JPYRON), Chinese yuan/Romanian leu (CNYRON), Russian ruble/Romanian leu (RUBRON) using 80 daily observations taken from 3 January 2011 and 22 April 2011 with ARIMA method and EST. They find the appropriate models as ARIMA (1,0,0) for EURRON, ARIMA (1,0,0) for USDRON, ARIMA (1,1,1) for GBPRON, ARIMA (4,0,6) for JPYRON, ARIMA (1,0,0) for CNYRON, ARIMA (1,1,3) for RUBRON. However, the authors conclude that EST gives more significant results than ARIMA.

Nwankwo (Citation2014), with using yearly average values of Nigerian naira/United State dollar (NGNUSD) between the years of 1982 and 2011, find ARIMA (1,0,0) is suitable for forecasting of NGNUSD.

Babu and Reddy (Citation2015) compare the methods of ARIMA, ANN and fuzzy systems on 1,284 daily observations of United State dollar/Indian rupee (USDINR), British pound/Indian rupee (GBPINR), European Union currency/Indian rupee (EURINR), Japanese yen/Indian rupee (JPYINR) between the dates of January 2010 and April 2015. They generate models of ARIMA (1,1,0), ARIMA (0,1,1), ARIMA (1,1,1), ARIMA (2,1,0), ARIMA (0,1,2) and ARIMA (2,1,2) respective to mentioned exchange rates, and conclude that ARIMA gives more significant results than ANN and fuzzy systems.

3. ARIMA method

In able to forecast a time series, stationarity must be fulfilled. Required conditions for a weakly stationary time series are a time-independent mean, E(zt)=μ, and a constant variance between the consecutive observations, Covzt,zt-ι=γι.(1) zt=ϕ1zt-1++ϕpzt-p+atzt=ϕ(B)-1at(1) (2) zt=at-θ1at-1--θqat-qzt=θ(B)at(2) (3) zt=ϕ1zt-1++ϕpzt-p+at-θ1at-1--θqat-qzt=θ(B)ϕ(B)at(3)

where p—parameter autoregressive AR(p) model can be illustrated as (1), while q—parameter moving average MA(q) model can be formulized as (2), thus an ARMA (p, q) model can be represented as (3).(4) ϕ(B)dzt=θ0+θ(B)at(4)

If original series is not stationary, transformation such as differencing should be applied. If stationary is ensured after differencing at series’ first level this means the original series has one unit root. This is defined as I (1), for levels more than 1 it is defined as “d”. In this case, the model specification is stated as ARIMA (p, d, q) as (4).

4. Data

4.1. Descriptive statistics

Original data are taken from the web site of Central Bank of Turkey (CBRT). The data include 3,069 observations of daily ask price of USDTRY between the dates of 3 January 2005 and 8 March 2017.

A total of 3,069 observations are used generating the LTM and the subsample (2,921 and 3,069th) of the total data are used generating the STM.

On the propose of performing routine time series transformation we follow these steps; original series (Price of USDTRY) is represented as Pt, natural logarithm of the price is taken as lnPt and natural logarithmic return is transformed as rt = lnPt − lnPt + 1. Because, we aim to generate two different models as LTM and STM, six different series are created, namely P(LTM)t, lnP(LTM)t, r(LTM)t, P(STM)t, lnP(STM) and r(STM)t (Table ).

Table 1. Descriptive statistics for P(LTM)t and P(STM)t

Figure depicts the graph of LTM series against time. For, P(LTM)t clear up trend is apparent starting from the third quarter of 2008 to beginning of 2017. After, taking natural logarithm of the P(LTM)t, the range between the first value and the last value is got smaller. r(STM)t series; on the other hand, shows a random behaviour with volatility clustering.

Figure 1. Time plots of P(LTM)t, lnP(LTM)t, r(LTM)t.

Figure 1. Time plots of P(LTM)t, lnP(LTM)t, r(LTM)t.

Figure demonstrates the graph of STM series against time. There is also a rising trend with the beginning of October 2016 through the 2017 for P(STM)t. As for r(STM)t, volatility is also observable.

Figure 2. Time plots of P(STM)t, lnP(STM)t, r(STM)t.

Figure 2. Time plots of P(STM)t, lnP(STM)t, r(STM)t.

5. Stationarity

To examine stationarity augmented Dickey–Fuller (ADF) (Dickey & Fuller, Citation1981) test is performed for the series of LTM and STM. Because Pt and lnPt series of both LTM and STM show a clear uptrend, trend parameter is added to ADF Equations (5), however, test of ADF for rt series of both LTM and STM executed with unit root model (6).(5) yt=δyt-1+a0+a1t+ut(5) (6) yt=δyt-1+ut(6)

Hypotheses are created as follows: “H0 = The series is stationary” and the alternative, “Ha = The series is not stationary”, considering Table . As for P(LTM)t, lnP(LTM)t, P(STM)t and lnP(STM)t, because a1 values of the models greater than the “DF test statistics”, null hypothesis is rejected. While, because δ values of r(LTM)t and r(STM)t are bigger than “DF test statistics” in absolute values null hypothesis are not rejected that implies r(LTM)t and r(STM)t are stationary. After stationarity is ensured for both lnP(LTM)t and lnP(STM)t at their first differences as r(LTM)t and r(STM)t series, modelling is performed.

Table 2. ADF test for LTM and STM series

6. Model specification and application

There are various ways of order determination suggested in the literature. However, these methods are mostly subjective. In other words, for the same data, different diagnostic methods determinate different order numbers. Considering this drawback, a trial and error learning approach is adopted, hence both for lnP(LTM)t and lnP(STM)t, 30 renewed models of ARIMA (1,1,0), ARIMA (2,1,0), ARIMA (0,1,1), ARIMA (0,1,2), ARIMA (1,1,1), ARIMA (2,1,1), ARIMA (1,1,2) and ARIMA (2,1,2) are generated in a dynamic manner.

Straightforwardly, the first LTM is generated using the observations between 1st and 3,040th for predicting 3,041st value and, by following the same practice, the last LTM is generated using the observation between 30th and 3,069th for predicting 3,070th value. The same dynamic manner is performed for STMs. For the first STM with the intention of predicting 3,041st value, observations between 2,921st and 3,040th are used and by following the same practice again, for the last STM with the aim of predicting 3,070th value, observations between 2,960th and 3,069th are used.

To find best-performing model, a simple method, namely average absolute deviations is applied. Thus, predicted values of the series subtracted from the actual value in the absolute value operator and divided to 30. Results of this process are interpreted as “the minimum valued model outperforms the other models”.(7) 1ni=1nP(actual)t-P(predicted)t(7)

Table suggests ARIMA (0,1,1)LTM is the best-performing model among eight models. Figure depicts the performance of ARIMA (0,1,1)LTM by graphing predicted values relative to actual values of USDTRY rate between the dates of 27 of January in 2017. All the predictions made by LTMs versus actual price (AP) can be found at Appendix 1.

Table 3. Absolute means for LTMs

Figure 3. ARIMA (0,1,1)LTM predictions vs. actual price.

Figure 3. ARIMA (0,1,1)LTM predictions vs. actual price.

On the other hand, for the STMs, according to Table ARIMA (0,1,1)STM accounts for the minimum value of average absolute deviation, which means ARIMA (2,1,0)STM is the best model. Figure reflects actual values related to predicted values of ARIMA (2,1,0)STM. All the predictions made by STMs versus AP can be found at Appendix 2.

Table 4. Absolute means for STMs

Figure 4. ARIMA (2,1,0)STM predictions vs. actual price.

Figure 4. ARIMA (2,1,0)STM predictions vs. actual price.

7. Results and discussion

In study of Yao and Tan (Citation2000) which concludes that results of ANN models are better than ARIMA models, ARIMA (1,0,1) and ARIMA (2,0,2) of USDJPY, USDDM, USDGBP, USDCHF, USDAUD rates are generated. However, it is not indicated whether the data are stationary or not.

Zhang (Citation2003) executes forecasts of 1, 6 and 12 months for GBPUSD observations, in both time horizons hybrid model is better than ANN and ARIMA. They find that best ARIMA model for GBPUSD model is random walk.

In the study of Kaynar and Taştan (Citation2009), it is found that ARIMA (2,1,0) is suitable for daily data which are taken between the dates of January 2000 and June 2008. This is not coincide with our study as it states the best model of long term is ARIMA (0,1,1).

Steve (2012), finds that ARIMA (1,0,0) is appropriate model for NGNUSD rate in the period between 1982 and 2011, without indicating type of the observation (daily or weekly) and without performing any prediction.

The work of Maria and Eva (Citation2011) worth comparing with our study, as it investigates currency of a developing country, namely Romania. They find the best specification for RONUSD as ARIMA (1,0,0) model. Because, the study considers 80 daily observations, the model can be specified as short term. In this regard, we can compare it our best-performing STM which is ARIMA (2,1,0)STM. What is interesting about Maria & Eva’s model for RONUSD is that their model’s p-value is 0.

The research of Babu and Reddy (Citation2015) is interesting for two aspects. Firstly, because India resembles in Turkey for its being an emerging market. Secondly, their study concludes that being a linear model ARIMA surpasses non-linear methods such as ANN and FN. When we compared their study with ours, it can be said that with 1,284 observations their ARIMA model come right in the middle of our STM (109 observations) and LTM (3,039 observations). They conclude that ARIMA (1,1,1) is the best for modelling USDINR, GBPINR and JPYINR and ARIMA (1,1,0) is the best for modelling EURINR.

Professionals such as traders, financial managers and policy-makers often need to foresee value of exchange rates for deciding trade activities, hedging their liabilities and planning public policy. In this context, they rely on various forecasting methods.

Although when the results of this study are compared to the literature dealt with exchange rate forecasting by ARIMA method some differences observed, this study reveals that while using ARIMA method, professionals should consider that there is a tendency for short-term models to produce more sound results than long-term models for exchange rate prediction.

Besides, this study suggests using dynamic and renewed models for every step prediction instead of using static models only, for ARIMA method.

8. Conclusion

Using daily values of USDTRY rate, eight different ARIMA models are generated in a dynamic manner with 30 renewed (hence updated) models for both LTM and STM. Among these models the predictions sets of 30 renewed ARIMA (0,1,1)LTM models have performed better, for STMs, however, predictions made by 30 renewed sets of ARIMA (2,1,0)STM outperformed the others.

Moreover, ARIMA (2,1,0)STM has showed better performance than ARIMA (0,1,1)LTM. This means ARIMA method is more effective in short-term prediction for USDTRY rate.

Funding

The authors received no direct funding for this research.

Additional information

Notes on contributors

Cenk Ufuk Yıldıran

Cenk Ufuk Yıldıran did BSc in Econometrics at Istanbul University, 2007. He has been awarded the Jean Monnet Scholarship in 2013; by this way, he studied MSc in Economics and Econometrics at the University of Essex, 2014, and also completed his MSc in Finance in Kocaeli University, 2017. He has been working as a European Union expert at the Ministry of Science, Industry and Technology of Turkey since 2009.

Abdurrahman Fettahoğlu

Abdurrahman Fettahoğlu has graduated from Marmara University in 1973. He completed his MBA in 1977 and PhD in Finance in 1980, in Wirtschaftsuniversität Wien University. He worked as an assistant professor in 1983 and 1985 in Karedeniz Technical University. He received the title of professor in 1993 from Kocaeli University. Between the years of 2006 and 2013, he has served as dean of faculty of economics and administrative sciences at Kocaeli University. He is currently working at Kocaeli University as professor doctor.

References

  • Babu, A. S., & Reddy, S. K. (2015). Exchange rate forecasting using ARIMA, neural network and fuzzy neuron. Journal of Stock & Forex Trading, 3(4), 1–5. doi:10.4172/2168-9458.1000155
  • Bircan, H., & Karagoz, Y. (2003). Box Jenkins Modelleri İle Aylık Döviz Kuru Tahmini Üzerine Bir Uygulama. Kocaeli Üniversitesi Sosyal Bilimler Enstitüsü Dergisi, 6, 49–62. Retrieved from http://dergipark.gov.tr/download/article-file/252067
  • Box, G. E., & Jenkins, G. M. (1970). Time series analysis, forecasting, and control. San Francisco, CA: Holden - Day.
  • Dickey, D. A., & Fuller, W. A. (1981). Likelihood ratio statistics for autoregressive time series with a unit root. Econometrica, 1057–1072. Retrieved from http://www.jstor.org/stable/191251710.2307/1912517
  • Hsu, M. W., Lessmann, S., Sung, M. C., Ma, T., & Johnson, J. E. (2016). Bridging the divide in financial market forecasting: Machine learners vs. financial economists. Expert Systems with Applications, 61, 215–234. doi:10.1016/j.eswa.2016.05.033
  • Kadilar, C., Şimşek, M., & Aladağ, A. G. Ç. H. (2009). Forecasting the exchange rate series with ANN: The case of Turkey. Ekonometri ve İstatistik e-Dergisi, 9, 17–29. Retrieved from http://www.journals.istanbul.edu.tr/iuekois/article/view/1023005311
  • Kaynar, O., & Taştan, S. (2009). Zaman Serisianalizinde MLP Yapay Sinir Ağları Ve Arıma Modelinin Karşılaştırılması. Erciyes Üniversitesi İktisadi ve İdari Bilimler Fakültesi Dergisi, (33), 161–172. Retrieved from http://iibf.erciyes.edu.tr/dergi/sayi33/9.k%C4%B1s%C4%B1m.pdf
  • Maniatis, P. (2012). Forecasting the exchange rate between Euro and USD: Probabilistic approach versus ARIMA and exponential smoothing techniques. Journal of Applied Business Research (JABR), 28, 171–192. doi:10.19030/jabr.v28i2.6840
  • Maria, F. C., & Eva, D. (2011). Exchange-rates forecasting: exponential smoothing techniques and ARIMA models. Annals of Faculty of Economics, 1, 499–508. Retrieved from http://anale.steconomiceuoradea.ro/volume/2011/n1/046.pdf
  • Nwankwo, S. C. (2014). Autoregressive integrated moving average (ARIMA) model for exchange rate (Naira to Dollar). Academic Journal of Interdisciplinary Studies, 3, 429. doi:10.5901/ajis.2014.v3n4p42
  • Özkan, F. (2011). Döviz Kuru Tahmininde Yapay Sinir Ağlarıyla Alternatif Yaklaşım. Eskişehir Osmangazi Üniversitesi, İİBF Dergisi, (s 6), 2. Retrieved from http://iibfdergi.ogu.edu.tr/makaleler/11352029_6_6-2_Makale_0.pdf
  • Pai, P. F., & Lin, C. S. (2005). A hybrid ARIMA and support vector machines model in stock price forecasting. Omega, 33, 497–505. doi:10.1016/j.omega.2004.07.024
  • Vergil, H., & Özkan, F. (2007). Döviz Kurları Öngörüsünde Parasal Model ve Arima Modelleri: Türkiye Örneği. Retrieved from http://dergipark.gov.tr/kosbed/issue/25707/271265
  • Yao, J., & Tan, C. L. (2000). A case study on using neural networks to perform technical forecasting of forex. Neurocomputing, 34, 79–98. doi:10.1016/S0925-2312(00)00300-3
  • Zhang, G. P. (2003). Time series forecasting using a hybrid ARIMA and neural network model. Neurocomputing, 50, 159–175. doi:10.1016/S0925-2312(01)00702-0

Appendix 1

Predictions made by STMs

Appendix 2

Predictions made by LTMs