1 Introduction

Recent literature has popularized the term “resilience” which refers to the ability of a local socioeconomic system to recover from a shock or disruption as could be financial crises, epidemics, natural disasters, etc. Foster (2007) defines regional resilience as “the ability of a region to anticipate, prepared for, respond to, and recover from a disturbance.” Similarly, Hill et al. (2008) define resilience as “the ability of a region... to recover successfully from shocks to its economy that either throw it off its growth path or have the potential to throw it off its growth path.”

In the cases of shocks like economic and environmental crises, because of their global and interconnected character, spatial economics turns to be very useful for the assessment of regional resilience. A nice literature revision on this topic can be found in Modica and Reggiani (2015).

Two main resilience notions, known as “engineering” and “ecological” resilience, are depicted in Fig. 1. “Engineering” resilience (Fig. 1a) relates to regional economic rebound. The only requisite for this category is the return to the preexisting position or to the path it would have been in the absence of the shock. In this view, recessionary shocks should be transitory and should have no permanent effect on the economy’s long-run growth ceiling or growth trend. Hence, the focus of this approach is on resistance to shocks and stability near equilibrium.

Fig. 1
figure 1

Source: Martin (2012)

“Engineering” versus “ecological” resilience

“Ecological” resilience measures the shock that can be absorbed before the system changes its form, function or position (Holling 1973, 1996, 2001; McGlade et al. 2006; Walker et al. 2006). This approach is related to the concept of “hysteresis,” which is defined as a situation where disturbances permanently affect the path of the economy (Romer 2001). Hence, “ecological” resilience is measured by comparing pre-shock and post-shock (stable) state. More precisely, if the situation of certain economy after a shock is “worse” than its position before the shock, then it presents low resilience or negative hysteresis. These are the cases depicted in Fig. 1b, c. Figure 1b represents a recession that permanently lowers the level of employment or output, although the region’s growth rate recovers its pre-shock rate (the region’s economy is able to resume its pre-recession growth rate, but on a permanently lowered trend path). Figure 1c shows the case where both the region’s level of output or employment and its post-shock growth rate are lowered. In the opposite side, we will refer to high “ecological” resilience to shocks or positive hysteresis, if after a recessionary shock the economy is able to move to a “superior” state. Some examples are depicted in Fig 1d, e. In both cases, the regional economy more than “rebounds” from the recessionary downturn and initially experiences rapid growth out of the recession, at a rate above the pre-shock growth rate. However, while in the case of Fig. 1d growth rate resumes to pre-recession level, in the case of Fig. 1e the recovery takes place to a sustained higher growth rate.

In this context, Martin (2012) coined a third resilience term, called “adaptative” resilience, in reference to the capacity of a region to reconfigure itself, that is, to adapt its structure (firms, industries, technologies and institutions) so as to maintain an acceptable growth path in employment, output or wealth over time. It is assumed that after a recession, a region will be high/low “adaptative” resilient depending on its ability to develop higher/lower productive sectors than those swept away by the recession.

Literature has integrated the three resilience notions. Modica and Reggiani (2015) indicate that “engineering resilience” seems more related to conventional global stability theory, while “adaptative” resilience can be conceived as an insightful interpretation of “ecological” resilience. Nevertheless, there remains a lot of work to be done. For instance, Martin (2012), and Martin and Sunley (2015) claim for clearer definitions, whereas Modica and Reggiani (2015) ask for a more consistent analytical framework to achieve a clear understanding and representation of the evolutionary of spatial economic processes (“ecological resilience”Footnote 1).

The severe consequences of the recent crisis that has hit the World economy, and the Spanish in particular, have been our main motivation. In this context, this paper aims two objectives. First, we pursue to get insight into consistent analytical framework to determine whether a specific (Spanish) region present low or high resilience. Second, after classifying the provinces into categories according to resilience to recent downturn, we try to derive more general conclusion about how the three notions are related. To accomplish this goal, various probit models are estimated to measure whether well-behaved (wrong behaved) regions, in terms of “adaptative” resilience, are likely to be also well behaved (wrong behaved) under the two other resilience notions. Our conclusion in this point is that the results for each notion must be understood under the framework under which they have been derived. However, in general, they are related: The best behaved regions under the “adaptative” resilience notion are also the most likely to behave properly in terms of the “engineering” /“ecological” perspectives.

The methodological approach to resilience ranges from descriptive, interpretative case studies to sophisticated statically econometric models. Among them, we can find case studies such as Evans and Karecha (2013); simple indices, such as Martin (2012) or Augustine et al. (2013); statistical time series models as in Fingleton et al. (2012); and finally, causal structural models, such as Doran and Fingelton (2013) or Fingleton and Palombi (2013). In our proposal, we are going to approach the “adaptative” notion of resilience through two shift-share analyses (one for the pre-crisis period and the other for the post-crisis period). Moreover, “engineering”/“ecological” resilience will be measured, following Fingleton and Palombi (2013) by comparing the counterfactual (or projected) annual growth rate of employment in the absence of the economic crisis with the actual ones.Footnote 2

