1 Introduction

Many studies since the 1960s have researched the topic of the cyclical sensitivity of the unemployment rate. In the beginning, this literature paid attention to the common component, which is dominant in explaining movements in regional unemployment rates (Martin 1997). The idea to link the regional to the national unemployment rate and to estimate this relationship for each individual region dates back to Thirlwall (1966) and Brechling (1967), in what is known as the regional cyclical sensitivity literature. Recently, Vega and Elhorst (2016) bring the cyclical sensitivity literature back to the analysis of regional disparities by considering in their methodology serial dynamics, spatial dependence and common factors. Traditionally, dynamic panel data models only accounts for spatial dependence (also called weak spatial dependence) which is an observed correlation across space because of local interactions between regions generating spillover effects. This new model also allows to account for common factors (also known as strong spatial dependence) that is an observed correlation across space as a result of shared factors such a aggregated economic fluctuations, where outcomes change together as these factors change. This modeling opens a new line of interest for analyzing unemployment among regions considering the presence of common factor and ensuring, that way, unbiased results.

Briefly, the literature on regional unemployment disparities identifies four stylized facts that defines regional unemployment disparities: (1) regional unemployment rates are strongly correlated over time, (2) regional unemployment rate behaves in parallel to the national unemployment rate, (3) are correlated across space and (4) display heterogeneity among regions.

Focusing on Spain, there are large differences in the unemployment rate among regions (Bande et al. 2008; Cuéllar-Martín et al. 2019) becoming more persistent over time, and bigger after the last economic crisis (Jimeno and Bentolila 1998; Albulescu and Tiwari 2018). So that, it is necessary to pay attention to these differences and address them in terms of cyclical sensitivity. Thus, analyzing regional unemployment rate disparities, the dependence between different regions and the relation to the national rate simultaneously is a requirement to implement appropriate policies. The last economic recession in Spain after 2009, reinforced this need, so that many studies had focused on analyzing the regional disparity in unemployment rates since that economic crisis. Nowadays, this necessity reappears due to the dramatic effects produced in the Spanish economy and its labor market because of the COVID-19 pandemic (McKibbin and Fernando 2020).

In this line, one of the articles that has focused on the analysis of the reactions of regional unemployment to changes in the economic cycle for Spain is Bande et al. (2008). This paper concludes that there is a positive relationship between the regional dispersion of unemployment and the economic cycle, which guarantees that fluctuations in the economic situation of the country directly affect to regional unemployment. Since that study, many papers have focused on analyzing the reason for these disparities, assuming that unemployment is sensitive to the economic cycle. For example, a group of papers make the analysis of regional cyclical sensibility based on dividing regions with high and low unemployment (Bande and Karanassou 2009; Sala and Trivín 2014) . Other block of researches focuses on doing spatial analyses of unemployment disparities to find clusters of similar behaviors (Cuéllar-Martín et al. 2019). Finally, some papers have focused on looking for regional characteristics that motivate regional differences (López-Bazo and Motellón 2013; Melguizo 2017).

However, none of the articles have analyzed trends of regional unemployment while simultaneously considering that regional unemployment rates are persistent, heterogeneous, parallel to the national rate and spatially dependent. According to Vega and Elhorst (2016), isolated analysis can potentially lead to biased results, since series dynamics, spatial dependence and common factors are more likely to be interdependent. To the best of our knowledge, this paper is the first to simultaneously analyze, for the Spanish case, the persistence, heterogeneity, spatial dependence and heterogeneity in economic cycle sensitivity of regional unemployment.

The main objective of this work is to provide new evidence about how Spanish regions react to economic fluctuations as a requirement to implement appropriate policies. The economic and labor implication due to public and private containment measures against the COVID-19 pandemic, such as school, shops and factory closures, travel restrictions and quarantines, with the corresponding cut in domestic demand, (Baldwin and Tomiura 2020) make this knowledge to be crucial. As a result, heterogeneous behaviors will reveal the necessity to introduce regional perspectives against future economic fluctuations.

Our paper contribute to the literature as follow. As the main contribution, we use Vega and Elhorst (2016) methodology to simultaneously consider all components of the stylized fact that defines the disparities in regional unemployment rates. Another contribution is that we show evidence that sensitivity has a geographic pattern since we find that the regions located on the Mediterranean coast are the most sensitive and that as we go inland and northwest, this sensitivity decreases. This pattern reveals, moreover, that regions with higher unemployment rates are not the most sensitive. Our results are in line with the new side of the literature indicating that the regional-specific unemployment rate is not important at all in the unemployment trend but that geographical factors do matter (Cuéllar-Martín et al. 2019). In this vein, Camacho et al. (2018) also find a geographical pattern in the propagation of economic crisis and the way the unemployment rate reacts to recessions.

