Autoregressive Integrated Moving Average with Exogenous Variable (ARIMAX) Model for Nigerian Non Oil Export

Similar documents
Romanian Economic and Business Review Vol. 3, No. 3 THE EVOLUTION OF SNP PETROM STOCK LIST - STUDY THROUGH AUTOREGRESSIVE MODELS

TIME SERIES ANALYSIS AND FORECASTING USING THE STATISTICAL MODEL ARIMA

ECONOMETRIA II. CURSO 2009/2010 LAB # 3

Forecasting Foreign Direct Investment Inflows into India Using ARIMA Model

Frequency Forecasting using Time Series ARIMA model

Univariate linear models

Empirical Approach to Modelling and Forecasting Inflation in Ghana

A SEASONAL TIME SERIES MODEL FOR NIGERIAN MONTHLY AIR TRAFFIC DATA

Author: Yesuf M. Awel 1c. Affiliation: 1 PhD, Economist-Consultant; P.O Box , Addis Ababa, Ethiopia. c.

Arma-Arch Modeling Of The Returns Of First Bank Of Nigeria

Dynamic Time Series Regression: A Panacea for Spurious Correlations

7. Integrated Processes

THE INFLUENCE OF FOREIGN DIRECT INVESTMENTS ON MONTENEGRO PAYMENT BALANCE

Available online Journal of Scientific and Engineering Research, 2017, 4(10): Research Article

Brief Sketch of Solutions: Tutorial 3. 3) unit root tests

Problem Set 2: Box-Jenkins methodology

Forecasting of the Austrian Inflation Rate

ARDL Cointegration Tests for Beginner

Exercise Sheet 6: Solutions

Oil price volatility in the Philippines using generalized autoregressive conditional heteroscedasticity

Forecasting Egyptian GDP Using ARIMA Models

The Evolution of Snp Petrom Stock List - Study Through Autoregressive Models

7. Integrated Processes

Time Series Forecasting: A Tool for Out - Sample Model Selection and Evaluation

Review Session: Econometrics - CLEFIN (20192)

Financial Time Series Analysis: Part II

Autoregressive Integrated Moving Average Model to Predict Graduate Unemployment in Indonesia

Modelling Monthly Rainfall Data of Port Harcourt, Nigeria by Seasonal Box-Jenkins Methods

Multiplicative Sarima Modelling Of Nigerian Monthly Crude Oil Domestic Production

A Simulating Model For Daily Uganda Shilling-Nigerian Naira Exchange Rates

Forecasting the Prices of Indian Natural Rubber using ARIMA Model

Asitha Kodippili. Deepthika Senaratne. Department of Mathematics and Computer Science,Fayetteville State University, USA.

Econometrics for Policy Analysis A Train The Trainer Workshop Oct 22-28, 2016 Organized by African Heritage Institution

10. Time series regression and forecasting

Forecasting Bangladesh's Inflation through Econometric Models

The ARIMA Procedure: The ARIMA Procedure

MODELING INFLATION RATES IN NIGERIA: BOX-JENKINS APPROACH. I. U. Moffat and A. E. David Department of Mathematics & Statistics, University of Uyo, Uyo

Asian Economic and Financial Review. SEASONAL ARIMA MODELLING OF NIGERIAN MONTHLY CRUDE OIL PRICES Ette Harrison Etuk

Rainfall Drought Simulating Using Stochastic SARIMA Models for Gadaref Region, Sudan

Time Series Analysis of Monthly Rainfall data for the Gadaref rainfall station, Sudan, by Sarima Methods

Time Series Analysis of Currency in Circulation in Nigeria

Forecasting Area, Production and Yield of Cotton in India using ARIMA Model

Econ 427, Spring Problem Set 3 suggested answers (with minor corrections) Ch 6. Problems and Complements:

Oil price and macroeconomy in Russia. Abstract

The Fitting of a SARIMA model to Monthly Naira-Euro Exchange Rates

5 Autoregressive-Moving-Average Modeling

ARIMA modeling to forecast area and production of rice in West Bengal

Application of ARIMA Models in Forecasting Monthly Total Rainfall of Rangamati, Bangladesh

CHAPTER 6: SPECIFICATION VARIABLES

