Nothing Special   »   [go: up one dir, main page]

Next Article in Journal
Estimation and Prediction of Cereal Production Using Normalized Difference Vegetation Index Time Series (Sentinel-2) Data in Central Spain
Previous Article in Journal
Optimization of Performance and Emission Parameters of Biodiesel with Additives Using Taguchi and Grey Relational Analysis
You seem to have javascript disabled. Please note that many of the page functionalities won't work as expected without javascript enabled.
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Proceeding Paper

Using Dichotomous Variables to Model Structural Changes in Time Series: An Application to International Trade †

Faculty of Higher Studies Aragon, National Autonomous University of Mexico, Netzahualcóyotl 57000, Mexico
*
Authors to whom correspondence should be addressed.
Presented at the 10th International Conference on Time Series and Forecasting, Gran Canaria, Spain, 15–17 July 2024.
Eng. Proc. 2024, 68(1), 22; https://doi.org/10.3390/engproc2024068022
Published: 5 July 2024
(This article belongs to the Proceedings of The 10th International Conference on Time Series and Forecasting)

Abstract

:
This research aimed to elucidate the methodology employed in econometric estimations by utilizing dichotomous variables. These variables served a dual purpose: firstly, they denoted an attribute designed to discern structural changes within a linear relationship, and secondly, they quantified the impact and statistical significance of one or more quantitative independent variables on a dependent variable in the presence of such structural changes. The core of this document covers the presentation of the methodology; additionally, an applied analysis of Mexico’s foreign trade is included. This analysis delved into estimating the impact and statistical significance of exports on the economic growth across different periods, reflecting significant structural changes in the development of the Mexican economy.

1. Introduction

Considering the emergence of structural changes over time, it is crucial to underscore the significance of developing a methodology for quantifying the impact of one or more independent variables on a dependent variable within a linear relationship.
Structural change is a phenomenon that has been studied in various branches due to its intrinsic importance within time series. Some research has focused on problems of this nature in relation to economic cycles, industry, and productivity, among others; such is the case in [1,2,3]. A study of the state of the art on structural change can be found in [4]; likewise, an application of the methodology presented here can be seen in [5].
The primary objective of this study was to elucidate the formal procedure of econometric estimation. It is noteworthy that estimates and modeling in this vital domain of knowledge should ideally be grounded in economic theory.
However, since this study presents an application focusing on the relationship be-tween trade and economic growth, the analysis of the model was approached in a more generalized manner. The emphasis was predominantly placed on highlighting the causes that trigger structural changes, with a primary focus on formal empirical estimation.
This research, in addition to providing a theoretical explanation of the methodology, presents a simple application focused on the quantification of the impact of the growth rate of Mexican exports on the growth rate of the economy in the face of two important structural changes; namely, the economic crisis of 2009 and the trade friction between China and the United States in 2018.
In this context, the utilization of dichotomous variables to discern attributes within a time series assumes significant importance. By modeling these variables through zeros and ones, different spans or periods separated by a structural change can be distinguished. This analysis extended beyond merely estimating expected values in the presence of an attribute, such as belonging to a specific period before and after a structural change, akin to a variance analysis model.
This methodology allowed for the estimation of the impact of one or more independent variables on a dependent variable in two linear relationships—prior to and subsequent to the structural change. In the presence of a second structural change, this extends to three linear relationships, and so forth for n variables and m structural changes. This approach provides a comprehensive framework for capturing the intricate dynamics of the relationship under consideration across multiple structural shifts.
Although regression with dichotomous variables has been studied in various texts, it is reviewed here with a focus on structural change [6,7,8,9].

2. Structural Change as an Attribute of a Time Series

Dichotomous variables can be used to represent the presence of an attribute of a variable. In this particular context, they can be employed to capture a structural change in a time series by expressing themselves on a nominal scale. These variables are commonly referred to as indicator, binary, categorical, or simply qualitative variables. They adopt values of zeros and ones to denote the absence or presence of a specific attribute. In this instance, the attribute pertains to a change in the time series, which can manifest as a punctual, regime, transitory, or gradual change, as illustrated in [10].
Similarly, numerous techniques can be applied with this type of variable. While maintaining consistency with ANCOVA (analysis of covariance)-type models is crucial, the methodology presented here can also be viewed as the estimation of a regression across specific segments or periods.
Building upon the above, ordinary least-squares regression and its associated assumptions were employed to ascertain the significance and impact of the independent variables. This was achieved through control intercepts and differential intercepts, representing an application of the various procedures outlined in [9].

