- About this Journal ·
- Abstracting and Indexing ·
- Aims and Scope ·
- Article Processing Charges ·
- Articles in Press ·
- Author Guidelines ·
- Bibliographic Information ·
- Citations to this Journal ·
- Contact Information ·
- Editorial Board ·
- Editorial Workflow ·
- Free eTOC Alerts ·
- Publication Ethics ·
- Reviewers Acknowledgment ·
- Submit a Manuscript ·
- Subscription Information ·
- Table of Contents

Journal of Probability and Statistics

Volume 2012 (2012), Article ID 867056, 16 pages

http://dx.doi.org/10.1155/2012/867056

## Application of Generalized Space-Time Autoregressive Model on GDP Data in West European Countries

^{1}Faculty of Science and Engineering, Jenderal Soedirman University, Purwokerto 53122, Indonesia^{2}Faculty of Mathematics and Natural Sciences, Bandung Institute of Technology, Bandung 40132, Indonesia

Received 28 September 2011; Revised 1 February 2012; Accepted 14 February 2012

Academic Editor: Shein-chung Chow

Copyright © 2012 Nunung Nurhayati et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

This paper provides an application of generalized space-time autoregressive (GSTAR) model on GDP data in West European countries. Preliminary model is identified by space-time ACF and space-time PACF of the sample, and model parameters are estimated using the least square method. The forecast performance is evaluated using the mean of squared forecast errors (MSFEs) based on the last ten actual data. It is found that the preliminary model is GSTAR(2;1,1). As a comparison, the estimation and the forecast performance are also applied to the GSTAR(1;1) model which has fewer parameter. The results showed that the ASFE of GSTAR(2;1,1) is smaller than that of the order (1;1). However, the * t*-test value shows that the performance is significantly indifferent. Thus, due to the parsimony principle, the GSTAR(1;1) model might be considered as a forecasting model.

#### 1. Introduction

Space-time data are frequently found in many areas of research, for example, monthly tea production from some plants, yearly housing price at capital cities, and yearly per capita GDP (gross domestic product) of several countries in some region. The generalized space-time autoregressive model of order , shortened by GSTAR(,…,), is one of space-time models characterized by autoregressive terms lagged in the th order in time and the order of in space [1].

The term of generalization is associated with the model parameters. When a parameter matrix is diagonal, the GSTAR model is the same as space time autoregressive (STAR) model given by Martin and Oeppen [2] and Pfeifer and Deutsch [3]. The notion of generalization has also been used by Terzi [4] who also generalizes STAR models but in a different context. He generalized the STAR(1;1) by adding the contemporaneous spatial correlation but still preserved the scalar parameters.

When and , GSTAR(1;1) is called the first order of GSTAR model. The model has interpretation that the current observation in a certain location only depends on the immediate past observations recorded at the location of interest and at its nearest neighbourhood [5]. The order (1;1) is the simplest natural assumption if one wants to forecast future observations in a certain location. The STAR(1;1) model is another simple space time model which also has the same interpretation as GSTAR(1;1) model. However, contrary to the generalization model, its parameters of each spatial order are assumed to be the same for all location though; there is no *a priori* justification for this assumption [1]. Parameters of GSTAR model can be estimated by the method of least square. This method has been used to model the monthly oil production [5] and to model the monthly tea production [1]. However, when the model was applied to their data, none of the papers included a description about how to assess the model based on forecasting performance which is an important step when the modelling purpose is to build a forecasting model. In this paper, we attempt to put in the idea to optimize the goodness of fit in model selection.

This paper is presented as follows. In Section 2, the GSTAR model and the parameters least squares estimation is reviewed with the example given for GSTAR(1;1) and GSTAR(2;1,1). To illustrate the estimator properties for finite sample size, simulation study is discussed in Section 3. In the last section, the model is applied to the per capita GDP ratio data in West European countries for the period 1956–1996. The one step ahead forecasting is performed for each model for the period 1997–2006. As a comparison performance measure, it is used the empirical mean of squared forecast error (MSFE) where forecast error is defined as the difference between the actual value and the forecast value.

#### 2. The Model

Let be an -dimensional vector process with zero mean with as is a fixed positive integer. GSTAR process is a space-time process which satisfies
where is the autoregressive order, is the spatial order of the th autoregressive term, is an matrix of spatial weight for the spatial order which has a zero diagonal, sum of each row is equal to one, and matrix is defined as the identity matrix **I**. An matrix is a diagonal parameter matrix of temporal lag and spatial lag with the diagonal element. Finally, is an error vector at time which is assumed to be independent normal with zero mean and constant variance.

