Modelling and Forecasting Climate Time Series with State-Space Model


  • A. F. Adedotun Department of Computer Science, Caleb University, Imota, Ikorodu, Lagos State, Nigeria
  • T. Latunde Department of Mathematics, Federal University Oye-Ekiti, Oye-Ekiti, Nigeria
  • O. A. Odusanya Department of Computer Science and Statistics, D.S Adegbenro ICT Polytechnic, Itori Abeokuta, Ogun State, Nigeria


Rainfall, Temperature, Kalman filter, State-space models, Residuals


This study modelled and estimated climatic data using the state-space model. The study was specifically to identify the pattern of the trend movement i.e., increase or decrease in the occurrence of the climatic change; to use of Univariate Kalman Filter for the computation of the likelihood function for climatic projections; to modelling the climatic dataset using the state-space model and to assess the forecasting power of the state-space models. The data used for the work includes temperature and rainfall for periods January 1991 to December 2017. The data are tested for normality. Shapiro-Wilk, Anderson-Darling and Kolmogorov-Smirnov test of normality for the climatic data all showed that the variables are not normally distributed. The work spans the use of breaking trend regression model to fit climatic data to estimate the slopes which show much increase in climatic data has been recorded from the initial time data collection until the present. Investigations and diagnostic are carried out by checking for corrections in the residuals and also checking for periodicity in the residuals. The results of this investigation show significant autocorrelation in the residuals indicating the presence of underlying noise terms which is not accounted for. By treating the residual as an autoregressive moving average (ARMA) process whereby we can obtain its spectral density, the result from the parametric spectral estimate shows underlying periodic patterns for monthly data, thus, leads to a discussion on the need to treat climatic data as a structural time series model. We select appropriate models by considering the goodness of fit of the model by comparing the Akaike information criterion (AIC) values. Parameters are estimated and accomplished with some measures of precision.


S. Makridakis & M.Hibon, “The M3-Competition: results, conclusions and implications”, International Journal of Forecasting 16 (2000), 451. DOI:

B. Shamshad, M. Z Khan & Z. Omar, “Modeling and forecasting weather parameters using ANN-MLP, ARIMA and ETS model: a case study for Lahore, Pakistan”, Journal of Applied Statistics 5 (2019) 388.

S. Afsar, N. Abbas,& B.Jan, “Comparative study of temperature and rainfall fluctuation in Hunza-Nagar District”, Journal of Basic and Applied Sciences 9 (2013) 151.

N. Faisal & A. Ghaffar, “Development of Pakistan’s new area weighted rainfall using Thiessen polygon method”, Pakistan Journal of Metrology 17 (2012) 107.

F. Yusof, I. L. Kane & Z. Yusop, “Structural break or long memory: An empirical survey on daily rainfall data sets across Malaysia”, Hydrology and Earth System Sciences 17 (2013) 1311.

M. Zahid & G. Rasul, “Frequency of extreme temperature and precipitation events in Pakistan 1965-2009”, Science International 23 (2011) 313.

J. Abbot, & J. Marohasy, “Application of artificial neural networks to rainfall in Queensland, Australia”, Advances in Atmospheric Sciences 29 (2012) 717.

M. Bilgili & B. Sahin, “Prediction of long-term monthly temperature and rainfall in Turkey, Energy Sources 1 (2010) 60.

R. D. Johnston, “Steady-state closed-loop structural interaction analysis”, International Journal of Control 6 (1990) 1351.

J.Wang, & K. M. Cameron, “A method of constructing a modified signalflow-graph”, International Journal of Control 12 (1993) 305.

O. I. Shittu & R. A. Yemitan, “Inflation targeting with dynamic time series modelling - the Nigerian case”, International Journal of Scientific and Engineering Research 9 (2014) 206.



How to Cite

Adedotun, A. F., Latunde, T., & Odusanya, O. A. (2020). Modelling and Forecasting Climate Time Series with State-Space Model. Journal of the Nigerian Society of Physical Sciences, 2(3), 149–159.



Original Research