2 Data and method

2.1 Data

The data used in this work, extracted from de la Fuente (2019),Footnote 1 are the annual unemployment rates for the 15 autonomous communities of Spain from 1978 to 2018 and the annual Spanish unemployment rate, treated as a common factor following Bailey et al. (2016).Footnote 2

Regional unemployment rates tend to have some specific characteristics. In particular, many works have found that regional unemployment is characterized by being correlated in time, in space and with the national rate.

Figure 1 shows the evolution over time of regional unemployment rates for the 15 autonomous communities of Spain analyzed together with the national rate. This figure shows how, in general, the regional and national unemployment rates have a similar trend throughout the analyzed period. Some special situations can be observed where, despite behaving similarly to the national rate, the regional rate is always higher than the national unemployment rate, as in the case in Andalucia or Extremadura. On the other hand, La Rioja and Navarra always seem to stay below the national rate.

In addition, this unemployment rate is relatively stable over time, except in different periods of economic growth and downturns. Specifically, three major economic crises can be distinguished in Spain (Cancelo 2004; Gadea et al. 2012; Camacho et al. 2018): the first in 1983–1985, the second in 1991–1994 and the third and most recent in 2008–2014. Several conclusions can be drawn by observing Fig. 1. First, all crises seem to have a strong national component, since regional rates fluctuate similarly to the national rate. Second, there is clear heterogeneity in the trends of regions. For example, during the pronounced crisis of 2008–2014, the highest rate of the regions in Spain was in Andalucia at 35.65%, and the lowest was in Pais Vasco at 9.79%.

To analyze the spatial distribution of unemployment rates and to determine the possible correlation in space, Fig. 2 maps unemployment rates over the period analyzed every eight years (1978, 1986, 1994, 2002, 2010 and 2018). A clear north/south contrast that has been accentuated in recent years, in addition, shows a pattern of spatial correlation, where neighboring regions have similar rates. To test that space matters in our case study, we have estimated global spatial autocorrelation through the Moran’s I statistic from 1978 to 2018. The results of these tests show that, for most of the years, the null hypothesis (absence of global spatial autocorrelation) is rejected.Footnote 3Footnote 4

Fig. 1
figure 1

Regional and national unemployment rate

Fig. 2
figure 2

Spatial distribution of unemployment over time. Dark colors for high unemployment rates

2.2 Method

Our methodological strategy involves the application of the recently developed model by Vega and Elhorst (2016), which simultaneously accounts for serial dynamics, spatial dependence and common factors; their study also shows how not simultaneously including these effects for the regional unemployment rate can produce biased results.

We use the CD test (Pesaran 2004) in its local version (Moscone and Tosetti 2009, eq.22) to test for the presence of cross-sectional dependence in our panel data. If the null hypothesis is rejected, we can corroborate the existence of cross-sectional dependence. This test is carried out by specifying the relationship matrix of the 15 Spanish regions (W). The result of this test applied to the data shows the presence of cross-sectional dependence in regional unemployment rates (Z = 29.987 with p value = 0.000). This outcome is highly statistically significant, indicating that cross-sectional dependence needs to be accounted for.

For this purpose, we have used a row-normalized binary contiguity matrix, which is an NxN matrix describing the arrangement of the regions in space, with 1 if two regions are neighbors and 0 if not. We use this alternative based on the empirical results explained in Vega and Elhorst (2014) and Elhorst (2017) where they find that this specification outperforms the other alternatives. We tried first and second order binary contiguity matrix. However, second order binary contiguity seems not to reflect well the relations between the Spanish regions since having 15 regions the average number of links in each region is 8.667. This result implies that, for example, Andalusia, a region located in the far south of Spain, would have spillovers with Aragon located in the far north of Spain.

On the other hand, to determine if the nature of this spatial dependence is weak or strong (in other words, if it is due or not to the presence of common factors), we apply the \(\alpha\)-test exponent of Bailey et al. (2016).Footnote 5 This test can take values between 0 and 1, where values below 0.5 indicate the presence of weak spatial dependence and values equal to 1 indicate the presence of strong spatial dependence. The result of this test applied to the data gives \(\alpha =1.003\)Footnote 6 and std. err. = 0.034 which points to the presence of strong spatial dependence, common factors needs to be accounted for.

