The gross domestic product (GDP) is a significant indicator for evaluating the performance of an economy. The GDP of a nation can be used to get a sense of the size and health of that nation's economy. Indonesia is the only nation from Southeast Asia to be represented in the G20. All G20’s countries play vital roles in creating the economic landscape of the region, the world, and everything in between. This research is focused on the increase of the GDP in Indonesia, Malaysia, Singapore, Thailand, and Brunei Darussalam. The spatial influence of GDP can be seen in the growth of each nation's infrastructure and industrial sector, for example. at the regional level, the increase of a country's GDP can also have an effect on the countries that are its neighbors. Using the GSTAR model, the aim of this study is to investigate the spatial and temporal influences on the GDP statistics of five different countries. The GSTAR model is distinguished by the presence of a weight matrix, which is one of its distinguishing features. In addition, the aim of this research is to select the most appropriate weight matrix for the purpose of representing the spatial effect on GDP statistics. Uniform, queen contiguity, and inverse distance weight matrices are the types of weight matrices that are utilized. Calculating each weight matrix, estimating relevant parameters, and performing diagnostic tests are the primary activities involved in this investigation. As a consequence of this, a weight matrix that is uniform in its distribution is the one that performs the best. The spatial and temporal correlations of GDP data may be accurately represented by the GSTAR model when it is equipped with a uniform weight matrix. This model is applied to five different countries.