1 Introduction

The slow recovery of many developed economies to the recent financial crisis, and the largest fall in aggregate demand since WWII caused by the COVID-19 Pandemic with its foreseeable negative and persistent effects on the aggregate supply, has generate renewed interest in the subject of hysteresis, which refers to a set of dynamical properties of a system (namely non-linearity, remanence, and selectivity) defined in terms of the reaction of a state variable to an external shock that cannot be expressed in terms of a single-valued function, and that takes the form of loops as depicted in Fig. 1c (see, e.g., [2, 3, 14, 36,37,38], and [52]). The presence of significant hysteresis effects has important theoretical and policy implications. First, there is no unique and predetermined long-run equilibrium level of aggregate employment, as the equilibrium is permanently change by temporary shocks. Second, as the economic system is not self-adjusting, substantial, timely, and sustained expansionary monetary and fiscal policy should be applied to mitigate the impact of shocks, including the temporary ones (see, e.g., [1, 4, 5, 13, 16, 18], and [50]). Although it is not possible to quantify hysteresis effects in real time, we can use historical data to shed some light on the possible long-term economic consequences of the COVID-19 pandemic. Therefore, the main contribution of this paper is to uncover hysteresis effects in the joint dynamics of employment and investment. For that purpose, we use the linear play-hysteresis model, also known as the friction-backlash model, in the context of two equation system. We implement the model empirically by means of a new algorithm for the simultaneous equations system applied to Portuguese data that separates the effects of large and small changes in aggregate demand on the level of employment and investment using an endogenous determined switching parameter as reference, which is theoretically a positive function of the non-convex costs of adjusting employment and the capital stock, and uncertainty.

The remainder of the paper is organized as follows. Section 2 presents a model of weak (micro) and strong (macro) hysteresis.Footnote 1 Sect. 3 presents the empirical strategy and the data set. Section 4 presents the results, and Sect. 5 concludes.

2 Preisach Model of Hysteresis

Let us assume that the level of employment of every heterogeneous firm j, \(R_{\alpha _j,\beta _j} (x_t )\), \(j=1,2,3,\ldots , M\), operating in a competitive market,Footnote 2 is 1 if the firm is active (i.e., in the market), and 0 if the firm is inactive (i.e., out of the market). When active, firm j uses one unit of employment, \(n_{j,t}\), paying a variable cost \(w_j\) (wage), and one unit of capital, \(k_{j,t}\), paying a variable cost \(r_j\) (the interest rate that has to be paid on the firm’s capital stock), to produce one unit of output, \(y_{j,t}\), which it sells at a price \(P_t\). The market price is specified as \(P_t=x_t f(q_{t-1} )\), where \(x_t\) is the exogenous aggregate demand shock, and \(f(q_{t-1} )\) is the deterministic component of the inverse demand function (we follow [17, 18, 23, 28], and [46]). In addition, firms face heterogeneous non-convex costs to hire and to invest in physical capital, \(H_j\), as well as to fire and to disinvest in physical capital, \(F_j\).Footnote 3

