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:
where:
: dependent variable;
and : independent variables;
: stochastic part of error.
Therefore, the variables and have an effect on Y over a period of time.
Assuming a structural change, a dichotomous variable
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:
where the parameter
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
, where
denotes the number of structural changes.
In this case, the expression that identified the relationship of the independent variables
and
with
for the period after the structural change is given as follows:
In general, a model for a single study period (without a structural change) can be expressed as follows:
where
n is the number of independent variables.
To include a structural change, the following term is added:
This can be generalized as follows:
Suppose that a relationship of three independent variables with two structural changes is analyzed. Then, the model to estimate this is as follows:
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:
The equation for the second period, after the first structural change, is as follows:
Finally, for the last period, after the second structural change, the equation is given as follows:
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.
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:
where:
GDP growth rate of the Mexican economy at time t;
: growth rate of Mexican exports at time t;
: 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);
: dichotomous variable that differentiates the last period (composed of zeros until the first quarter of 2018 and ones for the rest of the series);
: stochastic error term.
The results of the ordinary least-squares regression are shown in
Table 1.
In the model, 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:
That is to say the following:
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:
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:
This expression can be reduced as follows:
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.