Estimation and application of best ARIMA model for forecasting the uranium price.

Suan Sunandha Rajabhat University

Empirical Market Microstructure Analysis (EMMA)

Topic 4 Unit Roots. Gerald P. Dwyer. February Clemson University

The GARCH Analysis of YU EBAO Annual Yields Weiwei Guo1,a

APPLIED MACROECONOMETRICS Licenciatura Universidade Nova de Lisboa Faculdade de Economia. FINAL EXAM JUNE 3, 2004 Starts at 14:00 Ends at 16:30

Modelling Seasonality of Gross Domestic Product in Belgium

OLS Assumptions Violation and Its Treatment: An Empirical Test of Gross Domestic Product Relationship with Exchange Rate, Inflation and Interest Rate

Univariate ARIMA Models

THE LONG-RUN DETERMINANTS OF MONEY DEMAND IN SLOVAKIA MARTIN LUKÁČIK - ADRIANA LUKÁČIKOVÁ - KAROL SZOMOLÁNYI

The Prediction of Monthly Inflation Rate in Romania 1

Ross Bettinger, Analytical Consultant, Seattle, WA

Modeling Monthly Average Temperature of Dhahran City of Saudi-Arabia Using Arima Models

LATVIAN GDP: TIME SERIES FORECASTING USING VECTOR AUTO REGRESSION

A Univariate Time Series Autoregressive Integrated Moving Average Model for the Exchange Rate Between Nigerian Naira and US Dollar

On Consistency of Tests for Stationarity in Autoregressive and Moving Average Models of Different Orders

in the time series. The relation between y and x is contemporaneous.

A Non-Parametric Approach of Heteroskedasticity Robust Estimation of Vector-Autoregressive (VAR) Models

FORECASTING THE INVENTORY LEVEL OF MAGNETIC CARDS IN TOLLING SYSTEM

Using the Autoregressive Model for the Economic Forecast during the Period

G. S. Maddala Kajal Lahiri. WILEY A John Wiley and Sons, Ltd., Publication

Forecasting of Soybean Yield in India through ARIMA Model

MODELING MAXIMUM MONTHLY TEMPERATURE IN KATUNAYAKE REGION, SRI LANKA: A SARIMA APPROACH

ANALYZING THE IMPACT OF HISTORICAL DATA LENGTH IN NON SEASONAL ARIMA MODELS FORECASTING

Section 2 NABE ASTEF 65

13. Time Series Analysis: Asymptotics Weakly Dependent and Random Walk Process. Strict Exogeneity

Study on Modeling and Forecasting of the GDP of Manufacturing Industries in Bangladesh

Austrian Inflation Rate

Sugarcane Productivity in Bihar- A Forecast through ARIMA Model

Autoregressive Moving Average (ARMA) Models and their Practical Applications

FORECASTING SUGARCANE PRODUCTION IN INDIA WITH ARIMA MODEL

Research on the Influence Factors of Urban-Rural Income Disparity Based on the Data of Shandong Province

Trend and Variability Analysis and Forecasting of Wind-Speed in Bangladesh

Time Series Analysis of United States of America Crude Oil and Petroleum Products Importations from Saudi Arabia

AE International Journal of Multi Disciplinary Research - Vol 2 - Issue -1 - January 2014

Analysis. Components of a Time Series

at least 50 and preferably 100 observations should be available to build a proper model

Testing for Regime Switching in Singaporean Business Cycles

1 Quantitative Techniques in Practice

Autocorrelation or Serial Correlation

Forecasting Seasonal Time Series 1. Introduction. Philip Hans Franses Econometric Institute Erasmus University Rotterdam

Practice Questions for the Final Exam. Theoretical Part

Econ 423 Lecture Notes: Additional Topics in Time Series 1

FORECASTING YIELD PER HECTARE OF RICE IN ANDHRA PRADESH

Econometrics II Heij et al. Chapter 7.1

Econometric modeling of the relationship among macroeconomic variables of Thailand: Smooth transition autoregressive regression model

Seasonal Autoregressive Integrated Moving Average Model for Precipitation Time Series

Trends and Unit Roots in Greek Real Money Supply, Real GDP and Nominal Interest Rate