The presence of non-convex adjustment costs is sufficient to generate a non-linear employment dynamic with the properties of path dependence and remanence, called weak hysteresis (see [2, 3],Footnote 4 which can be well captured by a non-ideal relay hysteresis operator, \(R_{\alpha _j,\beta _j} (x_t): R\mapsto \{0,1\}\):Footnote 5

$$\begin{aligned} \begin{array}{ll} R_{\alpha _j,\beta _j} (x_t) &{} =\left\{ \begin{array}{ll} 1, &{} R_{\alpha _j,\beta _j} (x_{t-1})=0 \wedge x_t\ge \beta _j \vee R_{\alpha _j,\beta _j} (x_{t-1})=1 \wedge x_t>\alpha _j \\ 0, &{} R_{\alpha _j,\beta _j} (x_{t-1})=0 \wedge x_t< \beta _j \vee R_{\alpha _j,\beta _j} (x_{t-1})=1 \wedge x_t\le \alpha _j \\ \end{array} \right. \end{array} \end{aligned}$$
(1)

The employment demand of firm j in period t, \(R_{\alpha _j,\beta _j } (x_t)\), are defined for \(R_{\alpha _j,\beta _j} (x_{t_0})=0\) if \(R_{\alpha _j,\beta _j} (x_{t_0}) <\alpha _j\), for \(R_{\alpha _j,\beta _j} (x_{t_0})=1\) if \(x_{t_0}>\beta _j\), and both for \(R_{\alpha _j,\beta _j} (x_{t_0})=0\) and \(R_{\alpha _j,\beta _j} (x_{t_0})=1\) if \(\alpha _j<R_{\alpha _j,\beta _j} (x_{t_0})<\beta _j\).Footnote 6

The difference between the two thresholds (\(\beta _j-\alpha _j\)) creates an employment band of inaction (see [7, 8, 12], and [22, 23]). Each firm requires an aggregate positive demand shock \(x_t>\beta _j\) to hire, and an aggregate negative demand shock \(x_t<\alpha _j\) to fire (or exit the market). Demand shocks within the range \(\alpha _j<x_t<\beta _j\) do not change the level of employment. Furthermore, the current level of demand, \(x_t\), is not sufficient to determine the firm’s state of employment. The whole history of \(x_t\) must also be considered since the system exhibits path dependence and “multibranch non-linearity.” The aggregate employment hysteric dynamics (called strong hysteresis)Footnote 7 can be described by the Preisach operator, which is an aggregation procedure of the elementary hysterons \(R_{\alpha _j,\beta _j}(x_t)\).Footnote 8

Let \(\alpha _{min}\) be the exiting threshold for the less demanding firm, and \(\beta _{max}\) the entering threshold of the most demanding firm. Full employment is represented by the area delimited by Preisach triangle, T, in a \(\alpha _j-\beta _j\) plane that represents the set of the potential number of \(j\in T\) contracting firms (or units of labor) acting according to the relay \(R_{\alpha _j,\beta _j}(x_t)\), whereby entry and exit trigger values of aggregate demand are assumed to be firm specific.Footnote 9 The Preisach triangle, T, is defined by (see Fig. 1b):Footnote 10

$$\begin{aligned} T=\{(\alpha _j,\beta _j): \beta _j\ge \alpha _j \text { and } \alpha _j\ge \alpha _{min} \text { and } \beta _j\le \beta _{max }\} \end{aligned}$$

Each point on T corresponds to a \(R_{\alpha _j,\beta _j}(x_t)\) operator. Given that the level of employment of every active firm is one, the aggregate employment at time t, \(N_t\), is fully described by a weighted integral on elementary hysteresis operators representing the state of activity of individual firms:Footnote 11

$$\begin{aligned} N_t=\iint _T u(\alpha _j,\beta _j) R_{\alpha _j,\beta _j}(x_t) \, d\alpha _j \, d\beta _j \, , \end{aligned}$$
(2)

where \(u(\alpha _j,\beta _j )\) is the weight (density) function of the individual firms in T (with \(\iint _T u(\alpha _j,\beta _j) \, d\alpha _j \, d\beta _j=1\)) that describes the relative contribution of each relay to the aggregate hysteresis dynamics.

For cycles of variation in \(x_t\) there is a continuous macroeconomic hysteresis (counter clockwise) loop for aggregate employment as displayed in Fig. 1c. The upward branch, mM, captures the aggregate employment change by increasing aggregate demand. The maximum of the upward branch (point M - positive saturation) results from the exogenous component of aggregate demand, \(x_t\), increasing from 0 to \(x_{t_m}\). The aggregate employment changes due to a subsequent aggregate demand decrease from \(x_{t_M}\) to 0 are captured by the downward branch Mm.Footnote 12 Every reversal of the direction of \(x_t\), for \(0<x_t<x_{t_m}\), leads to a structural break in the \(x_t-N_t\) relationship represented by a continuous transition between different curves. \((x_t,N_t )\) moves into the interior of the region bounded by the major loop mMm, implying that transitory changes in \(x_t\) can lead to permanent variations in \(N_t\).

Fig. 1
figure 1

Micro and Macro Hysteresis Dynamics

The evolution of the whole system can be illustrated as follows. Consider the hypothetical dynamics of the exogenous component of the aggregate demand, \(x_t\), displayed in Fig. 1a. Let us assume the system starts in its minimum input value \(x_t=x_{t_0}=0\).Footnote 13 Therefore, \(R_{\alpha _j,\beta _j } (x_t )=0\)Footnote 14 If \(x_t\) increases to \(x_{t_1 }>\beta _j\), \(R_{\alpha _j,\beta _j } (x_t )\) switch to one. Then, if \(x_t\) decreases to say \(x_{t_2 }<\alpha _j\), \(R_{\alpha _j,\beta _j}(x_t)\) switches to zero. The subsequently cycle of variation of \(x_t\) (\(x_{t_2}\mapsto x_{t_3}\mapsto x_{t_4}\)) does not cause any change in the operator \(R_{\alpha _j,\beta _j } (x_t )\), because the thresholds \(\alpha _j\), \(\beta _j\) are not surpassed. Only when \(x_t\) increases up to \(x_{t_5}\), \(R_{\alpha _j,\beta _j } (x_t )\) changes again to one. The evolution of \(x_t\) in Fig. 1a maps onto the Preisach triangle (Fig. 1b) to describe the aggregate dynamics of the employment. Starting with \(x_t=x_{t_0}=0\), with \(R_{\alpha _j,\beta _j } (x_t )=0\), \(\forall j\), and \(N_t=0\), if \(x_t\) increases to \(x_{t_1}\), all the relays with \(\beta _j<x_{t_1}\), corresponding to the area of the Preisach triangle below \(\beta _j=x_{t_1}\), switch to one (Fig. 1b).Footnote 15 In Fig. 1cFootnote 16, the value of the area of the active firms in the Preisach Triangle that represents the aggregate employment, \(N_t\), increases along the limiting upward branch up to \(N_{t_1 }\) - point a. Then, as \(x_t\) decreases to \(x_{t_2 }\), all the relays with \(\alpha _j>x_{t_2 }\), corresponding to the area of the Preisach triangle to the right of \(\alpha _j=x_{t_2 }\) switches to zero.Footnote 17 After the reversal of the path of aggregate demand to \(x_{t_2 }\) there is an initial weak response of employment that will evolve into a strong one, once the exit thresholds of many firms are passed. In Fig. 1c, \(N_t\) decreases along an inner downward branch up to \(N_{t_2 }\) - point b. If aggregate demand increases again to \(x_{t_3 }\), the aggregate employment increases along an inner upward branch up to \(N_{t_3 }\) - point c (see Fig. 1c). As shown in Fig. 1b the memory of the system is stored in vertices the staircase line \(L_t\) \([(\alpha _{min},x_{t_1 } );(x_{t_2 },x_{t_1 } ); (x_{t_2 },x_{t_3 } );(x_{t_4 },x_{t_3 } );(x_{t_4 },x_{t_5 } )]\) which divides the grey area of the Preisach Triangle, T, where firms are active, \(N_t\), from the white area where firms are inactive, \(U_t\). It follows that the output of this hysteretic system at \(t_4\) depends only on the sequence \(\{x_{t_1}, x_{t_2}, x_{t_3}, x_{t_4} \}\). At \(t_5\) the memory sequence stored in \(L_t\) is wiped-out by the new absolute maximum \(x_{t_5}\). Therefore, to know the value of \(N_t\) it is only necessary to know the local maxima and minima that have not been wiped out, and that forms the reduced memory sequence.

For the empirical detection of hysteresis, a piecewise-linear approximation of the curved Preisach hysteresis loop by means of the play-hysteresis operator is usually adopted.Footnote 18 The geometrical representation of the linear-play dynamics is illustrated in Fig. 1d. The model contains two steep lines: a ’downward spurt line’, and an ’upward spurt line’, along with flatter lines (’play lines’) connecting the two spurt lines. The horizontal distance between the spurt lines in called the ’play interval’, representing the employment band of inaction at the aggregate level, and which can be viewed as an indicator of the magnitude of the hysteresis effects. Starting in spurt line, the slope of a linear section changes when a local extremum of the aggregate demand shock, \(x_t\), is reached, and every change in the direction of \(x_t\) forces the aggregate employment, \(N_t\), to traverse a play interval, evolving along a play line. A strong reaction of \(N_t\) only takes place after this interval is surpassed.

Within this framework the memory effect is captured by the difference in the slopes between the play and spurt lines. Let \(\gamma _1\) represent the slope of the flatter lines (play lines), then \((\gamma _1+\gamma _2 )\) is the slope of the steeper lines (spurt lines), where \(\gamma _2\) represents the memory or remanence parameter.

Again for the purpose of illustration, assume \(x_t=x_{t_0}\) and \(N_t=N_{t_0}=0\) (point a in Fig. 1d). An increase in the aggregate demand shock variable to \(x_(t_1 )\) causes, initially, a weak response of the aggregate employment (along a play line) until a threshold value \(x_{t_1}^S\) is surpassed (the system is at point b). This is due to the presence of non-convex adjustment costs interacting with uncertainty. When the \(x_t\) increases sufficiently, i.e., when the threshold value \(x_{t_1}^S\) is surpassed, the employment start to respond strongly, increasing along the upward spurt line to \(N_{t_1}\).The system follows the sequence abc. A further decrease of \(x_t\) to \(x_{t_2}\) causes initially a weak decrease of the aggregate employment (along a play line) until a threshold value \(x_{t_2}^S\) is reached (point d)). After this point, the aggregate employment responds strongly, decreasing along the downward spurt line (the system follows the sequence cde). If \(x_t\), increases again to \(x_{t_3}\), aggregate employment increases initially weakly along a play line, which was vertically shifted downward until the threshold value \(x_{t_3}^S\) is reached (point f)). After this point, the aggregate employment responds strongly, increasing along the upward spurt line (the system follows the sequence efg).