3. Formalization of the Impact of One or More Variables on Another in the Presence of a Structural Change

This methodology evaluated the impact and statistical significance of a set of independent variables on a dependent variable in different time periods separated by a structural change. In other words, this methodology allowed us to analyze the impact and statistical significance of structural changes over time—for example, a change in the administration of a company or an economy, the evaluation of some policy, or the presence of an economic crisis or health crisis, such as the recent case of the worldwide COVID-19 pandemic.
The interpretation of the coefficients derived from this methodology was aligned with the conventional interpretation as a rate of change. However, this placed particular emphasis on the division of the time intervals corresponding to the structural change. In this case, dichotomous variables on a nominal scale were utilized, and mutually exclusive values were adopted to signify membership in one time period or another.
With the purpose of obtaining results capable of forming predictions with the best linearly unbiased estimators, the assumptions of a linear regression model were embraced. The model can be expressed as follows:
Y = β 0 + β 1   X 1 + β 2   X 2 + ε t
where:
Y : dependent variable;
X 1 and X 2 : independent variables;
ε t : stochastic part of error.
Therefore, the variables X 1 and X 2 have an effect on Y over a period of time.
Assuming a structural change, a dichotomous variable D 1 was then added that accepted values of zero for all the observations before the structural change, and values of one for the opposite case, so that the model can be written in the following form:
Y = β 0 + β 1   X 1 + β 2   X 2 + α 0   D 1 + α 1   D 1   X 1 + α 2   D 1   X 2 + ε t
where the parameter α i is useful for establishing the change that had the impact from one period to another. It was assumed that each structural change will be denoted with a different group of parameters accompanied by a dichotomous variable D j , where j   denotes the number of structural changes.
In this case, the expression that identified the relationship of the independent variables X 1 and X 2 with Y for the period after the structural change is given as follows:
Y = β 0 + α 0 + β 1 + α 1   X 1 + β 2 + α 2 X 2
In general, a model for a single study period (without a structural change) can be expressed as follows:
Y = β 0 + i = 1 n β i   X i
where n is the number of independent variables.
To include a structural change, the following term is added:
D 1   [ α 0 + i = 1 n α i X i ]
This can be generalized as follows:
D j   [ γ 0 + n i = 1 n γ i X i   ]
Suppose that a relationship of three independent variables with two structural changes is analyzed. Then, the model to estimate this is as follows:
Y = β 0 + i = 1 n β i X i + D 1   [ α 0 + i = 1 n α i X i ] + D 2     [ γ 0 + n i = 1 n γ i X i   ] + ε
When finding the value of the parameters using any econometric software, the interpretation is shown below.
The equation for the first period, before any structural changes, is as follows:
Y = β 0 + β 1   X + β 2   X 2 + β 3   X 3
The equation for the second period, after the first structural change, is as follows:
Y = β 0 + α 0 + β 1 + α 1   X 1 + β 2 + α 2 X 2 + β 3 + α 3   X 3
Finally, for the last period, after the second structural change, the equation is given as follows:
Y = β 0 + γ 0 + β 1 + γ 1   X 1 + β 2 + γ 2 X 2 + β 3 + γ 3   X 3
By employing the principle of ceteris paribus, the impact of each independent variable on the dependent variable was determined for three distinct periods, taking into account the model’s assumptions. The subsequent section illustrates a practical example applied to the Mexican economy and its foreign trade, addressing two structural changes.

4. The Impact of Mexican Exports on Economic Growth

