| Peer-Reviewed

Bayesian and Frequentist Approach to Time Series Forecasting with Application to Kenya’s GDP per Capita

Received: 22 April 2019     Accepted: 27 May 2019     Published: 15 July 2019
Views:       Downloads:
Abstract

Real GDP per capita is an important indicator of a country’s or regional economic activity and is often used by decision makers in the development of economic policies. Expectations about future GDP per capita can be a primary determinant of investments, employment, wages, profits and stock market activities. This study employed both the frequentist and the Bayesian approaches to Kenya’s GDP per capita time series data for the period between 1980-2017 as obtained from the World Bank data portal. The autoregressive integrated moving average (ARIMA) and the state space models were fitted. The results of the study showed that the local linear trend model and the ARIMA(1,2,1) model are appropriate for forecasting the GDP per capita but the former outperforms the latter. The local linear trend model was used to perform a 3-step ahead forecast and the forecasted value was found to be U.S $ 1717.694, U.S $ 1844.446 and U.S $ 1971.198 for 2018, 2019 and 2020 respectively. The findings of this study showed that the state space models, which utilize the Bayesian approach, outperform the ARIMA models which use the frequentist approach in time series forecasting.

Published in International Journal of Data Science and Analysis (Volume 5, Issue 3)
DOI 10.11648/j.ijdsa.20190503.11
Page(s) 27-41
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), 2019. Published by Science Publishing Group

Keywords

ARIMA Model, State Space Model, Kalman Filter, Kalman Smoother, GDP per Capita, Forecast