Empirical evidence is obtained from quarterly employment provincial data in the four main economic sectors (agriculture, industry, construction and services), for the period 2002:1–2015:4 in Spain. Before launching this study, we have to estimate the time of the shock for the Spanish economy, which is in the second quarter of 2008, 2008:2. Then, as regards “adaptative” resilience, we derive two shift-share analyses to conclude on regional behavior before and after the shock. From industrial mix (IM) and regional share (RS) components, regions are classified among categories I to IV (from best to worst behavior) before and after the crisis. Furthermore, the specialization pattern before and after the crisis is also obtained. According to this approach, a region will be considered high resilient if it has maintained, or even improved, its performance after the shock through a sectoral restructuration. Results show that some provinces such as Malaga, A Coruña, Lugo, Gipuzkoa, Palencia or Madrid, among others, can be considered high resilient within this perspective.

Concerning “engineering”/“ecological” resilience, we will pay attention to both total employment growth and level of employment in the pre- and post-crisis periods. Since the shock for the Spanish economy is identified in 2008:2, we estimate a panel data model for the pre-shock period for the annual growth rate of total employment. Afterward, using these estimates, we forecast total employment growth rates for the Spanish provinces for the post-crisis period. The predicted values for each province represent the counterfactual (or projected) annual growth rate of employment, in the absence of the economic crisis. The idea is that forecasted values purged of the effect of the shock.Footnote 3 Finally, we measure the effect of the crisis by comparing forecasted and actual values. According to these differences, the “engineering” notion classifies a province as high resilient only when its actual employment growth and level are statistically the same as the forecasted one (as in Fig. 1a). In an analogous way, under the “ecological” perspective, a province is classified as high resilient in two cases: (1) Its actual growth is significantly higher than the forecasted one (as in Fig. 1e); or (2) its actual growth is statistically the same as the forecasted one, but the employment level is higher than the predicted one in the absence of the crisis (as in Fig. 1d). In any other case, the respective province will be classified as low resilient. Results indicate that all Spanish provinces can be considered as low resilient.

“Adaptative” versus “engineering”/“ecological” resilience results are different. However, since they rely on different hypothesis, the key issue is to determine whether or not they are connected. To answer this question, first, let us define a dummy variable which takes the value 1 for those provinces that present a better behavior than the national average and zero otherwise, according to the “engineering”/“ecological” perspective. The dummy variable so created will be the endogenous term of a probit model whose explicative variables describe “adaptative” resilience in the province. Results are clear: Higher resilient provinces (according to the “adaptative” perspective) are more likely to have also a better behavior than the rest (according to the two other perspectives). Furthermore, results reveal that an adequate specialization strategy in the past does not have a significant effect in this equation.

Finally, to gain further insight into the specialization role, we analyze the relationship between specialization and “engineering”/“ecological” resilience through the assessment of the effect on resilience of the sectoral specialization of the region. In fact, our purpose is in line with the work of Cuadrado-Roura and Maroto (2016) who also relate resilience to regional productive specialization and productivity.

In our case, provincial specialization is measured by the location quotients, obtained for each quarter of the sample. Next, we average location quotients for each of the two periods (pre- and post-crisis) and for the four main economic sectors: agriculture, construction, industry and services. Results are clear: The specialization in the pre-crisis period in the construction sector reduces the probability of presenting a good performance in terms of the “engineering”/“ecological” resilience; the opposite takes place for provinces specialized in the service sector. Specialization in agriculture and industry sector is positive but not significant.

The structure of the paper is as follows. Section 2 shows the methodology for accomplishing the measure for the three resilience notions. Section 3 is devoted to employment data used in the analysis. Section 4 shows the results obtained for the three approaches to resilience as well as its relations. Finally, the paper finishes with a section of conclusions.

2 Methodology

As explained before, the first step in our proposal is to identify the time in which the shock occurs for the Spanish case. This will allow us to define the pre-crisis (till the shock happens) and the post-crisis period (from the shock onwards). Next, we will proceed to measure the three resilience notions as explained below.

2.1 “Adaptative” resilience: shift-share analyses

“Adaptative” resilience refers to the capacity of an economy to reconfigure, that is, to adapt its structure so as to maintain an acceptable growth path. We approach this issue by means of two shift-share analyses. The goal of the first is to identify the main factors affecting employment growth in the pre-crisis period, while the second will analyze the path of growth in the post-crisis period.

As it is well known, shift-share analysis is a technique to identify the factors underpinning geographical variations in employment growth. Basically, it consists of examining the interdependencies of a subarea with the parent area, trying to identify the principal components of growth. First, we will decompose the temporal change in a province’s employment over a given period into three additive components: national share (NS), industry mix (IM) and regional share (RS). Formally, denoting by \(L_i^r (t)\) the level of employment in sector i (\(i=1,\ldots ,S\)) in province r (\(r=1\),...,R) in period t (\(t=1\),...,T), a temporal change in employment in sector i and province r between t and \(t+m\) can be decomposed as:

$$\begin{aligned} \Delta L_i^r (t+m)=L_i^r (t+m)-L_i^r (t)=NS (t+m)+\textit{IM}(t+m)+RS (t+m) \end{aligned}$$

where each of these three components can be expressed as follows:

$$\begin{aligned} \mathrm{NS}_i^r (t+m)= & {} r_{\bullet }^{\bullet } L_i^r (t) \nonumber \\ \mathrm{IM}_i^r (t+m)= & {} \left[ {r_i^{\bullet } -r_{\bullet }^{\bullet }} \right] L_i^r (t) \nonumber \\ \mathrm{RS}_i^r (t+m)= & {} \left[ {r_i^r -r_i^{\bullet }} \right] L_i^r (t) \end{aligned}$$
(1)

being

  • \(r_{\bullet }^{\bullet }=\) the national (percentage) growth of employment between t and \(t+m\).

  • \(r_i^{\bullet }=\) the national (percentage) growth by sector i of employment during this period.

  • \(r_i^{r}=\) the provincial (percentage) growth by sector i of employment during this period.

The national share of sector i represents the change in employment due to the national growth effect and is measured assuming that all sectors in a province are growing at the same national rate. The industry mix for sector i represents the employment growth induced by the specific economic structure. It is measured evaluating the provincial employment growth due to the differences between the sectoral national growth rates and the average national rate. Finally, the regional share of sector i is the difference between the actual change and the sum of national and industry shares. It captures provincial-specific factors such as positive (or negative) externalities arising from agglomeration effects, local labor force characteristics, local incentives, locational advantages and environment.

By summing over all sectors in a province, we arrive at the aggregated national, industrial mix and regional share components for province r, as follows:

$$\begin{aligned} \mathrm{NS}^r (t+m)= & {} \sum _{i=1}^S {r_{\bullet }^{\bullet } L_i^r (t)} \nonumber \\ \mathrm{IM}^r (t+m)= & {} \sum _{i=1}^S {\left[ {r_i^{\bullet } -r_{\bullet }^{\bullet }} \right] L_i^r (t)} \nonumber \\ \mathrm{RS}^r (t+m)= & {} \sum _{i=1}^S {\left[ {r_i^r -r_i^{\bullet }} \right] L_i^r (t)} \end{aligned}$$
(2)

The overall national component, NS\(^r (t+m)\), measures the national trend common to all Spanish provinces. The overall industrial mix, IM\(^r (t+m)\), measures employment growth generated by the economic structure of province r. If a province r presents a positive industrial mix, it means that it is specialized in dynamic sectors (\(r_i^{\bullet } >r_{\bullet }^{\bullet }\)), and consequently, it is likely to present a positive growth for the aggregated employment. Finally, the regional share reflects the extent to which the growth rate of the whole set of sectors improves, or not, the national counterpart. Hence a positive regional share reflects positive provincial externalities that contribute to impulse sectoral employment growth above the national sectoral average.

The combination of industrial mix and regional shares allows us to classify each province in one of the four categories displayed in Table 1. Provinces in category I combine advantages in sectoral structure (due to its specialization in dynamic sectors) with locational advantages (positive externalities associated with localization). Provinces in category II have advantages due to its sectoral structure, since they are specialized in dynamic sectors, but their performance in the province is not adequate. Provinces in category III have advantages due to its geographical location but not to its sectoral structure. Finally, provinces in category IV face problems since neither their sectoral structure nor their locational characteristics contribute to employment growth.

Table 1 Region classification according to overall industrial and regional share

Finally, to complete these results, we pay attention to Esteban (1972) who suggests a further decomposition of the regional share component that links localization advantages and specialization. He introduces the concept of homothetic employment, defined as the expected employment level in sector i and province r if such province would have had the national employment structure, in our notation: \({{\tilde{L}}}_i^r =L_{\bullet }^r \left[ {\frac{L_i^{\bullet }}{L_{\bullet }^{\bullet } }} \right] \). The concept of homothetic employment is related to specialization, measured by the location quotient (\(\hbox {LQ}_{i,r}\)), as:

$$\begin{aligned} \hbox {if} \quad {{L}_{i}^{r}}< {{\tilde{L}}_{i}^{r}} \Rightarrow \qquad \mathrm{LQ}_{i,r} = \frac{\frac{L_i^r}{L_{\bullet }^r}}{\frac{L_i^{\bullet }}{L_{\bullet }^{\bullet }}}<1 \end{aligned}$$
(3)

Next, the regional share in (2) is decomposed into two additional terms, the so-called net regional share (NRS) and a distributional effect (DE), as follows:

$$\begin{aligned} \mathrm{RS}^r (t+m)= & {} \sum _{i=1}^S {\left[ {r_i^r -r_i^{\bullet }} \right] L_i^r (t)} \nonumber \\= & {} \underbrace{\sum _{i=1}^S {\left[ {r_i^r -r_i^{\bullet }} \right] {\tilde{L}}_i^r (t)}}_{\mathrm{NRS}}+\underbrace{\sum _{i=1}^S {\left[ {r_i^r -r_i^{\bullet }} \right] \left[ {L_i^r (t)-{\tilde{L}}_i^r (t)} \right] }}_{\mathrm{DE}} \end{aligned}$$
(4)

For our purpose, we pay attention to the sign of the distributional effect, meaning that:

  • A positive distributional effect corresponds to \(\left. {{\begin{array}{l} {r_i^r> r_i^{\bullet }} \\ {L_i^r >{{\tilde{L}}}_i^r} \\ \end{array}}} \right\} \) or \(\left. {{\begin{array}{l} {r_i^r<r_i^{\bullet }} \\ {L_i^r <{{\tilde{L}}}_i^r} \\ \end{array}}}\right\} \). In the first case, the province r is specialized in sectors for which the province has location advantages, while in the second case, province r is not specialized in sectors for which the province has not location advantages. In both cases, the specialization pattern is correct.

  • A negative distributional effect occurs when \(\left. {{\begin{array}{l} {r_i^r >r_i^{\bullet }} \\ {L_i^r <{{\tilde{L}}}_i^r } \\ \end{array} }} \right\} \) or \(\left. {{\begin{array}{l} {r_i^r <r_i^{\bullet } } \\ {L_i^r >{{\tilde{L}}}_i^r } \\ \end{array} }} \right\} \). In the first case, province r has location advantages for sectors in which the province is not specialized. In the second case, there are not location advantages for sectors in which the province is specialized. In both cases, we detect problems in the specialization pattern.

2.2 “Engineering”/“ecological” resilience

We need a process in various stages in order to proxy the notion of “engineering”/“ecological.” First, it is necessary to estimate a model for the pre-crisis period. Second, estimation results are used to forecast the annual growth rate of total employment and the total employment level in the post-crisis period, by provinces. The forecasts are treated as the counterfactual (or predicted) values in the absence of the crisis. Finally, the comparison of forecasts and actual values will enable us to conclude on the resilient nature of Spanish provinces.

In order to estimate and forecast the provincial total employment growth, we adopt a spatial panel data approach since, as it is well known, they allow for unobservable cross-sectional and time effects, as well as to account for the spatial dependence between cross-sectional units at any point in time. Spatial dependence implies that, due to spillover effects (e.g., commuters or trade flows), neighboring regions may have similar economic performance. Hence, we expect to improve traditional panel data models by paying attention to geographical factors in the sample.

Prediction with spatial panel data models may be highly accurate, as shown by Baltagi and Li (2004, 2006) in the case of per-capita cigarette and liquor consumption in the USA. Similarly, Longhi and Nijkamp (2007) obtained good predictions for the regional labor market in West German regions, whereas Kholodilin et al. (2008) focused on GDP of German Länders. A comparison of different spatial panel data models is carried out by Baltagi et al. (2012). Furthermore, on the line of the present paper, Angulo and Trívez (2010) conclude that a dynamic spatial lag panel data model outperforms 50 non-spatial seasonal ARIMA models, from a purely forecasting point of view.

We focus on the annual growth rate of total employment in all provinces (\(r=1\),...,R) (seasonally differenced) which, from now on, will be denoted by the vector \(y_t =[y_{1t} ,\ldots ,y_{\mathrm{Rt}} ]^{\prime }\), where \(y_{\mathrm{rt}} =\frac{L_\cdot ^r (t)-L_\cdot ^r (t-4)}{L_\cdot ^r (t-4)}100\) with \(L_\cdot ^r =\sum \nolimits _{i=1}^s {L_i^r}\). Next, we compare three panel models which exploit the temporal and spatial dimensions of the data. All of them introduce provincial-specific intercepts, \(\mu _r\) (\(r=1,2\)...,R), in order to account for the heterogeneity among spatial units.

The first model under consideration is the dynamic fixed-effect (FE) panel data model, which is defined as follows:

$$\begin{aligned} \left. {\begin{array}{l} y_{\mathrm{rt}} =\beta _1 +\beta _2 Dq2_t +\beta _3 Dq3_t +\beta _4 Dq4_t +\tau y_{\mathrm{rt}-1} +\mu _r +\eta _{\mathrm{rt}} \\ \eta _{\mathrm{rt}} \sim N[0,\sigma _\eta ^2 ] \end{array}} \right\} \end{aligned}$$
(5)

where \(\mathrm{Dq}_{j}\), with \(j=2,3\) and 4, is a seasonal dummy which has a value of 1 when evaluating growth for quarter j and 0 otherwise.