Initially, a regression was conducted for the entire study period by examining the relationship between an increase in exports and economic growth using the conventional ordinary least-squares methodology. The resulting estimate is presented in the following equation.
D P I B t   = 0.028 + 0.262 D X t + ε t
Nevertheless, despite the statistical significance of the independent variable, an R2 of 0.65 was attained, and the model’s assumptions were not validated. Specifically, the cumulative sum test and the cumulative sum-of-squares test, or CUSUM and CUSUMQ, respectively, provided evidence of the presence of structural changes.
These tests were developed by Page [11] and they analyze the cumulative sum of deviations from a target value. This allows us to determine if the conditional mean of the model is stable when the blue trajectory leaves the red bands, as shown below, with a significance level of 95%.
In Figure 1 and Figure 2 shown below, it should be noted that the cumulative sum of the deviations on the vertical axis is shown with respect to time on the horizontal axis.
In this context, and aligned with specific events within Mexico’s international trade, it was identified that significant structural changes occurred in the first quarter of 2009 and the second quarter of 2018. These changes can be attributed to the impact of the global financial crisis of 2009 and the commencement of trade friction between the United States and China, as Mexico’s principal trading partners.
Given this scenario, the subsequent model was estimated as follows:
D G D P t   = α 0 + α 1   D X t + β 0   D 1 + β 1   D 1   X t + γ 0   D 2 + γ 1   D 2   X t + ε t
where:
D G D P t : GDP growth rate of the Mexican economy at time t;
D X t : growth rate of Mexican exports at time t;
D 1 : dichotomous variable that shows the first period before the 2009 crisis (consisting of zeros until the first quarter of 2009 and ones until the second quarter of 2018);
D 2 : dichotomous variable that differentiates the last period (composed of zeros until the first quarter of 2018 and ones for the rest of the series);
ε t : stochastic error term.
The results of the ordinary least-squares regression are shown in Table 1.
In the model, R 2 = 0.92 was obtained and it was necessary to include three dummy variables in 2009, 2020, and 2021 to firstly correct for the effects of the global financial crisis, and secondly correct for the effects of the pandemic caused by COVID-19.
Subsequently, the errors of the model were analyzed and it was determined that the probability value of the Jarque–Bera statistic was 0.46. This implies the normality of the errors at a 95% confidence level; likewise, the probability of the F-statistic in the White test with crossed terms was 0.57, which confirmed the constant variance or homoscedasticity of the errors, and a Durbin Watson statistic of 1.48 with a probability value of 0.08 for the F-statistic were obtained in the Breusch–Godfrey LM test, which indicated the absence of first-order and higher-order autocorrelation.

Interpretation of the Results

For the initial period spanning from the last quarter of 2001 to the first quarter of 2009, in accordance with the demonstrated methodology (during which the first structural change took place), the linear relationship is represented by the following:
D G D P t   = α 0 + α 1   D X t
That is to say the following:
D G D P t   = 0.22 + 0.19 D X t
For the second period, considering the structural change prompted by the global financial crisis that concluded in the second quarter of 2018, the expression is formulated as follows:
D G D P t   = α 0 + β 0 + α 1 + β 1 D X t
Implying the following:
D G D P t   = 1.8 + 0.10 D X t
Lastly, for the concluding period delimited by the onset of trade friction between the United States and China, which significantly impacted Mexican trade, the expression is articulated as follows:
D G D P t   = α 0 + γ 0 + α 1 + γ 1 D X t
This expression can be reduced as follows:
D G D P t   = 1.69 + 0.34 D X t
It was evident that the coefficients derived from each of the three periods unveiled the alterations in the linear relationship between economic growth and exports, signaling the presence of two structural changes over time that led to significant shifts.
An approximation of the regression line is given in Figure 3.
In broad terms, it was evident that the influence of Mexican exports on economic growth decreased by 47% after the first structural change and experienced a substantial increase of 240% after the occurrence of the second structural change.
Some recent methods based on least-squares regression for detecting turning points around structural changes are discussed in [12].

5. Conclusions

The presented methodology holds significant relevance for analyzing the impact of one or more quantitative independent variables on a dependent variable of the same nature amidst crucial structural changes occurring over time. Such was the case for the impact of Mexican foreign trade on the growth rate of its economy in the face of two extremely important structural changes: the global financial crisis of 2009 and the beginning of trade friction between the United States and China, Mexico’s main trading partners, with whom it has a strong dependence on the demand and supply sides, respectively, in the links of global value chains.
Within the scope of a quantitative economic analysis, these types of methodologies are often very beneficial for evaluating economic policies, regime changes, or the impacts of phenomena that arise within a theoretical relationship. It is worth noting that one of the limitations that could arise is the evaluation of the model in the face of an inadequate theoretical specification, that is, without theoretical support for the relationship to be studied, in addition to the inconveniences that may arise due to the ordinary least-squares methodology.
In this regard, for the analysis presented here, the variables involved were trans-formed into growth rates to avoid modeling trends and spuriousness.

Author Contributions