Available online Journal of Scientific and Engineering Research, 2016, 3(2): Research Article

Exercise Sheet 5: Solutions

Stationary and nonstationary variables

Transcription:

ISSN 2222-195 (Paper) ISSN 2222-2839 (Online) Vol.8, No.36, 216 Autoregressive Integrated Moving Average with Exogenous Variable (ARIMAX) Model for Nigerian Non Oil Export Uyodhu Amekauma Victor-Edema 1 Prof Isaac Didi Essi 2 1.Department of Mathematics/Statistics, Ignatius Ajuru University of Education, Port Harcourt, Nigeria 2.Department of Mathematics, Rivers State University of Science and Technology, Port Harcourt, Nigeria Abstract This study specifically fitted an appropriate ARIMAX model for the Nigerian non-oil export using exchange rate (in dollars) as the exogenous variable by adopting the Box-Jenkins iterative three-stage modelling approach identification, estimation and diagnostic checking. The time plot of the two series at level showed that the mean and variance are not constant but variant with time. The Augumented Dickey-Fuller (ADF) tests confirmed both series are non stationarity hence the two series were differenced once. Results of the unit roots tests in the first difference rejected the null hypotheses at 5% level of significance of non stationarity after first difference. The Autocorrelation function (ACF) and Partial autocorrelation function (PACF) combined patterns suggested AR(2) and MA(6) respectively. By comparing their various Akaike information criteria (AIC), the parsimonious model was estimated as ARIMAX (2,1,5). The goodness of fit test confirmed the adequacy of the estimated model. All the roots of the estimated ARIMAX process lie inside the unit circle. The plots of the residuals are mostly uncorrelated, the actual and the fitted agreed very closely. In addition, Q-statistics and LM test both indicate serial non-correlation. Result from the estimated model implies that exchange rate has no impact on Nigerian non-oil as exchange rate failed to be significant. Keywords: Non-oil export, ARIMAX model, exogenous variable. Introduction There are lot of methods and techniques used to analyze time series. One of the most used is the methodology introduced by Box and Jenkins in 197, based on autoregressive integrated moving average (ARIMA) model. This method uses past data of univariate time series to analyze its own trend and forecast future cycle. Despite the effectiveness of ARIMA model to study time series, it applies only to one variable and it does not depict some turning points in the data and also could not convey relationships among variables well in the system. Hence the need for a statistical model that will capture external disruptions that may likely impact on the model. More so, Nigerian non oil export had a rubicund record contribution of up to 8% of the gross domestic product as well as providing employment for over 7% of the working population. All of these have changed due to a steady decline in non oil export; hence the need to investigate the role exchange rate plays on this decline. In the last decades few methods have being proposed to model Nigerian non oil export, this work will concentrate its effort on well established time series method of a linear combination of past observed points and errors, extended by considering another time series as a forcing (external) input, also referred to as exogenous variable which usually shows an influence on the predictand to produce a model. The ARIMAX model, first discussed by Box and Tiao in 1975, has the capacity to identify the underlying patterns in time series data and to quantify the impact of environmental influences. This provides the model with the capacity to isolate the influences of high impact changes of external type e.g. the economy, government policies and regulations etc as well as internal type e.g product rebranding, set target advances etc. So far, there have been no studies in the field of non oil export modelling using ARIMAX. But some of such relevant study has been done in other fields besides non oil export. For instance, Durka and Pastorekova (212), conducted a study to test which approach is better between ARIMA and ARIMAX in the analysis and forecast of macroeconomic time series in Slovakia. By applying Box Jenkins modelling approach using Gross Domestic Product (GDP) per capita as an output series and unemployment rate as an input series, the ARIMAX model as fitted explained 92.7% of the variability in GDP. Tsingotis and Vlahogranni (212), examined how information on weather affects the performance of short-term traffic forecasting models. Using several vector ARMAX models to evaluate effects of weather and traffic mix on the predictability of traffic speed, they concluded that inclusion of exogenous variables in the forecasting models marginally improved their prediction performance while modelling innovations such as vector and Bayesian estimation improves the model significantly. Akouemo and Povinelli (214) used an algorithm which combines two statistical techniques ARIMAX and Hypothesis testing for the detection and imputation of outliers in time series data. By focusing on the distribution by the residuals, the time series characteristics of the data set are formed and the outlier detected. Results showed that outliers generally affect the estimation of the parameters of a time series data set and that removing them provides improvement to the forecasting model. Hamjah (214) measured the climatic and hydrological effects on cash crop production in Bangladesh. Using these factors as input variables showed that climatic effects have significant effects on crops production. Wangdi, et al (21), used ARIMA model to 29