Model (5) considers the temporal dimension of data through the introduction of a lag of the dependent variable; this term takes into account the serial dependence between observations on each cross-sectional unit over time and it captures the inertia in the series. As largely analyzed in the literature (see Hsiao 2003; Sevestre and Trognon 1996; Baltagi 2005), ordinary least square estimator applied to the demeaned equationFootnote 4 is biased and inconsistent for T finite, regardless the number of cross section in the sample (R in our case). In fact, demeaning creates a correlation of order (1 / T) between the demeaned term and the demeaned error term, known as the Nickell bias (Nickell 1981). If T is fixed, alternative estimation methods have been suggested such as Anderson and Hsiao (1981), Arellano and Bond (1991), Arellano and Bover (1995) or Blundell and Bond (1998). All of them propose to first-difference the data to eliminate the cross-sectional fixed effects and then apply generalized method of moments (GMM), using a set of appropriate instruments. Other proposals refer to the construction of bias-corrected estimators for the dynamic panel data model, by analytically modifying the within estimator (Kiviet 1995; Hahn and Kuersteiner 2002; Bun and Carree 2005). Finally, Hsiao et al. (2002) propose the use of maximum likelihood (ML) estimation based on the unconditional likelihood function of the model, concluding that ML estimator is asymptotically more efficient than the GMM. In this paper, Arellano and Bond (1991) procedure will be applied.

Second, we are going to use a model that pays attention to the spatial dimension of the data, by considering the cross-sectional dependence among the observations at each point in time; this is the spatial autoregressive (SAR) model of Cliff and Ord (1973). The static SAR specification includes the spatially lagged dependent variable as an additional regressor:

$$\begin{aligned} \left. {\begin{array}{l} y_{\mathrm{rt}} =\rho \sum _{j=1}^R {w_{\mathrm{rj}} y_{jt} +} \beta _1 +\beta _2 Dq2_t +\beta _3 Dq3_t +\beta _4 Dq4_t +\mu _r +\eta _{\mathrm{rt}} \\ \eta _{\mathrm{rt}} \sim N[0,\sigma _\eta ^2 ] \end{array}} \right\} \end{aligned}$$
(6)

where \(w_{\mathrm{rj}}\) is the (rj) element of the spatial weight matrix W. As is well known, this matrix is pre-specified, nonnegative, of order \(R \times R\) and describes the arrangement of the cross-sectional units in the sample (Anselin 1988, 2007). In the following, we refer this model as the fixed-effect SAR model (FE-SAR).

Finally, to account simultaneously for the temporal and spatial dimensions of the data, we consider the so-called dynamic fixed- effect SAR model, which read as follows:

$$\begin{aligned} \left. {\begin{array}{l} y_{\mathrm{rt}} =\rho \sum _{j=1}^R {w_{\mathrm{rj}} y_{\mathrm{jt}} +} \beta _1 +\beta _2 Dq2_t +\beta _3 Dq3_t +\beta _4 Dq4_t +\tau y_{rt-1} +\mu _r +\eta _{\mathrm{rt}} \\ \eta _{\mathrm{rt}} \sim N[0,\sigma _\eta ^2 ] \end{array}} \right\} \nonumber \\ \end{aligned}$$
(7)

The estimation of model (7) is a bit more difficult than the previous two, given the strong endogeneity of the regressors. However, Yu et al. (2008) developed a bias-corrected maximum likelihood algorithm with good properties.

Once models (5) to (7) have been estimated, we proceed to select the best specification using standard specification tests. As indicated before, the model chosen will be used to forecast the annual employment growth for the post-crisis period, which represents a proxy of annual total employment growth in Spanish provinces in the absence of the economic crisis. Finally, we measure the effect of the crisis by comparing forecasted and actual values.

3 Data

The difference in resilience among Spanish regions is reinforced by the political decentralization process taken place in Spain. In 1978, Spain embarked on a rapid transition process from a highly centralized system in nearly every facet of public life (economy, politics, culture, etc.) to a quasi-federal structure with 17 autonomous communities (NUTS2 units) or 52 provinces (NUTS3). The completion of the so-called autonomic state was achieved formally in 1983. Since then, the weight of the regions has increased systematically at the expense of the central state. The decentralisation process included “own-source” revenues for subcentral governments and tax-sharing agreements among the regions and the central government. Currently, regional governments are responsible for 40%, approximately, of total public expenditure and for more than 50% of government employment. This autonomy facilitates the appearance of different policies among regions, which generate important regional disparities in terms of sectoral specialization, employment, productivity, etc.

We use data on total employment for each of the 50Footnote 5 Spanish provinces, obtained on a quarterly basis for the period 2002:1 to 2015:4. The series are taken from the Encuesta de Población Activa (EPA), published by the Instituto Nacional de Estadística (INE). As said before, we will pay attention to employment distributions among the four main sectors (agriculture, industry, construction and services) since resilience to the crisis may differ due to the different sectoral employment structures.