Conceptualization, G.C. and X.L.; methodology, G.C. and X.L.; software, G.C.; validation, X.L.; formal analysis, G.C. and X.L.; investigation, G.C.; resources, X.L.; data curation, X.L.; writing—original draft preparation, G.C.; writing—review and editing, X.L.; visualization, G.C.; supervision, X.L.; project administration, G.C.; funding acquisition, G.C. and X.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data used for the estimates in this research are available on the website of the Foreign Trade Cube of the Bank of Mexico (https://www.banxico.org.mx/CuboComercioExterior/) and the National Institute of Statistics and Geography (https://www.inegi.org.mx/, accessed on 2 February 2024).

Acknowledgments

Conahcyt is widely recognized; specifically, we recognize the Program of National Postdoctoral Stays and the Faculty of Higher Studies Aragón of the National Autonomous University of Mexico, who provided the means to carry out this research.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Hernández, J.L. La transformación estructural de la economía mexicana: ¿milagro o desastre económico? Econ. UNAM 2015, 15, 50–69. [Google Scholar]
  2. Vázquez, R. Cambio estructural y productividad laboral en la industria. Un análisis global. Trimest. Econ. 2018, 85, 277–310. [Google Scholar] [CrossRef]
  3. Cimoli, M.; Pereima, N.; João Basilio, P. Cambio estructural y crecimiento. Desarro. Product. CEPAL 2015, 197, 1–30. [Google Scholar]
  4. Sánchez, P.A. Cambios estructurales en series de tiempo: Una revisión del estado del arte. Ing. Univ. Medellín 2008, 7, 115–140. [Google Scholar]
  5. Covarrubias, G. El cambio estructural en la relación comercial México-Estados Unidos ante la adhesión de China a la OMC. In América Latina y el Caribe y China. Economía, Comercio e Inversión; Dussel Peters, E., Ed.; Unión de Universidades de América Latina y el Caribe: Mexico City, Mexico, 2023; pp. 289–309. [Google Scholar]
  6. Matilla, M.; Pérez, P.; Sanz, B. Econometría y Predicción, 2nd ed.; McGraw-Hill Interamericana de España: Madrid, Spain, 2017. [Google Scholar]
  7. Esteban, M.V.; Moral, P.; Orbe, S.; Regúlez, M.; Zarraga, A.; Zubia, M. Econometría básica Aplicada con Gretl; Facultad de Ciencias Económicas y Empresariales, Universidad del país Vasco: Donostia-San Sebastian, Spain, 2008. [Google Scholar]
  8. Novales, A. Análisis de Regresión; Departamento de Economía Cuantitativa, Universidad Complutense de Madrid: Madrid, Spain, 2010. [Google Scholar]
  9. Gujarati, D.; Porter, D. Econometría, 5th ed.; McGrawHill: Mexico City, Mexico, 2010. [Google Scholar]
  10. Guerrero, C. Introducción a la Econometría Aplicada; Trillas: Mexico City, Mexico, 2008. [Google Scholar]
  11. Page, E.S. Continuous Inspection Schemes. Biometrika 1954, 41, 100–115. [Google Scholar] [CrossRef]
  12. Ebrahim, G.; Benedetta, A.; Francesca, B.; Gabriele, S.; Mugnozza, P.; Mazzanti, A. A fast and robust method for detecting trend turning points in InSAR displacement time series. Comput. Geosci. 2024, 185, 105546. [Google Scholar]
Figure 1. CUSUM test.
Figure 1. CUSUM test.
Engproc 68 00022 g001
Figure 2. CUSUMQ test.
Figure 2. CUSUMQ test.
Engproc 68 00022 g002
Figure 3. Linear regression in three different periods.
Figure 3. Linear regression in three different periods.
Engproc 68 00022 g003
Table 1. Model results.
Table 1. Model results.
VariableParameterCoefficientStd. Errort-StatisticProbability
C α 0 0.2289620.2743840.8344590.4066
DX α 1 0.1950460.0204569.5350840.0000
D1 β 0 1.5817060.3789104.1743520.0001
D1 × DX β 1 −0.090560.027414−3.3034240.0015
D2 γ 0   −1.916270.477476−4.0133460.0001
D2 × DX γ 1 0.1583440.0273345.7929160.0000
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Covarrubias, G.; Liu, X. Using Dichotomous Variables to Model Structural Changes in Time Series: An Application to International Trade. Eng. Proc. 2024, 68, 22. https://doi.org/10.3390/engproc2024068022

AMA Style

Covarrubias G, Liu X. Using Dichotomous Variables to Model Structural Changes in Time Series: An Application to International Trade. Engineering Proceedings. 2024; 68(1):22. https://doi.org/10.3390/engproc2024068022

Chicago/Turabian Style

Covarrubias, Gerardo, and Xuedong Liu. 2024. "Using Dichotomous Variables to Model Structural Changes in Time Series: An Application to International Trade" Engineering Proceedings 68, no. 1: 22. https://doi.org/10.3390/engproc2024068022

Article Metrics

Back to TopTop