ISSN 2222-195 (Paper) ISSN 2222-2839 (Online) Vol.8, No.36, 216 forecast the number of cases of malaria in endemic areas of Bhutan and further employed the ARIMAX model to determine the predictors (meteorological factors). Their findings generally revealed that the mean maximum temperature lagged at one month was a strong positive predictor of an increased malaria cases for four out of seven districts under study. De Felice, et al (213), in forecasting electricity demand over Italy using numerical weather prediction models, the results obtained with ARIMAX outperformed the ARIMA and other considered models especially with accurate initial conditions. Some works has been done on Nigeria non oil export using methods other than ARIMAX. For instance, Ekesiobi et al (216), investigated the relationship between the non oil exports and foreign reserves. Using the ordinary least square, findings revealed a weak positive relationship between non oil export and foreign reserves therefore implying that non oil plays no significant part in determining the level of foreign reserve in Nigeria. Onodugo et al, (213) in another study examined the impact of non-oil export trade on economic growth in Nigeria. Using the long run regression model based on the Augmented Prediction Function it was concluded that the non oil export although statistically significant and positive variable, had infinitesimal level of contribution in stimulating growth of Nigeria economy. Imoughele and Mohammed (215), examined the impact of exchange rate on Nigerian non oil exports using ordinary least square statistical technique. The result showed that depreciation in exchange rate has no robust effect on Nigeria non-oil export. The purpose of this work is to use ARIMAX model to investigate the relationship between non oil export and exchange rate over time. This is in agreement with the major goal of Non oil export modelling, which is to get a more accurate estimate that can be applied in developing better informed policies. Specifically, the ARIMAX model will be used to test the relationship between non oil export and exchange rate. 2. Material and method. 2.1 Data Two sets of monthly data namely- Nigerian Nonoil export data and Exchange rate (in $) data both covering a period from January 1996 to September 215 are used for this analysis. Both sets of data are sourced from National Bureau of Statistics (NBS). 2.2 Statistical Data Analysis Tool This work used a statistical package - Eviews 8 for the data analysis. Both the non-export data and the exchange rate (in $) data were fed into the package and most of the results used for this work were obtained. 2.3 ARIMAX model The ARIMAX model is an extension of Autoregressive Integrated Moving Average (ARIMA) model. The ARIMA model has three parameters namely; p, d and q, where p is the autoregressive term, q is the moving average term and d indicated the series is differenced to make it stationary. An ARIMA (p,q) model is states as follows: (1) where is the autoregressive polynomial expressed as;. (2) And is called the moving average polynomial expressed by;, is the dependent variable in period t, denotes the difference from d degree and finally, is the white noise process. By adding the leading indicator to equation (1), we have; (4) Where ) (5) is the exogenous variable at time t. The equation (4) is the general form of ARIMAX (p,d,q) model. 3. ARIMAX model fitting The ARIMAX model follows the Box-Jenkins iterative three-stage modelling approach and this research strictly adopts this approach namely; identification, estimation and diagnostic checking. A visual inspection of the time plots of the two series revealed some important feature like the upward and downward movement at least inconclusively. This provided useful information concerning outliers, missing values and structural breaks in the data to ensure the time series is stationary. Regressions with non stationary series are spurious and analyses are not valid. For this work, we test if there is stationarity by applying the Augmented Dickey-Fuller (ADF). Visually examining the autocorrelation function (ACF) and partial autocorrelation function (PACF) combined (3) 3