Model parameters for and can be estimated by the least squares (LS) estimation. The procedure estimation and the asymptotic properties of LS estimators have been discussed extensively in Borovkova et al. [1]. The following examples are an illustration on how to find the LS estimator for GSTAR(1;1) and GSTAR(2;1,1) models, respectively.

*Example 2.1 (LS estimation for GSTAR(1;1) model). * From (2.1), GSTAR(1;1) model can be expressed as
Suppose observation is given for . By rearranging the component of for , by location then by time, model (2.2) can be expressed as a linear model
where , with
, and .

Then, the LS estimator for parameter matrix is a solution of

*Example 2.2 (LS estimation for GSTAR(2;1,1) model). *For order , = 1 and = 1, model (2.1) is called GSTAR(2;1,1) model which can be written as
By rearranging the component of for , by location then by time, model (2.6) can also be expressed as a linear model
where **Z** and **e** are defined as in Example 2.1, with
and .

Then, the LS estimator for parameter matrix is a solution of

#### 3. Simulation Study

Under the stationary assumption, the LS estimator for the GSTAR parameters is a consistent estimator [1]. To get insight into the LS properties for finite sample we performed a Monte Carlo simulation with 1000 replications. Artificial data were generated from GSTAR(1;1) model where the error is normally distributed with mean **0** and covariance matrix **I**_{4}. Spatial weight matrix and model parameters that used in the simulation, respectively, were
such that the parameter matrix for the generated model was

The LS estimator vector was calculated using R functions in Algorithm 1. Simulation was carried out for sample size 40, 50, 100, 500, 1000, 10000, and for each , simulations were repeated 1000 times to obtain the estimates average

and empirical mean squared error (MSE)

where .

The result is presented in Table 1. It can be seen that the parameters estimates (in average) approaches the true parameters as increases while the empirical MSE is getting smaller and approaching 0 as increasing. It means that behavior of the LS estimator in the simulation exhibits the consistent property. In general, we can notice that the LS estimation could give fair estimates even for moderate sample size such as and .

#### 4. Application of GSTAR Model to the Ratio of Per Capita GDP Data

In this section, we apply the GSTAR model to the ratio of per capita GDP data in 16 West European countries. The data was kindly given by Maddison [6] from Faculty of Economics, University of Groningen, the Netherland, who passed away on April 24 2010. The per capita GDP of a country is the country GDP value divided by its population, and the per capita GDP of total West Europe is the sum of each West European country GDP divided by the total population in West Europe. The ratio of the per capita GDP of a country is the country per capita GDP value divided by the per capita GDP of total West Europe, multiplied by 100. Hence, the unit of the per capita GDP ratio is the percentage. For the data analysis in the following subsection, we will use the ratio of the per capita GDP data and for simplicity it will be called the GDP ratio data.

##### 4.1. Dataset and Preliminary Model Building

The dataset is the GDP ratio data for periods 1955–2006. It consists of 52 observations of 16 dimensional vectors. For the purpose of forecasting the data was grouped into the training data set and test data set. The training data is the first 42 observations that will be used for model building and the test data is the last ten data that will be used in forecasting performance comparison.

Clearly, the 42 observations in the training data, depicted in Figure 1(a), are not stationary though they tend to converge to the value between 50% and 150%. Therefore, to achieve the zero mean stationary data, the first difference transformation and data centralization must be applied.

Suppose represents the per capita GDP ratio for country at time . The first difference transformation of denoted by is

and the centralization of the differenced data is

where is the average of (*t*) at location . Plot of the 16 series of this transformation is displayed in Figure 1(b) and their behaviour has seemed to represent stationary series.

As a preliminary model building, we set some notations used in model (2.1). The length of time period is 40, and the number of sites is . Time period will correspond to 1956, to 1957, to 1958, and so on. Since the time dimension is one, the time lag can be ordered naturally by the sequence of . On the other hand, the spatial order may be defined in a different ways because in a two-dimensional space there is no specific order just as in one-dimensional space. For the GDP data, there are 16 countries. The first order and the second order neighbours of the countries are given in Table 2. These are defined based on the geographical location of the countries. The first order neighbours of a country are those which have a common border with the country or within a close distance along a sea route. A second order neighbour of a country is the union of all first order neighbourhood countries of its first order neighbours, excluding itself.