In our model, as \(y_{j,t}=n_{j,t}=K_{j,t}\), the dynamics of the stock of capital, \(K_{j,t}\), matches with the hysteric dynamics of employment just described. Besides as \(K_{j,t}\) is normalized to one for entering and exiting the market it corresponds to the level of investment, \(I_{j,t}\). In fact, due to the present of sunk cost a firm usually requires a rate of return far in excess the cost of capital to invest. Conversely, if the firm has decided to invest, it will require an operational loss far in excess average variable cost to disinvest (see [44, 45, 23, 20, 21, 24, 11, 19], and [6]). Adding to the sunk costs, economic uncertainty introduces an additional cost of entering (opportunity cost) that is the value of the option to wait for more information, magnifying hysteresis effects (see [20, 22, 44], and [24]).

Figure 2 illustrates the graphical structure of the model to be estimated. \(V=\{N_t,I_t\}\) is the set of the endogenous variables, \(U=\{X_t, W_t, R_t, \epsilon _t^N ,\epsilon _t^I\}\) the set of exogenous variables, and \(F={f_N,f_I }\) are a two equation system that includes an employment equation \(f_N\) and an investment equation \(f_I\).Footnote 19

Fig. 2
figure 2

Graphical Causal Model

We assume that the demand for employment results from consumers’ demand for final goods and services (that determines a scale effect), and the availability of employment that determines its price (input substitution effect)Footnote 20. Therefore, aggregate employment, \(N_t\), is specified as a function, \(f_N\), of the aggregate demand, \(X_t\), the real wage, \(W_t\), and of random disturbance term, \(\epsilon _t^N\), iid normal.