References
[1] Pavia, M., Jose, M., & Cabrer, B., Borras. (2007). On estimating contemporaneous quarterly regional GDP. Journal of Forecasting, 26 (3), 155–170.
[2] Larsson, H., & Harrtell, E. (2007). Does choice of transition model affect GDP per capita growth?
[3] Musundi, S. W. (2016). Modeling and forecasting Kenyan GDP using autoregressive integrated moving average (arima) models. Science Journal of Applied Mathematics and Statistics, 4 (2), 64–73.
[4] Wang, Z., & Wang, H. (2011). GDP prediction of china based on arima model. Journal of Foreign Economic and Trade, 210 (12).
[5] Zakai, M. (2014). A time series modeling on GDP of pakistan. Journal of Contemporary Issues in Business Research, 3 (4), 200–210.
[6] Hai, V. T., Tsui, A. K., & Zhang, Z. (2013). Measuring asymmetry and persistence in conditional volatility in real output: Evidence from three east Asian tigers using a multivariate garch approach. Applied Economics, 45, 2909–2914.
[7] Shahini, L., & Haderi, S. (2013). Short term albanian GDP forecast:“one quarter to one year ahead”. European Scientific Journal, ESJ, 9 (34), 198–208.
[8] Durbin, J., & Koopman, S. J. (2012b). Time series analysis by state space methods. Oxford University Press.
[9] Harvey, A. C. (1981). Finite sample prediction and over differencing. Journal of Time Series Analysis, 2 (4), 221–232.
[10] Harvey, A. C., & Todd, P. (1983). Forecasting economic time series with structural and box-jenkins models: A case study. Journal of Business & Economic Statistics, 1 (4), 299–307.
[11] Harvey, A. C. (1989). Forecasting, structural time series analysis, and the kalman filter. Cambridge University Press.
[12] Fernandez, C., Ley, E., & Steel, M. F. (2001). Model uncertainty in cross-country growth regressions. Journal of applied Econometrics, 16 (5), 563–576.
[13] Jacobson, T., & Karlsson, S. (2004). Finding good predictors for inflation: A Bayesian model averaging approach. Journal of Forecasting, 23 (7), 479–496.
[14] De Alba, E., Mendoza, M. et al. (2007). Bayesian forecasting methods for short time series. The International Journal of Applied Forecasting, 8, 41–44.
[15] Spengler, J. J. (1959). Adam smith’s theory of economic growth: Part i. Southern Economic Journal, 25 (4), 397–415.
[16] Solow, R. M. (1956). A contribution to the theory of economic growth. The quarterly journal of economics, 70 (1), 65–94.
[17] Box, G. E., & Jenkins, G. M. (1976). Time series analysis, control, and forecasting. San Francisco, CA: Holden Day, 3226 (3228), 10.
[18] Hamilton, K. (1994). Green adjustments to GDP. Resources Policy, 20 (3), 155–168.
[19] Wei, N., Bian, K., Yuan, Z., et al. (2010). Analysis and forecast of shaanxi GDP based on the arima model. Asian Agricultural Research, 2 (1), 34–41.
[20] Dritsaki, C. (2015). Forecasting real GDP rate through econometric models: An empirical study from greece. Journal of International Business and Economics, 3 (1), 13–19.
[21] Kravis, A. W., Irving B Heston, & Summers, R. (1978). Real GDP per capita for more than one hundred countries. The Economic Journal, 88 (350), 215–242.
[22] Kitov, O. I. (2009). The evolution of real GDP per capita in developed countries. Journal of Applied Economic Sciences, 4 (2), 221–234.
[23] Kitov, I. O., Dolinskaya, S. et al. (2009). Modelling real GDP per capita in the (usa): Cointegration tests. Journal of Applied Economic Sciences, Spiru Haret University, Faculty of Financial Management and Accounting Craiova, 4 (1), 7.
[24] Kraay, A., & Monokroussos, G. (1999). Growth forecasts using time series and growth models. The World Bank.
[25] Stockton, D. J., & Glassman, J. E. (1987). An evaluation of the forecast performance of alternative models of inflation. The Review of Economics and Statistics, 69 (1), 108–117.
[26] Scott, S. L., & Varian, H. R. (2013). Predicting the present with Bayesian structural time series. Available at SSRN 2304426.
[27] Steel, M. F. J. (2010). Bayesian time series analysis. In S. N. Durlauf & L. E. Blume (Eds.), Macroeconometrics and Time Series Analysis (pp. 35–45). London: Palgrave Macmillan UK.
[28] Koop, G. M., & Potter, S. (2003). Forecasting in Large Macroeconomic Panels Using Bayesian Model Averaging. SSRN Electronic Journal.
[29] Leedy, P. (1997). Practical research: Planning and design. New Jersey: Prentice-Hall.
[30] Kothari, C. R. (2004). Research methodology: Methods and techniques. New Age International.
[31] Sperling, R. A., Gay, L., & Airasian, P. W. (2003). Student study guide to accompany lr gay and peter airasian’s educational research: Competencies for analysis and application. Merrill.
[32] Pole, A., West, M., & Harrison, J. (1994). Applied Bayesian forecasting and time series analysis. Chapman and Hall/CRC.
Cite This Article
  • APA Style

    Nathan Musembi, Antony Ngunyi, Anthony Wanjoya, Thomas Mageto. (2019). Bayesian and Frequentist Approach to Time Series Forecasting with Application to Kenya’s GDP per Capita. International Journal of Data Science and Analysis, 5(3), 27-41. https://doi.org/10.11648/j.ijdsa.20190503.11

    Copy | Download

    ACS Style

    Nathan Musembi; Antony Ngunyi; Anthony Wanjoya; Thomas Mageto. Bayesian and Frequentist Approach to Time Series Forecasting with Application to Kenya’s GDP per Capita. Int. J. Data Sci. Anal. 2019, 5(3), 27-41. doi: 10.11648/j.ijdsa.20190503.11

    Copy | Download

    AMA Style

    Nathan Musembi, Antony Ngunyi, Anthony Wanjoya, Thomas Mageto. Bayesian and Frequentist Approach to Time Series Forecasting with Application to Kenya’s GDP per Capita. Int J Data Sci Anal. 2019;5(3):27-41. doi: 10.11648/j.ijdsa.20190503.11

    Copy | Download

  • @article{10.11648/j.ijdsa.20190503.11,
      author = {Nathan Musembi and Antony Ngunyi and Anthony Wanjoya and Thomas Mageto},
      title = {Bayesian and Frequentist Approach to Time Series Forecasting with Application to Kenya’s GDP per Capita},
      journal = {International Journal of Data Science and Analysis},
      volume = {5},
      number = {3},
      pages = {27-41},
      doi = {10.11648/j.ijdsa.20190503.11},
      url = {https://doi.org/10.11648/j.ijdsa.20190503.11},
      eprint = {https://article.sciencepublishinggroup.com/pdf/10.11648.j.ijdsa.20190503.11},
      abstract = {Real GDP per capita is an important indicator of a country’s or regional economic activity and is often used by decision makers in the development of economic policies. Expectations about future GDP per capita can be a primary determinant of investments, employment, wages, profits and stock market activities. This study employed both the frequentist and the Bayesian approaches to Kenya’s GDP per capita time series data for the period between 1980-2017 as obtained from the World Bank data portal. The autoregressive integrated moving average (ARIMA) and the state space models were fitted. The results of the study showed that the local linear trend model and the ARIMA(1,2,1) model are appropriate for forecasting the GDP per capita but the former outperforms the latter. The local linear trend model was used to perform a 3-step ahead forecast and the forecasted value was found to be U.S $ 1717.694, U.S $ 1844.446 and U.S $ 1971.198 for 2018, 2019 and 2020 respectively. The findings of this study showed that the state space models, which utilize the Bayesian approach, outperform the ARIMA models which use the frequentist approach in time series forecasting.},
     year = {2019}
    }
    

    Copy | Download

  • TY  - JOUR
    T1  - Bayesian and Frequentist Approach to Time Series Forecasting with Application to Kenya’s GDP per Capita
    AU  - Nathan Musembi
    AU  - Antony Ngunyi
    AU  - Anthony Wanjoya
    AU  - Thomas Mageto
    Y1  - 2019/07/15
    PY  - 2019
    N1  - https://doi.org/10.11648/j.ijdsa.20190503.11
    DO  - 10.11648/j.ijdsa.20190503.11
    T2  - International Journal of Data Science and Analysis
    JF  - International Journal of Data Science and Analysis
    JO  - International Journal of Data Science and Analysis
    SP  - 27
    EP  - 41
    PB  - Science Publishing Group
    SN  - 2575-1891
    UR  - https://doi.org/10.11648/j.ijdsa.20190503.11
    AB  - Real GDP per capita is an important indicator of a country’s or regional economic activity and is often used by decision makers in the development of economic policies. Expectations about future GDP per capita can be a primary determinant of investments, employment, wages, profits and stock market activities. This study employed both the frequentist and the Bayesian approaches to Kenya’s GDP per capita time series data for the period between 1980-2017 as obtained from the World Bank data portal. The autoregressive integrated moving average (ARIMA) and the state space models were fitted. The results of the study showed that the local linear trend model and the ARIMA(1,2,1) model are appropriate for forecasting the GDP per capita but the former outperforms the latter. The local linear trend model was used to perform a 3-step ahead forecast and the forecasted value was found to be U.S $ 1717.694, U.S $ 1844.446 and U.S $ 1971.198 for 2018, 2019 and 2020 respectively. The findings of this study showed that the state space models, which utilize the Bayesian approach, outperform the ARIMA models which use the frequentist approach in time series forecasting.
    VL  - 5
    IS  - 3
    ER  - 

    Copy | Download

Author Information
  • Department of Statistics and Actuarial Science, Jomo Kenyatta University of Agriculture and Technology, Nairobi, Kenya

  • Department of Statistics and Actuarial Science, Jomo Kenyatta University of Agriculture and Technology, Nairobi, Kenya

  • Department of Statistics and Actuarial Science, Jomo Kenyatta University of Agriculture and Technology, Nairobi, Kenya

  • Department of Statistics and Actuarial Science, Jomo Kenyatta University of Agriculture and Technology, Nairobi, Kenya

  • Sections