ISSN 2222-195 (Paper) ISSN 2222-2839 (Online) Vol.8, No.36, 216 patterns should reveal some important features at least inconclusively which should help to identify the orders of AR and MA parameters of the model. At the estimation stage, each of the selective models is estimated and the various coefficients examined. The suggestive models are compared using the Akaike information criterion and the most adequate model is selected. 3. Results and Discussion The time plots of the non-oil export (NONOL) and that of exchange rate in dollars (DEXRATE) shown in figures 1 and 2 respectively revealed a highly volatile pattern. The NONOL in figure 1 showed a slow but gradual movement over a period of time. The period from 1996 through to 21 recorded no rise. Gradual upward and downward fluctuation began in 22 through to 29, with sudden rapid rise and fall from 21, an indication that the mean and variance are time variant. EXRATE on the other hand showed constant trend from 1996 to 1998 and a rapid fluctuation thereafter. 1,6, 1,4, 1,2, 1,, 8, 6, 4, 2, 1996 1998 2 22 24 26 28 21 212 214 Figure 1:Time Plot of Non oil data NONOL. 1,5, 1,, 5, -5, -1,, -1,5, 1996 1998 2 22 24 26 28 21 212 214 Figure 2:Time Plot of differenced Non oil data DNONOL 24 2 16 12 8 4 1996 1998 2 22 24 26 28 21 212 214 Figure3:Time Plot of Exchange rate data(exrate) 31

ISSN 2222-195 (Paper) ISSN 2222-2839 (Online) Vol.8, No.36, 216 8 6 4 2-2 -4 1996 1998 2 22 24 26 28 21 212 214 Figure 4:Time Plot of Differenced Exchange rate data DEXRATE The ADF test considers both NONOL (p-value=.1218) and EXRATE (p-value=.7188) both values judged at.5 level of significant, as non-stationary. A first differencing of NONOL and EXRATE yield series DNONIL (with p=.) figure 2 and DEXRATE (with p=.) in figure 4 respectively showing stationarity. The ARIMAX model shows the effect of EXRATE (input variable) on NONOL. The Autocorrelation function (ACF) patterns suggested autoregressive model up to order 2 i.e. AR(2) while the Partial autocorrelation function (PACF) suggested a moving average up to order 6,MA(6). By comparing these suggestive models using Akaike information criteria (AIC), the parsimonious model was estimated as ARIMAX (2,1,5). Table 1 : ARIMAX Estimate for NONOL with EXRATE(X) as exogenous variable Dependent Variable: D(NONOL) Method: Least Squares Sample (adjusted): 1996M4 215M9 Included observations: 234 after adjustments Convergence achieved after 287 iterations MA Backcast: 1995M1 1996M3 Variable Coefficient Std. Error t-statistic Prob. C 29.93921 8621.728.3473.9972 X 3.7665 65.2456.574.9546 AR(1).114367.3583 3.259911.13 AR(2) -.88961.29998-29.6372. MA(1) -.81666.46148-17.37144. MA(2) 1.1827.14273 7.81965. MA(3) -.7771.4312-17.8899. SMA(12).195741.66942 2.92431.38 R-squared.377843 Mean dependent var 176.367 Adjusted R-squared.358573 S.D. dependent var 198824.5 S.E. of regression 159236.8 Akaike info criterion 26.82776 Sum squared resid 5.73E+12 Schwarz criterion 26.94589 Log likelihood -313.848 Hannan-Quinn criter. 26.87539 F-statistic 19.675 Durbin-Watson stat 1.93331 Prob(F-statistic). The probability of the variable X at.5 (p-value =.9546) failed to be significant, this is an indication that exchange rate does not impact Non-oil export. The result of the group unit test in figure 5 shows the roots of the characteristics polynomial revealing that no root of the estimated model lies outside of the unit root circle, an indication that the model satisfied the stability condition. 32

