The currency exchange rate is a crucial link between all countries related to economic and trade activities. The non-linear and non-stationary nature of financial time series data poses significant challenges for standalone statistical and neural network methods. While modeling in finance often focuses on volatility, there is a notable lack of research on modeling actual prices, particularly in the Kenyan exchange rates. The research used daily USD/KES and EUR/KES exchange rate data from the CBK ranging from November 10, 2008 to March 1, 2024 totaling 5409 entries.The research employs the GARCH model to extract statistical properties, which are then combined with historical daily exchange rate prices and fed into LSTM, and Transformer models leading to GARCH-LSTM, GARCH-Transformer hybrid models. Results indicate that hybrid model GARCH-Transformer, outperform the standalone models.This integration of GARCH with Transformer model offers a more robust framework for modeling actual prices.
| Published in | American Journal of Mathematical and Computer Modelling (Volume 11, Issue 1) |
| DOI | 10.11648/j.ajmcm.20261101.15 |
| Page(s) | 55-66 |
| Creative Commons |
This is an Open Access article, distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution and reproduction in any medium or format, provided the original work is properly cited. |
| Copyright |
Copyright © The Author(s), 2026. Published by Science Publishing Group |
GARCH, LSTM, USD, CBK, KES
| [1] | Amirshahi, B., & Lahmiri, S. (2023). Hybrid deep learning and garch-family models for forecasting volatility of cryptocurrencies. Machine Learning with Applications, 12, 100465. Retrieved from |
| [2] | Bengio, Y., Simard, P., & Frasconi, P. (1994). Learning long-term dependencies with gradient descent is difficult. IEEE transactions on neural networks, 5(2), 157-166. |
| [3] | Bollerslev, T. (1986). Generalized autoregressive conditional heteroskedasticity. Journal of econometrics, 31(3), 307-327. |
| [4] | Borovykh, A., Bohte, S., & Oosterlee, C. W. (2017). Conditional time series fore casting with convolutional neural networks. arXiv preprint arXiv:1703.04691. |
| [5] | Darby, M. R. (1983). 15 movements in purchasing power parity: The short and long runs. |
| [6] | Drobetz, W., & Otto, T. (2021). Empirical asset pricing via machine learning: evidence from the european stock market. Journal of Asset Management, 22(7), 507-538. |
| [7] | Engle, R. F. (1982). Autoregressive conditional heteroscedasticity with estimates of the variance of united kingdom inflation. Econometrica: Journal of the econometric society, 987-1007. |
| [8] | Fama, E. F. (1970). Session topic: stock market price behavior. The Journal of Finance, 25(2), 383-417. |
| [9] | Fan, D., Sun, H., Yao, J., Zhang, K., Yan, X., & Sun, Z. (2021). Well production forecasting based on arima-lstm model considering manual operations. Energy, 220, 119708. |
| [10] | Greff, K., Srivastava, R. K., & Schmidhuber, J. (2016). Highway and residual networks learn unrolled iterative estimation. arXiv preprint arXiv:1612.07771. |
| [11] | Han, K., Wang, Y., Chen, H., Chen, X., Guo, J., Liu, Z., ... others (2022). A survey on vision transformer. IEEE transactions on pattern analysis and machine intelligence, 45(1), 87-110. |
| [12] | Hochreiter, S. (1998). The vanishing gradient problem during learning recur rent neural nets and problem solutions. International Journal of Uncertainty, Fuzziness and Knowledge-Based Systems, 6(02), 107-116. |
| [13] | Jin, M., Wang, S., Ma, L., Chu, Z., Zhang, J. Y., Shi, X., ... others (2023). Time-llm: Time series forecasting by reprogramming large language models. arXiv preprint arXiv: 2310.01728. |
| [14] | Kakade, K., Jain, I., & Mishra, A. K. (2022). Value-at-risk forecasting: A hybrid ensemble learning garch-lstm based approach. Resources Policy, 78, 102903. |
| [15] | Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., . . . Polosukhin, I. (2017). Attention is all you need. Advances in neural information processing systems, 30. |
| [16] | Pirani, M., Thakkar, P., Jivrani, P., Bohara, M. H., & Garg, D. (2022). A comparative analysis of arima, gru, lstm and bilstm on financial time series forecasting. In 2022 ieee international conference on distributed computing and electrical circuits and electronics (icdcece) (pp. 1-6). |
| [17] | Pradeepkumar, D., & Ravi, V. (2018). Soft computing hybrids for forex rate prediction: A comprehensive review. Computers & Operations Research, 99, 262-284. |
| [18] | Niu, H., & Zhang, L. (2017). Nonlinear multiscale entropy and recurrence quan tification analysis of foreign exchange markets efficiency. Entropy, 20(1), 17. |
| [19] | Li, S., Li, W., Cook, C., Zhu, C., & Gao, Y.(2018). Independently recurrent neural network (indrnn): Building a longer and deeper rnn. In Proceedings of the ieee conference on computer vision and pattern recognition (pp. 5457 5466). |
| [20] | Maneejuk, P., & Srichaikul, W. (2021). Forecasting foreign exchange markets: further evidence using machine learning models. Soft Computing, 25(12), 7887-7898. |
| [21] | Kemboi, I., & Kosgei, D. K. (2018). Economic determinants of exchange rate volatility in kenya. African Journal of Education, Science and Technology, 4(4), 58-64. |
| [22] | Kilai, M., Waititu, A. G., & Wanjoya, A. (2018). Modelling kenyan foreign exchange risk using asymmetry garch models and extreme value theory ap proaches. International Journal of Data Science and Analysis, 4(3), 38-45. |
| [23] | Kemboi, I., & Kosgei, D. K. (2018). Economic determinants of exchange rate volatility in kenya. African Journal of Education, Science and Technology,4(4), 58-64. |
| [24] | Kim, H. Y., & Won, C. H. (2018). Forecasting the volatility of stock price index: A hybrid model integrating lstm with multiple garch-type models. Expert Systems with Applications, 103, 25-37. |
| [25] | Kristjanpoller, W., & Minutolo, M. C. (2016). Forecasting volatility of oil price using an artificial neural network-garch model. Expert Systems with Applica tions, 65, 233-241. |
| [26] | Lara-Ben Ãtez, P., Carranza-Garc Ãa, M., & Riquelme, J. C. (2021). An experimen tal review on deep learning architectures for time series forecasting. Interna tional journal of neural systems, 31(03), 2130001. |
| [27] | Lezmi, E., & Xu, J. (2023). Time series forecasting with transformer models and application to asset management. Available at SSRN 4375798. |
| [28] | Mademlis, D. K., & Dritsakis, N. (2021). Volatility forecasting using hybrid garch neural network models: the case of the italian stock market. International Journal of Economics and Financial Issues, 11(1), 49. |
| [29] | Mishra, A. K., Renganathan, J., & Gupta, A. (2024). Volatility forecasting and assessing risk of financial markets using multi-transformer neural network based architecture. Engineering Applications of Artificial Intelligence, 133, 108223. |
| [30] | Monfared, S. A., & Enke, D. (2014). Volatility forecasting using a hybrid gjr-garch neural network model. Procedia Computer Science, 36, 246-253. |
| [31] | Ndege, E. M., Muriithi, D. K., & Wagala, A. (2023). Application of asymmetric garch type models to the kenyan exchange rates. European Journal of Mathe matics and Statistics, 4(4), 78-92. |
| [32] | Omari, C. O., Mwita, P. N., & Waititu, A. G. (2017). Modeling usd/kes exchange rate volatility using garch models. |
| [33] | Ozbayoglu, A. M., Gudelek, M. U., & Sezer, O. B.(2020). Deep learning for financial applications: A survey. Applied soft computing, 93, 106384. |
| [34] | Ramos-Pérez, E., Alonso-González, P. J., & Núñ ez-Velázquez, J. J. (2021). Multi-Transformer: A new neural network-based architecture for forecasting S&P volatility. Mathematics, 9(15), 1794. |
| [35] | Vidal, A., & Kristjanpoller, W. (2020). Gold volatility prediction using a cnn-lstm approach. Expert Systems with Applications, 157, 113481. |
| [36] | Wang, J., Zhang, X., Zhang, F., Wan, J., Kou, L., & Ke, W. (2022). Review on evolution of intelligent algorithms for transformer condition assessment. Frontiers in Energy Research, 10, 904109. |
| [37] | Yamashita, R., Nishio, M., Do, R. K. G., & Togashi, K.(2018). Convolutional neural networks: an overview and application in radiology. Insights into imag ing, 9, 611-629. |
| [38] | Kristjanpoller, W., & Minutolo, M. C. (2018). A hybrid volatility forecasting framework integrating garch, artificial neural network, technical analysis and principal components analysis. Expert Systems with Applications, 109, 1-11 |
| [39] | Pasiouras, A., & Daglis, T. (2020). The dollar exchange rates in the Covid-19 era: Evidence from 5 currencies. |
| [40] | Kenga, D. S., Kamau, C. G., & Amayo, S. A. (2022). Effect of Corona-virus Disease 2019 (COVID-19) and Inflation Rate on the Foreign Exchange Rate in Kenya. Asian Journal of Economics, Business and Accounting, 22(14), 12-24. |
APA Style
Chamakany, J. L., Makumi, N., Mutua, K. (2026). Modelling the Actual Prices of Kenyan Exchange Rates Using GARCH-Transformer Hybrid Model. American Journal of Mathematical and Computer Modelling, 11(1), 55-66. https://doi.org/10.11648/j.ajmcm.20261101.15
ACS Style
Chamakany, J. L.; Makumi, N.; Mutua, K. Modelling the Actual Prices of Kenyan Exchange Rates Using GARCH-Transformer Hybrid Model. Am. J. Math. Comput. Model. 2026, 11(1), 55-66. doi: 10.11648/j.ajmcm.20261101.15
@article{10.11648/j.ajmcm.20261101.15,
author = {Josphat Lesinya Chamakany and Nicholas Makumi and Kilai Mutua},
title = {Modelling the Actual Prices of Kenyan Exchange Rates Using GARCH-Transformer Hybrid Model
},
journal = {American Journal of Mathematical and Computer Modelling},
volume = {11},
number = {1},
pages = {55-66},
doi = {10.11648/j.ajmcm.20261101.15},
url = {https://doi.org/10.11648/j.ajmcm.20261101.15},
eprint = {https://article.sciencepublishinggroup.com/pdf/10.11648.j.ajmcm.20261101.15},
abstract = {The currency exchange rate is a crucial link between all countries related to economic and trade activities. The non-linear and non-stationary nature of financial time series data poses significant challenges for standalone statistical and neural network methods. While modeling in finance often focuses on volatility, there is a notable lack of research on modeling actual prices, particularly in the Kenyan exchange rates. The research used daily USD/KES and EUR/KES exchange rate data from the CBK ranging from November 10, 2008 to March 1, 2024 totaling 5409 entries.The research employs the GARCH model to extract statistical properties, which are then combined with historical daily exchange rate prices and fed into LSTM, and Transformer models leading to GARCH-LSTM, GARCH-Transformer hybrid models. Results indicate that hybrid model GARCH-Transformer, outperform the standalone models.This integration of GARCH with Transformer model offers a more robust framework for modeling actual prices.
},
year = {2026}
}
TY - JOUR T1 - Modelling the Actual Prices of Kenyan Exchange Rates Using GARCH-Transformer Hybrid Model AU - Josphat Lesinya Chamakany AU - Nicholas Makumi AU - Kilai Mutua Y1 - 2026/02/26 PY - 2026 N1 - https://doi.org/10.11648/j.ajmcm.20261101.15 DO - 10.11648/j.ajmcm.20261101.15 T2 - American Journal of Mathematical and Computer Modelling JF - American Journal of Mathematical and Computer Modelling JO - American Journal of Mathematical and Computer Modelling SP - 55 EP - 66 PB - Science Publishing Group SN - 2578-8280 UR - https://doi.org/10.11648/j.ajmcm.20261101.15 AB - The currency exchange rate is a crucial link between all countries related to economic and trade activities. The non-linear and non-stationary nature of financial time series data poses significant challenges for standalone statistical and neural network methods. While modeling in finance often focuses on volatility, there is a notable lack of research on modeling actual prices, particularly in the Kenyan exchange rates. The research used daily USD/KES and EUR/KES exchange rate data from the CBK ranging from November 10, 2008 to March 1, 2024 totaling 5409 entries.The research employs the GARCH model to extract statistical properties, which are then combined with historical daily exchange rate prices and fed into LSTM, and Transformer models leading to GARCH-LSTM, GARCH-Transformer hybrid models. Results indicate that hybrid model GARCH-Transformer, outperform the standalone models.This integration of GARCH with Transformer model offers a more robust framework for modeling actual prices. VL - 11 IS - 1 ER -