Figure 2 presents the evolution and sectoral disaggregation of Spanish employment along the analyzed period. Figure 2a shows a strong decrease in employment starting in 2008:2Footnote 6 due to the global economic crisis; however, its impact is not equal for the four sectors. Figure 2b shows that the economic crisis has provoked a strong decrease in the weight of construction in favor of the service sector, while agriculture and industrial shares are less affected.

Fig. 2
figure 2

Evolution of national employment. a Total and sectoral Spanish workers (miles of workers). b Sectoral share over total Spanish employment

To assess provinces specialization pattern, the location quotient for province r in sector i in period t has been calculated as appears in expression (3). These coefficients allow us to declare a province r as specialized in sector i for that period t if the corresponding \(\hbox {LQ}_{i,r}\) (t) is higher than 1.

For the purpose of our study, we are interested in comparing the provincial specialization patterns in two different periods (pre- and post-crisis) and for the four sectors. A general overview of provincial specialization patterns appears in Fig. 3, which depicts the relative frequency of specialization by provinces and periods; darker colors mean that the corresponding provinces appear as specialized in the respective sector at least half of the quarters.

Fig. 3
figure 3

Frequencies of specialization pattern by sectors and periods

The specialization patterns in the pre- and post-crisis periods are quite similar for all the sectors except constructionFootnote 7. Furthermore, the maps show that, in general, the northern provinces are specialized in industry; the southern and western provinces are specialized in agriculture; and finally, the coastal (such as Canary Islands, Málaga, Cádiz, Granada and Valencia) and central regions (such as Madrid, Salamanca or Zaragoza) tend to be specialized in the service sector.

4 Results

4.1 Adaptative resilience

As explained before, we have solved two shift-share decompositions in order to analyze employment growth before and after the shock. Hence, since the Spanish crisis has been already determined in the period 2008:2, we decompose the employment growth between industrial mix and regional share for the 50 Spanish provinces between 2002:1 and 2008:2, on the one hand, and between 2008:2 and 2015:4, on the other. Results are shown in Fig. 4, and they are also mapped in “Appendix” (Fig. 9).

Fig. 4
figure 4

Overall industrial mix and regional share and province classification for employment growth

For our purposes, in relation to this notion of resilience, the most interesting part of the two figures refers to the similarities and dissimilarities between them. We summarize the changes according to the following classification: (1) provinces that remain stable in categories I, II or III among both periods; (2) provinces that improve in both components: industrial mix (IM) and regional share (RS); (3) provinces that improve in only one component, IM or RS; and finally (4) the remaining cases will be classified as low resilient provinces. The results obtained are shown in Fig. 5.

Fig. 5
figure 5

Changes between category classification between pre- and post-crisis period in relation to province classification attending overall industrial mix (IM) and regional share (RS)

In this figure, we identify a group of high resilient provinces among which Málaga and Granada appear in the shift-share category I in both sub-periods. There is also a cluster of provinces of group (1) following the Aragonese axe in the Ebro valley, in the northeast of the peninsula, composed by Araba, Zaragoza, Huesca, Teruel, Cuenca and Lleida. The provinces of group (2), which have improved both shift-share components, are concentrated in the north, including cases in the Autonomous Community of Galicia (A Coruña, Lugo) and Basque Country (Gipuzkoa), also Palencia. Provinces in group (3) have improved at least one of the components, and they are very dispersed over the peninsula with cases in the north (Asturias, Leon, Navarra), in the center (such as Salamanca, Badajoz or Madrid) and in the south (Canary Islands or Almería). The remaining provinces should be classified as low resilient, since they have worsened their situation after the crisis. Among them, we can find southern provinces such as Sevilla, Cádiz, Huelva or Cáceres together with most provinces along the Mediterranean axe such as Girona, Barcelona, Tarragona, Castellón, Valencia, Murcia and Baleares.

Figure 6 shows the decomposition of the regional share into the net regional share (NRS) and the distributional effect (DE) for the 50 Spanish provinces in pre-crisis (between 2002:1 and 2008:2) and post-crisis (2008:2 to 2015:4) periods. In addition, the sign of the distributional effect for both sub-periods is mapped in Fig. 10 in “Appendix.”

Fig. 6
figure 6

Net regional share (NRS) and distributional effect (DE) for employment growth

As before, changes in the sign of the distributional effect (DE) between the two periods are represented in Fig. 7, which allows us to distinguish three groups of provinces: (a) provinces that have improved their DE sign (in the sense that the sign changes from negative to positive); (b) provinces that have not changed its sign between periods (stable DE sign); and finally (c) provinces that have worsened their DE sign (from positive to negative).

Fig. 7
figure 7

Changes between distributional effect (DE) sign between pre- and post-crisis period