ISSN 2222-195 (Paper) ISSN 2222-2839 (Online) Vol.8, No.36, 216 Inverse Roots of AR/MA Polynomial(s) 1.5 1..5 AR roots MA roots. -.5-1. -1.5-1.5-1. -.5..5 1. 1.5 Figure 5: Roots of Characteristics Polynomial The plot of the actual and the fitted in figure 6 agree very closely and so are mostly uncorrelated thereby meeting white noise assumptions. The plots of the Q-statistics became insignificant at most lags, the Serial Correlation LM test in Table 2, taken up to lag 2 is insignificant (p-value =.7578) accepting the hypothesis of no serial correlation up to order two. Thus, the Q-statistics and the LM test both indicate that the residuals of the estimated model are serially uncorrelated, consequently, the model specifications are adequate, an indication that the model is very adequate. 1,5, 1,, 5, 1,5, 1,, 5, -5, -1,, -1,5, -5, -1,, 1996 1998 2 22 24 26 28 21 212 214 Residual Actual Fitted Figure 7: Graph of Actual, Fitted and Residuals. Table 2. Serial Correlation Test Table Breusch-Godfrey Serial Correlation LM Test: F-statistic.277687 Prob. F(2,224).7578 Obs*R-squared.578648 Prob. Chi-Square(2).7488 References Akouemo, H. N., Povinelli, R. J.(214). Time series outlier detection and imputation. Proceedings of IEEE PES General Meeting Conference & Exposition. IEEE. ISSN:1932-5517 1-5. Box, G. E. P., & Tiao, G. C. (1975): Intervention analysis with applications to economic and environmental problems. Journal of the American Statistical Association. 1975, 7,(349), 7-79. Chatfield C.(1989). The analysis of time series: an introduction. 4 th ed. London.Chapman & Hall. De Felice, M., Alessandri A., Ruti P. M.,(213). Electricity demand forecasting over Italy: potential benefits using numerical weather prediction models. Electric Power Systems Research. Retrieved on 16/1/215 www.researchgate.net/publication/263927 372 Durka, P. & Pastorekova, S. (212). ARIMA vs ARIMAX which approach is better to analyze and forecast macroeconomic time series?. Proceedings of 3 th international conference on mathematical methods in economics. 136-14. Ekesiobi C. S., Maduka, A. C., Onwuteaka C. I.& Akamobi, G. O.(216). Modelling non-oil export and foreign reserves in Nigeria. Developing country studies 6(6). retrieved: 7/7/16. Hamjah, M.A. (214). Climatic effects on major pulse crops production in Bangladesh: an application of Box Jenkins ARIMAX model. Journal of Economics and Sustainable Development. 5(15) 169 18).. Retrieved 16/1/15 33

ISSN 2222-195 (Paper) ISSN 2222-2839 (Online) Vol.8, No.36, 216 Imoughele, L.E & Ismaila M. (215). The impact of exchange rate on Nigeria non-oil. International Journal of Academic Research in Accounting, Finance and Management sciences.5(1), 19-198. www.hrnars.com. Retrieved 16/1/15 Nigeria in 214: Economic Review and 215-217 Outlook. National Bureau of Statistics, 28 th January 215. Retrieved 29/11/15 N gattia, A. K., Coulibaly, D., Cherif, D., Kadjo, H. & Tiembre, I. (215). Transmission dynamics of seasonal influenza in Abidjan: epidemiology and modeling.online journal of public health informatics (OJPHI). 7(1). www.ncbi.nlm.nih.gov/pubmed/ Retrieved 12/1/16. Onodugu, V. A., Ikpe, M. & Anowo, O. F. (213). Non-oil export and economic growth in Nigeria: a time series econometric model. International Journal of Business Management & Research (IJBMR). 3(2), 115-124. http://ww.dspace.funai.edu.ng/ Retrieved 7/12/15 Ranjit, J., Prajneshu, P., Himadri, G.,(213). Statistical modeling for forecasting of wheat yield based on weather variables. The Indian journal of Agricultural Sciences. 83(2) 18-183. http://epubs.icar.org.in/ejournal/index.php/ Retrieved 7/12/15. Tsirigotis, L., Vlahogianni, E. I., Karlaftis, M. G. (212)., Does information on weather affect the performance of short-term traffic forecasting models?. International journal of intelligent transportation systems research. 1(1), pp 1-1. www.link.springer.com/article. Retrieved 1/2/216. Wangi K., Singhasivanon, P., Silawan, T., Lawpoolsri, S., White, N. J.,& Kaewkungwal, J. (21). Development of temporal modeling for forecasting and prediction of malaria infections using time series and ARIMAX analysis: a case study in endemic districts of Bhutan. Malaria Journal. 9(251). doi:1.1186/1475-2875-9-251 34