Our target model is the one proposed by Vega and Elhorst (2016) that reads as follows:

$$\begin{aligned} U_{t} = \tau U_{t-1}+ \delta WU_{t} + \eta WU_{t-1} + \varGamma _{1}{U}^{n}_{t} + \varGamma _{2} {U}^{n}_{t-1} + \mu +\epsilon _{t} \end{aligned}$$
(1)

where \(U_{t}\) is a column vector with one observation of the dependent variable (unemployment) for every unit (i) at every point at time (t). \(U_{t-1}\), \(WU_{t}\) and \(WU_{t-1}\) are vectors of temporal, spatial and spatiotemporal lags, respectively, with \(\tau\), \(\delta\) and \(\eta\) autoregressive coefficients. W is the row-normalized binary contiguity matrix. \(U^{n}_{t}\) and \(U^{n}_{t-1}\) are the unemployment rates of the whole country at times t and \(t-1\), and \(\varGamma _{1}\) and \(\varGamma _{2}\) column vectors with unit-specified coefficients of response to the common factors. \(\mu\) represent the spatial fixed effect added to the model and \(\epsilon _{t}\) is the Nx1 vector independently and identically distributed error term with zero mean and constant variance \(\sigma ^2\). The parameter of the region’s sensitivity to the economic cycle (\(\gamma\)) can be estimated by dividing the elements of \(\varGamma _{1}\) by \(1-\delta\) or by dividing the elements of \(\varGamma _{2}\) by \(-\tau -\eta\).

This model allows us to simultaneously measure the four remarkable stylized facts that often arise from analyzing the evolution of regional unemployment rates. First, the presence of time correlation of the regional unemployment rates by incorporating the regional unemployment rate lagged in time as well as in time and space and the common factor (the national unemployment rate) lagged in time. Second, the model allows us to account for the presence of spatial dependence by adding the spatial lag and the spatiotemporal lag. Third this model includes the common factor and its lag in time, which allows for the estimation of an individual sensitivity parameter for each region and fourth we include spatial fixed effects which allow us to account for spatial heterogeneity.

3 Results

We begin by estimating the basic dynamic spatial panel data model with regional fixed effects and without including common factors (model A), and we apply both tests (CD local test and \(\alpha\) test) to the residuals of the model. These results are shown in Table 1, column A, where it can be seen that the residuals of the model continue to point to the presence of strong spatial dependence, with \(\alpha =0.920\) and \(\hbox {std.\,err.}=0.048\). However, the local CD test points to the fact that weak spatial dependence is no longer present (\(\hbox {Z}=-0.838\) and \(\hbox {p value}=0.402\)), because the null hypothesis of spatial independence between neighboring regions cannot be rejected. Results shows a highly and very significant temporal, spatial and spatiotemporal lag (\(\tau =0.891\), \(\delta =0.825\) and \(\eta =-0.739\)).

Next, we estimate the model proposed by Vega and Elhorst (2016) incorporating common factors (model B).Footnote 7 Through this model, it seems that both the local spatial dependence (\(\hbox {Z}=1.196, \hbox {p value}=0.232\)) and the presence of common factors (\(\alpha =0.255\), \(\hbox {std.\,err.}=0.055\)) appear to have been effectively covered.Footnote 8 As seen in column B, the serially lagged unemployment rate (\(\tau =0.929\)) is highly significant, reflecting the strong correlation of unemployment rates over time. In addition, the spatially lagged coefficient (\(\delta =0.165\)) is positive and significant, reflecting the presence of spatial dependence between regions, and the lagged spatial autoregressive coefficient seems to be significant and negative.

Model B seems to have perfectly covered the presence of spatial dependence and common factors based on the results provided by the test. By introducing common factors, the model correctly cover the difference between spatial dependence and common factors. The \(\delta\) and \(\eta\) could have been overestimated in model A due to the absence of common factors.Footnote 9 Another way to account for the presence of common factors would have been to add a time-period fixed effects to the model too. However, this would be similar to the inclusion of common factors at time t with the unit-specific coefficients replaced by a time dummy with a common coefficient.Footnote 10

Table 1 Dynamic spatial panel data models