In general, we can conclude that Spanish provinces have maintained or improved their specialization profile in the post-crisis period. The worst situation corresponds to the eastern and northern provinces such as Girona, Tarragona, León, Ourense, Cantabria, Gipuzkoa and Navarra, who change the sign from positive to negative.

4.2 “Engineering”/“ecological” resilience

Results for the estimation of the three proposed panel data models are gathered in Table 2. Regarding the W matrix, among different alternatives (always based on measures of geographical distance), we have chosen the four nearest neighbor criteria because of its simplicity, its balance between null and non-null elements and its adequacy in terms of estimated modelsFootnote 8. As can be seen in Table, the inertia in employment growth and the neighborhood effect is highly significant. Moreover, significance tests and measures of goodness of fit indicate that the dynamic fixed-effect spatial autoregressive (dynamic FE-SAR) is the best model for our case. Furthermore, annual employment growth does not significantly differ among seasons.

Table 2 Results obtained for the panel data model specifications\(^{\mathrm{a,b,c}}\)

To cope with our objective, and using this model, we forecast the annual employment growth for the period 2008:3–2015:4, which represents a proxy of annual total employment growth in Spanish provinces in the absence of the economic crisis. The differences between the respective forecast and the actual growth are positive for all regions and periods representing, as said, the impact of the crisis on regional employment. Hence, as regards resilience, this means that any Spanish province has been resilient to the crisis.

From now on, we will refer to these positive differences as “growth drop.” A summary of them appears in Fig. 8. Figure 8a depicts a map of the provincial average “growth drops” after the crisis, which shows that the “growth drops” are not homogeneously distributed among all the Spanish provinces. In fact, a Wald test of homogeneity among the 50 provinces takes a value of 146.18, which is higher than the critical value of a \(\chi ^{2}(49)\)at the 5% level of significance. Differences among the provinces can be measured by comparing each provincial average “growth drop” with the national average (equal to 5.259%). Results appear in Fig. 8b and show that the provinces with performance better than the average are A Coruña, Lugo, Araba, Bizkaia, Salamanca, Palencia, Segovia, Soria and Canary Islands.

4.3 “Adaptative” versus “engineering”/“ecological” resilience uses

As explained before, one of the purposes of this study is connected to the relation between “adaptative” and the other two notions of resilience. We envisage three procedures to carry out this analysis.

First, the estimated “growth drop” for each province will be regressed on the information on provincial specialization. Before doing the regression, we define six dummy variables \({ Dbcc}_{j}\) and \({ Dpcc}_{j}\), (\(j=1,2\) and 3), with a value of 1 for all provinces that are classified as category j according to industry mix and regional shift share for the pre-crisis period (2002:1–2008:2) and post-crisis period (2008:2–2015:4), respectively (note that the reference category is the fourth). Similarly, Dbcpde and Dpcpde are binary variables taking a value of 1 if a province presents a positive distributional effect (right specialization), and 0 otherwise, in the pre- or post-crisis period. A trend variable is also included in the equation to account for a global national trend along the post-crisis period. Three models, A, B and C, are estimated with different combinations of previous dummy variables: only post-crisis variables (Model A), only before-crisis variables (Model B) and, finally, both types of variables (Model C). Estimation results appear in Table 3.

Fig. 8
figure 8

Provincial versus national “growth drops” after the crisis. a Provincial average “growth drops” after the crisis. b Provincial versus national average “Growth drops” after the crisis

Table 3 Relationship between “growth drop” and shift-share analyses\(^{\mathrm{a,b}}\)

As shown in this table, provincial “growth drops” have significantly decreased across time. Regarding sectoral composition effect, results indicate that provinces with advantages in sectoral structure and localization (category I) or those with advantage in location (category III) in the post-crisis period exhibit a significantly lower “growth drop.” The opposite takes place in reference to the pre-crisis period: Regions classified as strong, looking at their sectoral composition, suffered the largest “growth drop.” These results can be interpreted in the sense that the crisis changed dramatically the leading sectors of the Spanish economy. Finally, Table 3 shows that the right/wrong specialization pattern does not have a significant effect in “growth drops.”

The second block of results refers to the relationship between the “adaptative” notion (related to the industrial mix, IM and/or regional share, RS, together with the improvement in specialization pattern) and the “drop growth” results (measured in terms of a dummy variable that takes the value of one for provinces with a lower “drop growth” than the national average). Results for the estimated probit model are shown in Table 4, together with some diagnostics which enable us to validate our estimations.

Table 4 “Ecological” versus “adaptative” resilience. Relationship between changes (between pre- and post-crisis period) in regional classification and distributional effect (DE) sign and the fact of presenting better behavior than the national average\(^{\mathrm{a,b}}\)