Suppose represents the number of countries which are the th neighbours of a country . The spatial weight of order between countries and can be defined as For example, from Table 2 it can be seen that Austria has 3 the first order neighbours, Germany, Netherland and Switzerland, and has 6 second order neighbours, Belgium, Denmark, France, Greece, Netherland, and Sweden. Then, the first order of spatial weight between Austria and each nearby country is

and the second order of spatial weight is .

##### 4.2. GSTAR Model Building for the GDP Data

After transforming the data and constructing spatial weight matrix, the next step is identification of the model order. In STAR model-building, [3] used the sample space time autocorrelation function (STACF) and space time partial autocorrelation function (STPACF) as the primary tools for model identification. The order () model can be characterized by the tail-off behaviour of the autocorrelations and the cut-off behaviour of the partial after time lag and spatial lag. Since STAR model is a special case of GSTAR model, these autocorrelation functions will be adopted to identify the order of GSTAR model.

Figure 2 presents sample STACF and STPACF for the differenced data up to time lag 10 and spatial lags 0, 1, and 2. The pattern is not clearly suggested an exact order. However, since the sample STPACF cut off after time lag 2 and spatial lag 1, order (2;1,1) can be considered as the space-time order candidate. In addition, the space-time partials also cut off at time lag 5 and spatial 2, but applying this GSTAR model to the data will result too many estimated parameters because there will be at least 160 parameters which have to be estimated.

The 64 parameters and the error variance in this model were estimated using the least square method and the result is presented in Table 3. The empirical MSE for GSTAR(2;1,1) model is 2.735 counted based on or 624 values. The residuals histogram and normal probability plot on Figures 4(a) and 4(b) show that the GSTAR(2;1,1) residuals are approximately normal distributed with zero mean and constant variance. Meanwhile, fitted value versus residuals plot in Figure 4(c) exhibits that the residuals do not show a significant pattern. From Figure 3 we can observe that the STACF of the residuals is significantly almost zero except for time lag 5 and 10, and spatial lag 2. The exception points at time lags 5 and 10, suggesting that the seasonal difference of order 5 might be useful for further model analysis. But the seasonal model analysis is not discussed here because it is out of the research scope.

For forecasting purpose, the estimated parameters in Table 3 can be used to predict the -step-ahead forecast value at time forecast origin defined by

#### 5. GSTAR(1;1) Modeling

GSTAR(1;1) model is the simplest model of GSTAR() model class defined in (2.1) because it is only characterized by the autoregressive terms lagged in time and spatial of order one. From (2.1) we can write GSTAR(1;1) as or in matrix notation where , , and . To simplify the notation, and are frequently written, respectively, by and .

The model has an interpretation that the current observation in a certain location only depends on the immediate past observations recorded at the location of interest and at the nearest locations. The GSTAR(1;1) model has parameters since it is assumed that the parameter for each location is allowed to be unequal. For the per capita GDP data the least square estimator for GSTAR(1;1) model is presented in Table 4. The residuals distribution of the model, presented in Figure 5, give the conclusion that the residuals are approximately normally distributed with zero mean and the variance is nearly constant. In general, the STACF plot in Figure 6 shows that the residuals are significantly uncorrelated. The insignificant value was only found at the last time lag.

For the GDP data case, GSTAR(2;1,1) model has 64 parameters while GSTAR(1;1) has 32 parameters. Hence, it is not a surprise if the empirical MSE of GSTAR(2;1,1) is less than that of GSTAR(1;1). However, though the number of parameters of GSTAR(1,1) is half of the other one, the empirical MSE of GSTAR(1,1) is only decreasing 0.257 compared to the GSTAR(2;1,1).

The distribution of the MSE difference for each country is presented in a bubble plot (Figure 7). Center of the bubble is the value of MSE difference and the radius is its absolute value. The bubble placed under the zero axis indicates that the GSTAR(2,1,1) MSE for the associated country is smaller than that of the GSTAR(1;1) MSE. From the figure, we can see that the decrease of MSE values is mostly contributed by five countries, Belgium, Denmark, Ireland, Sweden, and Switzerland. Though the MSE value seems different, the paired -test for the result gives the values < 0.678. It means that the MSE values for both models are significantly indifferent.

#### 6. Comparison of Forecast Performance