In Table 2 , we show the result of the coefficients of response to the national unemployment rate estimated for each of the regions (\(\varGamma\)). Both coefficients (\(\varGamma _{1}\) in t and \(\varGamma _{2}\) in t-1) are highly significant. The estimation of the economic cycle sensitivity parameters is shown in the last two columns (\(\gamma _{1}, \gamma {2}\)).Footnote 11

The regions most sensitive to the economic cycle appear to be Comunidad Valenciana, Andalucia, Region de Murcia and Cataluña, each with parameters greater than 1.100. It seems that regions located on the Mediterranean coast share a common pattern. These communities are characterized by being the most touristy in Spain, which may be a possible explanation. Among the least sensitive communities, we find Galicia, Navarra and Castilla y Leon, each with parameters below 0.700.

Table 2 Common factors

To show the spatial distribution of the sensitivity of the regions, Fig. 3 shows in four shades of gray the intensity of the economic cycle sensitivity of each region (\(\gamma _{2}\)).Footnote 12 It seems that Spain has a specific sensitivity pattern where the most sensitive regions are those located on the Mediterranean coast and sensitivity decreases as we move inland to the northwest. Particularly, the economic cycle sensitivity of the regions in Spain can be divided into four groups, from the most sensitive (in darker colors) to the least sensitive (in lighter colors). The first includes the four regions most sensitive to the economic cycle of Spain, which are also those located on the Mediterranean coast (Andalucia, Region de Murcia, Comunidad Valenciana and Barcelona). The second group, formed by Extremadura and Castilla-La Mancha, are also regions that are sensitive to the economic cycle, although less so than the previous group; this second group is composed of regions located in the southern interior and neighboring the most sensitive regions. The third group is formed by regions that are not sensitive to the economic cycle and that are located in the northern interior of Spain, away from the most sensitive regions. Finally, the fourth group is formed by the least sensitive regions of Spain, Galicia and Navarra.

Fig. 3
figure 3

Sensitivity to economic cycle

These results seem to point to the fact that when crises and recoveries appear, the regions located on the Mediterranean coast are the ones most affected because they are the most sensitive.

4 Conclusion

In recent years, there has been a growing interest among academics, practitioners and policy makers in finding a pattern in Spanish regional unemployment trends. This interest emerges from the need to know how unemployment in each region will react ahead of the increasingly common occurrence of recession phases. In this context, the literature documents that unemployment is persistent, heterogeneous, spatially dependent and parallel to the national rate, but these effects have never been analyzed simultaneously.

In our paper, by applying the methodology proposed by Vega and Elhorst (2016), the persistence, heterogeneity, spatial dependence and economic cycle sensitivity of Spanish regional unemployment are analyzed simultaneously. Furthermore, this methodology allows us to estimate heterogeneous coefficients of response to aggregate fluctuations. The findings show that there is a high persistence of unemployment in Spain, that there is spatial dependence and that regions show different sensitivities to the economic cycle. Although the first findings are in line with the previous literature, the main contribution of this article is to uncover the geographical pattern of sensitivity to the economic cycle. We find that the economic cycle sensitivity of unemployment is not determined by the fact that regions have high or low unemployment; it seems that geographical location plays an important role. Specifically, the regions that have greater economic cycle sensitivity are located on the Mediterranean coast and include regions with very different unemployment rates. However, what these regions do have in common is that they are areas very focused on the tourism sector, which can be taken as a possible explanation. The findings are related to Melguizo (2017) who shows that regions with a more developed service sector suffer more variations in unemployment rates, and to Camacho et al. (2018) who find a similar pattern in how crises and recoveries begin and end in Spain.

Both findings are in line with the regional heterogeneity we observe, since they reveal that some regions suffer more from the effects of business cycle whereas other regions are less affected by economic contingencies. Consequently, the application of national inflexible policies may difficult actions devoted to smooth cyclical swing of regional economic activity. Therefore, that, as main find, we consider that this regional behaviour is indicating the necessity to apply differentiated employment policies when national economy face a crisis. Nowadays, this find become into a crucial due to the employment destruction our regions are suffering because of the economic and labour impact caused by the restrictive measures against the COVID-19 pandemic.

On the one hand, with the pattern in the trend of regional economic cycle sensitivity that this paper finds, the national government can distribute resources in an efficient way to react to future recessions or to recoveries from past crises. On the other hand, regional policies can be adapted to each geographical area depending on its sensitivity, and regional cooperation is needed since spatial dependence points to the presence of possible spillovers.