As expected, results in Table 4 show that provinces that improve the two components, IM and RS (according to the “adaptative” perspective), are more likely to present a behavior better than the national average. In fact, for this group, the probability of presenting a better behavior is 0.536 higher than for the others. Furthermore, provinces that only improve one of the two components also present a significantly higher probability of behaving better than the others, but, in this case, the marginal effect is lower (0.236). Finally, changes in the specialization pattern do not have a significant influence on probability.

The third procedure considers the relation between “growth drops” and sector specialization. To cope with this objective, we estimate a probit model to measure the influence of sector specialization in the pre- and post-crisis periods on the probability of presenting better behavior than the national average (or a significant lower “growth drop”). Results appear in Table 5.

Table 5 “Ecological” versus “adaptative” resilience. Relationship between regional specialization (before- and post- crisis) and the fact of presenting better behavior than the national average\(^{\mathrm{a,b}}\)

In first place, according to the significance tests in table, we can conclude that “growth drops” are significantly related to pre-crisis provincial specialization. The probability of having better performance than the national average increases for those provinces specialized in the service sector in the pre-crisis period. As expected, the worse behavior is for provinces specialized in the construction sector also in the pre-crisis period. Although not significant, specialization in agriculture and industry is also positively related to the probability of presenting better behavior than the average. These results are in line with Cuadrado-Roura and Maroto (2016), who also concluded that the most resilient regions are those previously specialized in some advanced market services together with dynamic and productive industries.

5 Conclusions

There is wide consensus in the applied literature on the negative effects of the recent global downturn. However, its impact differs substantially between countries and even between different regions in the same country; the same can be said in relation to the way the territories overcame the crisis. Consequently, many economists have focused on identifying the factors that minimize the impact of the crisis. This line of research is closely related to the concept of resilience of a territory. Our objective is to evaluate the resilience of Spanish provinces to the recent global downturn.

According to the literature, a region can be classified as resilient, in terms of the so-called adaptative resilience, if it has the capacity to reconfigure, that is, to adapt its structure (firms, industries, technologies and institutions) so as to maintain an acceptable growth path in employment, output or wealth over time. In this paper, we have approached this issue through a traditional shift-share analysis applied both to the pre- and post-crisis periods. Under this approach, a region is resilient if, after the economic crisis, it has maintained, or even improved, its situation according to sectoral structure and locational advantages. Results show that the most resilient Spanish provinces are Málaga, A Coruña, Lugo, Gipuzkoa, Palencia, as well as some others in the western part of Spain, in the north or in the center like, Madrid.

Other resilience notions, named as “engineering” and “ecological” resilience, refer to differences in growth and level of total employment between both periods. According to an “engineering” approach, a province is high resilient if its actual employment growth (and level of employment) is statistically the same as the forecasted one within a relatively short period of time. According to the “ecological” notion, a province is high resilient if its post-shock employment growth rate is higher or equal than the pre-shock growth rate within a relatively short period of time. Furthermore, in the case of equality, the employment level must also be higher than the predicted one in the absence of the crisis. If some of the previous requirements are not accomplished, the region will be classified as low resilient. To evaluate this issue, in this paper we have used forecasts from a spatial panel data model to evaluate provincial resilience to the crisis. Results have shown that all Spanish provinces have been low resilient to the crisis. However, the provinces that exhibited a better behavior than the national average are A Coruña, Lugo, Araba, Bizkaia, Salamanca, Palencia, Segovia, Soria and Canary Islands.

Next, the paper has analyzed the relationship between the different resilience notions, for the case of Spain. We have found that provinces with sectoral structure and locational advantages (appear in the shift-share category I) or those with advantage in location (category III) in the post-crisis period, have a significantly lower “growth drop” (according to the “engineering” and “ecological” resilience measures). The opposite takes place in reference to the pre-crisis period, since the largest “growth drop” has been suffered by regions that appeared to be in a stronger situation in the pre-crisis period. Moreover, those provinces improving the two shift-share components, IM and RS (according to the “adaptative” perspective), are more likely to present a behavior better than the national average. Moreover, the probability of presenting a better behavior (lower “growth drop” than the national average) increases for those regions specialized in the service sector before the crisis. As expected, the worse behavior corresponds to those regions specialized in the construction sector.

To conclude, let us remark from our results that sectoral and locational advantages are very important to mitigate the negative effects of a crisis. Furthermore, also in the Spanish specific case, those regions specialized in the service sector (also in industry, to a lesser extend) suffered the crisis in a smoother way. Consequently, in a decentralized economy, such as the current Spanish case, it is important to develop a strong and persistent policy supporting the most dynamic sectors of the economy. Only in this case, provinces will suffer a global economic crisis, like that that hit the world economy in 2008, in a smoothest way. Of course, this will not prevent from the crisis, but surely will reduce its impact on the territory.

Finally, let us conclude that although we have found certain relationship between the different resilience notions, the conclusions depend to a great extent on the techniques for measuring them. The selection of the most adequate technique is a matter of choice, but some cautiousness must be taken when comparing different approaches.