For the purpose of forecasting model, it would be useful if we also consider their forecast performance. Therefore, in this section we will examine the one-step-ahead forecasting performance for each model candidate using the last ten actual data points of the per capita GDP ratio data set. Result of this section is expected to become a supplementary reference in finding the most parsimony space-time model for the case of per capita GDP ratio.

In (4.5) we have defined the -step-ahead forecasting for GSTAR(2;1,1) model. For GSTAR(1;1) model, it can be estimated by where , , and for , .

The one-step-ahead forecast of each data points can be calculated using (4.5), (6.1), and (6.2) for . Note that calculation of the forecast value for each time , is performed without updating the parameter estimates and average data. The one-step-ahead forecast for GSTAR(2;1,1) model is where . Meanwhile the one-step-ahead forecast for GSTAR(1;1) model is

To compare the forecast performance, we use mean of square forecast error (MSFE) which is defined by where and is the element of .

To measure the performance closeness between two models, we also calculate the MSFE difference between model and model for country which is defined by

The performance of and model is said to be close if the value of is near to zero. The negative value of indicates that for location , the model is better than model. Since the residual is approximately normally distributed, the paired -test can also be applied to test the null hypothesis that model and model have the same forecast performance.

Suppose and in (6.7) are represented by GSTAR(2;1,1) and GSTAR(1;1) model, respectively. The MSFE difference values are displayed in a bubble plot (Figure 8). Center of the bubble is the value of MSFE difference and the radius is its absolute value. The bubble placed under the zero axis indicates that the MSFE value for model is smaller than that of the model . From the figure, it can be seen that most of the countries have the MSFE value which is scattered around the zero axis. The high value of the value < 0.9858 for the paired -test gives the evidence that the forecast performance of each model is not significantly different.

The behavior of both differences for each time is displayed in Figure 9. From the figure, it can be observed that most points in Ireland (site 8) have a negative value. It means that in Ireland GSTAR(2;1,1) model has a better performance than GSTAR(1;1). Conversely, the most points in Norway (site 11) and Switzerland (site 15) are positive when the difference is counted for the pair of GSTAR(2;1,1) and GSTAR(1;1). On the other hand, Figure 7 also shows that in Norway there is a point with high jump difference value. It means that the worst performance of GSTAR(2;1,1) occurred at this point. In addition, the ratio of the negative value and the positive value is almost the same. It gives the interpretation that forecast performance of GSTAR(2;1,1) and GSTAR(1;1) model is almost similar.

#### 7. Conclusions

GSTAR modeling has been built to the ratio of per capita GDP data in West European countries. The model of order (2;1,1) model has been identified as the candidate model. However, when the forecast performance is compared with GSTAR(1;1), it is found that the performance is significantly indifferent. Due to parsimony principle, we recommend that the GSTAR(1;1) might be considered as a forecasting model.

#### Acknowledgments

The research of the first author is supported by the Scholarship of Sandwich-Like Program no. 1995.1/D4.4/2008 of the Ministry of National Education of Republic of Indonesia c/q Directorate General of Higher Education (DIKTI). The authors are very grateful to Professor Gopalan Nair from the School of Mathematics and Statistics, the University of Western Australia, for his supervision during the first author’s visit in 2008. Helpful comments from earlier manuscript’s reviewer are also thankfully acknowledged.

#### References

- S. Borovkova, H. P. Lopuhaä, and B. N. Ruchjana, “Consistency of asymptotic normality of least squares estimators in generalized STAR models,”
*Statistica Neerlandica*, vol. 62, no. 4, pp. 482–508, 2008. View at Publisher · View at Google Scholar - R. L. Martin and J. E. Oeppen, “The identification of regional forecasting,”
*Transactions of the Institute of British Geographers*, vol. 66, pp. 119–128, 1975. View at Google Scholar - P. E. Pfeifer and S. J. Deutsch, “A three-stage iterative procedure for space-time modeling,”
*Technometrics*, vol. 22, pp. 397–408, 1980. View at Google Scholar - S. Terzi, “Maximum likelihood estimation of a GSTAR(1;1) model,”
*Statistical Methods and Applications*, vol. 3, pp. 377–393, 1995. View at Google Scholar - B. Nurani,
*Suatu model generalisasi space-time autoregresi dan penerapannya pada produksi minyak bumi*, Dr. dissertation, Institut Teknologi Bandung, Indonesia, 2002. - A. Maddison,
*Statistics on World Population, GDP and Per Capita GDP, 1-2006 AD*, 2008, http://www.ggdc.net/maddison.