Regarding the investment function, \(f_I\), we consider a parsimonious specification that includes as explanatory variables the aggregate demand, \(X_t\), and the real interest rate, \(R_t\), capturing the opportunity cost of the investment.Footnote 21 We also add a random disturbance term, \(\epsilon _t^I\), iid normal.

Due to the interplay of employment and physical capital in the production function it also plausible that there is endogeneity between these variables. Therefore, \(X_t\) has a direct effect on \(N_t\) and an indirect effect mediated by \(I_t\). Likewise, \(X_t\) has a direct effect on \(I_t\) and an indirect effect mediated by \(N_t\) (see Fig. 2). This dynamic is best captured by a simultaneous equation’s framework.

The graph in Fig. 2 represents the qualitative causal relationships. The best functional form of \(f_N\) and \(f_I\), specifically whether the relationship between \(X_t\) and \(N_t\) and between \(X_t\) and \(I_t\) is linear or hysterical is what we intent to uncover.

3 Empirical Implementation and Data

The play model can be implemented via a linear switching employment equation with an unknown splitting factor (the play interval) capturing the non-linear play hysteresis effects (see [6, 9], and [40, 41].

In this equation, the change in aggregate employment, \(N_t\), induced by a change in aggregate demand, \(X_t\), is divided in a weak reaction along a play line and a strong reaction along a spurt line, for sufficient large changes in \(X_t\):

$$\begin{aligned} N_t=\gamma _0+\gamma _X X_t+\gamma _S S_t (play)+\gamma _W W_t+\epsilon _t^N \end{aligned}$$
(3)

where \(S_t\) (the spurt variable) is a hysteresis transformed input variable that results from the original input series \(X_t\), which accumulates all preceding and present movements on the spurt lines, originating a structural break of the relationship between \(N_t\) and \(X_t\). Since all the small changes inside the play interval (\(\Delta X_t<play\)) are filtered away, \(S_t\) can be viewed as a filtered explanatory variable.

The parameter \(\gamma _X\) denotes a weak reaction of employment, \(N_t\), to small variations in aggregate demand, \(X_t\), along the play line, and (\(\gamma _X+\gamma _S\)) the strong reaction along the spurt line to sufficiently large changes in \(X_t\).Footnote 22 The presence of hysteresis is corroborated if the memory or remanence parameter, \(\gamma _S\), is significantly greater than zero.Footnote 23

The computation of the spurt variable, \(S_t\), in a single equation is generated by means of a play algorithm originally described in [26], and a posteriori developed by [27, 8, 10], and [39,40,41]. The innovation here is that we extend the previous algorithm to a two-equation system to estimate the spurt variables, in which the investment function has similar hysteretic structure of the employment function (see Algorithm 1).

In (4) we consider the hysteretic relationship between investment, \(I_t\), and aggregate demand, \(X_t\), captured by \(S_t^I\) in the similar way it was consider for employment.Footnote 24

$$\begin{aligned} \left\{ \begin{array}{lll} f_N &{}: N_t &{} = \gamma _0^N+\gamma _X^NX_t+\gamma _S^NS_t^N+\gamma _W^NW_t+\gamma _I^N I_t\;+\epsilon _t^N \\ f_I &{}: I_t &{} = \gamma _0^I\;+\gamma _X^IX_t\,+\gamma _S^IS_t^I\;\,+\gamma _R^IR_t\;\,+\gamma _N^I N_t+\epsilon _t^I \end{array} \right. \end{aligned}$$
(4)

The coefficients are identified with sub and super script indexes. The subscript identifies the associated variable. The super script N and I identifies whether the coefficient belongs to equation \(f_N\) and \(f_I\) respectively.

Algorithm 1
figure a

Linear switching employment and investment simultaneous equation estimation.

In our empirical application we use quarterly data for Portugal retrieve from EUROSTAT. The series are seasonally adjusted, and the data covers the period from January 2000 to December 2019.Footnote 25 This data set includes a number of macroeconomics shocks, comprising the recent financial crises (whose effects were special acute in Portugal), and for that reason is adequate to analyze the hysteretic joint dynamics of employment and investment. Portugal is also a good case study as the country rigidity of employment protection legislation (that is a source of employment hysteresis) ranks above the OECD average.

In equation \(f_N\), the aggregate employment, \(N_t\), is measured by the index of the number of employees in industry. The real production in industry adjusted by the number of working days, \(X_t\), is used as the proxy of aggregate demand. Real wages, \(W_t\), are measured by the index of gross wages in industry deflated by the general consumer price index.

In equation \(f_I\), aggregate investment, \(I_t\), is measure by the index of the gross fixed capital formation for the whole economy.Footnote 26 We use the Portugal-Germany 10 year bond spread as a proxy for real interest rate, \(R_t\).Footnote 27

4 Results

Table 1 shows the results of the estimation of the linear version of system (4), i.e., without the hysteresis variables (\(S_t^N\) and \(S_t^I\)) using the seemingly unrelated regression (SUR) method [53].Footnote 28 The residual diagnostic test for normality (Jaque-Bera) is also reported. We do not reject the null hypothesis (of normality of the residuals) for \(f_N\) and \(f_I\). The signs of the estimated coefficients are as expected. In the employment equation the proxy of aggregate demand, \(X_t\), has a positive impact on aggregate employment, and the real wage has a negative impact. In the investment equation, \(X_t\), is not significant, and the proxy of the interest rate, \(R_t\), has a negative impact on aggregate investment. Base on the significance of The estimation also reveals a positive interaction between aggregate employment and aggregate investment.

Table 1 SUR estimates of the Linear Version of system (4)

In a second step we estimate system (4) with the hysteresis variables (\(S_t^N\) and \(S_t^I\)). A grid search over different values of the play interval for both employment and investment is used to find the combination \(\left( {play}^N,\ {play}^I\right) \) with the highest average of the \(R^2\) of \(f_N\) and \(f_I\). The absolute maximum is achieved for \(\left( play^N=0.108,\ play^I=0.082\right) \), which implies substantial hysteresis effects for both employment and investment. These values form the basis to estimate the hysteresis variables \(S_t^N\) and \(S_t^I\) according to the algorithm. Both series are displayed in Fig. 3, together with the original input variable \(X_t\). The spurt variable for employment, computed for an estimated band of inaction of 0.108, does not change in 83% of the quarters. These results are in line with previous empirical studies that shows that firms do not permanently adjust the number of employees to accommodate demand shocks On the contrary their reaction is discontinuous and lumpy, with large periods of inaction interrupted by episodes of large adjustment (see e.g. [7,8,9, 11, 32, 39, 51]). A similar behavior is documented for investment (see e.g. [6, 11, 23, 24, 45]). Here, the spurt variable for investment, computed for an estimated band of inaction of 0.082, does not change in 78% of the quarters.

Figure 4 plots the hysteresis loop - the hysteresis variable (spurt) computed from real production in industry against the original variable. When real production varies the hysteresis variable exhibits multibranch nonlinearity that characterizes the hysterical dynamics.

Fig. 3
figure 3

Estimated Hysteresis Variables for both Employment and Investment

Fig. 4
figure 4

Estimated Hysteresis Variables for both Employment and Investment

Table 2 shows the estimation results of system (4) with the two hysteretic regressions.

Table 2 SUR estimates of system (4)

Concerning the employment equation, \(f_N\), the hysteresis variable, \(S_t^N\), is significant at \(1\%\), while the original forcing variable, \(X_t\), turns non-significant. This implies that the play lines in Fig. 1d are in fact horizontal. That means that employment only reacts to significant large changes in aggregate demand, which corroborates the hypothesis of hysteresis. The coefficient associated to investment remains significant at \(1\%\), but the coefficient associated to real wages is now non-significant.

In the investment equation, \(f_I\), the hysteresis variable, \(S_t^I\), is significant at \(5\%\), while the original forcing variable, \(x_t\), remains non-significant. This result indicates that the presence of hysteresis is also corroborated for the case of investment. The Portugal-Germany 10 year bond spread use as the proxy for real interest rate, \(R_t\), and the aggregate employment remain significant and with the expected sign.

5 Conclusion

This work analysis the presence of hysteresis effects in the join dynamics of employment and investment by means of the linear play hysteresis model in a simultaneous equation framework.

The empirical application based on quarterly data for Portugal reveals significance hysteresis effects for both employment and investment. The estimated band of inaction used as a proxy of the magnitude of hysteresis is however larger for aggregate employment. Compared with previous analysis that focuses only on employment hysteresis, here we document a more complex and interrelated hysteretic dynamics between aggregate employment and investment. The consequence is that measures towards the deregulation of the labor market could not be effective to reduce employment hysteresis.

These results have significant consequences for macroeconomic policy. As the effects of severe negative economic shocks (even if temporary) may not be easily reversed, fiscal and monetary policy should be conducted in a more preventive way and respond in a timely, massive and sustained manner.

Concerning the response of the Covid-19 pandemic, this work find support to the idea that “now is not the time to doubt or err on the side of caution when it comes to expansionary economic policies” ( [16], p. 39).