Friday, July 3, 2020

ARMA models, multiple components and recoveries of consumption series from COVID


Introduction – ARMA models and behavior of multiple components

Time series models of the typical ARMA family should be viewed as a tool to tell ourselves stories about how time series behave. They focus us on the question of primary importance - how will the shocks be propagated into future and hence influence future values – and allow us to answer it in simple terms. For example autoregressive model with high coefficient tells us that effect of shocks will be eliminated only gradually and hence propagated over long period of time. On the other hand moving average models of low order tells us that the effect of shocks will disappear quickly. Or finally, moving average model with negative coefficient tells us that the recent shocks will have opposite effects in near future.
This simple pallet of models is very flexible and allows us to capture most of the behavior of real world series. One particular place where it can be applied is in thinking about detailed consumption and production series influenced by the pandemic (think purchases of cars or box office sales). In principle, these series can be thought to be composed of at least 4 components, 3 relating to lockdowns (or more broadly social distancing) and one to the overall economic shock.
The three components related to lockdowns effect capturing the effect of lockdowns which prevent consumption/production; effect of pent-up demand after lockdowns are lifted (i.e. most people who very planning to purchase car will still do so sometime after lockdowns); and effect of substitution, as money saved on some regular expenditures due to lockdowns are spend on some other items due to impossibility of time-substitution (e.g. people will not catch up with all their regular cinema and restaurant visits they have missed). The other component is component capturing effects on confidence and/or expectations about current/future incomes, i.e. the usual component we see in recessions, albeit this time the bad news arrived in more time-compressed manner.
These components behave very differently from each other. Moreover, not all series contain all components, and even if they do, these components might behave differently for different series (think of more persistent lockdowns/social distancing effects for most sensitive industries). This means that in contrast to normal recessions there will be much bigger heterogeneity across individual consumption series. Moreover, the first three are very unique to our current situation and their novelty together with their complexity means that we can easily get confused by temporary movements. It should be therefore worthwhile to consider the different options we might encounter over the next few months and what it means for behavior for given series. Below are few examples.

Example 1 – Spending on restaurants: Pure lockdown shock with no pent-up demand and substitution

The first example applies to series which is affected by the lockdowns, but does not benefit from the pent-up demand and substation effects.  An example could be spending in restaurants – restaurants in many countries were closed for most of April and to a lesser degree May and June, so that the spending in restaurants is substantially lower in these months. At the same time, people will return to restaurants as soon as their re-open, so that July should be back to normal level of spending (or close to that). The graph below translates this discussion into deviations from normal level of spending (left chart) and into growth rate of the series (right chart). The magnitudes are illustrative and not meant to be representative.


Turning to the way this is captured in the standard time series ARMA models, the profile in the chart is achieved by using MA(2) process with single (negative) shock in April. The moving average model extends the effect of shocks for the number of periods corresponding to the order of the process, in our case two extra periods.[1] Intuitively (but not necessarily), the coefficients on lags of shocks are lower than 1 so that the effect of the shock decreases over time. Of course, the length of the shock effect as well as its strength in each period can be easily changed with the order of the model or the size of the coefficients: moving average models give us complete flexibility over this, albeit at a cost of possible overparametrization.
An alternative to lengthening the effect of shock through increasing the order of moving average model is to use autoregressive model. AR models eliminate effects of shocks gradually, multiplicatively.[2] Therefore, in contrast to MA models, the effects of shocks persist for more periods than is the order model. In case of our lockdowns we can think of lasting lockdowns for most dangerous industries, say restaurants focused on international tourists (or similarly international air travel). Picture below captures such situation:




Of course we could combine moving average and autoregressive models to get ARMA model, which combines the profile of responses in first and second pictures:



Note that the different three options of lockdown effect profiles translate into slight, but important variation in growth rates we should observe. In first case large drop is followed by immediate and rapid growth for 3 months. In second case the growth is still immediate, but it is not rapid; instead the recovery is spread over many months. Finally, in the last case the growth is not even immediate but actually comes with some delay.
The previous pictures all assumed that there is no confidence shock associated with the pandemic. This was our collective assumption in January and February, but in March it became clear that we will not return to normal as soon as the lockdowns are over. Simply, the pandemic also caused global recession, which influences are current behavior through expectations about future economic situation, by for example lowering our expectations of future incomes (or even current incomes for the unlucky who lost their job already). This of course causes people to cut back on expenditures already now, and hence spending on restaurants would now be lower even if we would eliminate Covid-19 with a magic wand. To capture this, the next picture adds the confidence channel to the previous picture.[3] The key difference is that after lockdowns are over we do not return to the normal level of spending, but rather remain slightly below for the rest of the year. Correspondingly, the growth rates in May-July period are lower, but mild growth continues for the rest of the year.




Turning to econometric calibration, what we have added is AR(2) process for confidence. As before, we can see that the autoregressive model makes the effect last very long: the confidence component is negative throughout the whole year. Moreover, AR models of order higher than 1 with first coefficient bigger 1 also feature amplification: the peak effect occurs with delay. Therefore, the confidence component is largest in absolute value in June, two months after the initial shock. Finally, the sum of the coefficients is very close to 1, so that the effect of the shock is eliminated very slowly and even at the end of the year it is close to its maximum size.
Of course, things could be easily re-parametrized. We could ensure that the peak effect is either sooner or later, and we could ensure that the elimination is faster or slower. This could be done either within the context of AR(2) model, so would not require additional parameters, or by changing the order of the model. Examples of two re-parametrizations are below:


Therefore, the difference between autoregressive and moving average processes is in terms of trade-off between flexibility and over-parametrization: autoregressive process can give us some flexibility for given number of parameters, while moving average processes can give us infinite amount of flexibility at cost of many parameters.
Finally, all the charts above assumed that ¾ of the impact we observe in May is due to lockdowns and rest due to demand effects. Of course, for different consumption series different distribution will make sense: for other industries it will be mostly demand shock and bit of lockdown shock (spending on newspapers); for some it will be more equal; and for some there might be even a negative lockdown shock (think purchases of food in grocery stores).

Example 2 – Spending on cars: Lockdown shock with pent-up demand but no substitution

The second example applies to series which is affected by the lockdowns, but after lockdowns are lifted it benefits from the pent-up demand (but not from substitution effects).  An example could be spending in cars – car dealerships in many countries were closed for most of April, so that the spending on cars is substantially lower in that. At the same time, most people who were planning to buy car will do so soon after lockdowns anyway irrespective of the pandemic. Such situation is captured in next chart:


Here the crucial thing is to realize, that the pent-up demand gives us temporary small boost in the May (and even smaller in June), so that the rebound is faster than before. After June the profile is again determined solely by the confidence component and hence is identical as before. There is one even more important realization: since the pent-up demand gives us temporary boost in terms of level, there is actually decline in the spending in June, even though the June deviation from normal is smaller than before. This highlights the problematic nature of growth rates in coming months.
In terms of econometric calibration not much has changed: lockdown and confidence components are as in original case, while pent-up demand component is moving average model as the lockdown. The way things have been specified is using the same error as in lockdown equation and set current-period coefficient to zero, which is rather unusual. Nevertheless, this is for simplicity: one could write this down more elegantly, but it would blunt the message the pen-up demand is just partial reversal of lockdown shocks.

Example 3 – Spending on home-improvement: Lockdown shock with pent-up demand and substitution

The last example applies to series which is affected by the lockdowns, but after lockdowns are lifted it benefits from the pent-up demand as well as substitution effects.  An example could be spending on home improvement – this was impossible during the lockdown since hobby markets were closed for most of April, so that the spending on home improvement is substantially lower in that month. At the same time, most people who were planning to do such home improvement will do so soon after lockdowns anyway irrespective of the pandemic. And on top of that, since people saved money on some regular expenditures with which they do not plan to catch up – think no tourism, restaurant visits or cinema outings – they decide to use left-over money for home improvements. Such situation is captured in next chart:


 The picture resembles the previous case but the rebound is even stronger in May, so that the deviation from normal actually turns positive in this month. However, once the temporary positive effects dissipate the confidence effect takes over and the series goes back below normal. The growth rate in this situation is even more strangely looking than in previous case – after drop there is even larger jump, followed by large second drop before stabilization. Hence, growth rates do not tell useful story almost at all.
Econometrically, we have added another moving average process very similar to pent-up demand, so there is nothing new in that sense.

Conclusion – More caution than usual needed

Given the nature of the shock the behavior of individual consumption series will vary greatly. This divergence reflects the fact that in current situation – in contrast to normal recession – series can be thought of as composed of several differently-behaving components. This then can play havoc in how individual series will behave: not only will there be large swings in growth rates, there might be also multiple switches from positive to negative growth rate. This highlights how growth rates can be very misleading in coming months. While level will certainly be more informative, one can imagine reversals even here. So the overall message is that one has to be cautious when drawing conclusions from  individual consumption series in coming months.


[1] Of course, one could argue that what is really happening is three successive shocks, but this distinction is relatively slight in current situation. The notion here is that the effects of lockdowns always linger for some time, so that they can be described by some firm process.
[2] In the simplest case of AR(1) model, say with coefficient 0.9, 10% of the previous period effect is eliminated in each period.
[3] Note that the April impact is the same as before, just that part of it is demand shock. This is true throughout this document.

Thursday, June 11, 2020


U,V,W,X,Y,Z…aka shape of recession and recovery to come

There is a lot of talk about what the shape of the recession and recovery will be. For better or worse, analysts typically use alphabet-based terminology to communicate their opinion and hence one can see a lot of headlines including the letters U,V and W (as well as L). So which letter will it be?

Let’s first start with what the letters refer to. In most situations - but not all, and partly not even dedicated Wikipedia page - analysts talk about the level of GDP or the level of output gap (rather than the growth rate of GDP). The letter then is meant to approximate the shape of the curve capturing the level of GDP over the recession and recovery period. So, for example, V-shaped recovery is meant to suggest that after steep drop will be equally steep immediate jump in level of GDP that will take us back to original level. All three of these aspects – steep jump, its immediate nature and reaching original level – are important feature of V-shaped recoveries.

While V-shaped recessions/recoveries were the norm historically, the recessions and recoveries in last few decades typically follow different script. First deviation is that the onset of recovery is less rapid. This means that rather the sharp edge of letter V we have the soft edge of letter U. In U-shaped recession and recovery a period of rapid decline is followed by period of subpar growth before recovery gets under way. Second deviation is assuming that the level of GDP is permanently lower due to the recession, probably thanks to recession destroying some productive capacity (e.g. bankruptcy of otherwise profitable firms or permanent loss of some human capital). In such situation the shape does not have the second half and we talk about an (tilted) L-shaped recovery: after dropping there is no jump reversing the drop. Finally, in some cases the first wave of recession is followed by second recession immediately after, with the experience of southern European countries a recent example of such phenomenon. To such situations analysts refer to as a W-shaped recession.
Another modification of the shape of recovery – one especially relevant for current situation – focuses on symmetry of the recession and recovery. The U-shaped recovery implicitly implies a symmetry in the recession and recovery parts, which in other words means that the rise in GDP during recovery is as rapid as the decline was in recession. This will almost certainly not be the case in current situation with record-breaking speeds of decline observed during the lockdowns. So a different shape-metaphor has been proposed for our recovery: a Nike swoosh. In this shape the recession is rapid but recovery takes time as in U-shaped recovery, and hence the shape is not symmetric.

So which letter fits the current situation best? The answer is neither, since this recession and recovery will be highly unusual. First, the recession is more rapid than anything we have previously seen, among other things reflecting the fact that it includes a large supply-side component in form of government restrictions on economic activity. Relatedly, absent a second wave during summer, there is going to be jump in activity once the restrictions are lifted and/or people feel free to resume their life. This means that initially the recession and recovery will follow a clear V-shaped script, with drop in first and second quarters followed by jump in third. However, in all likelihood the jump in economic activity will be smaller than then the preceding drop, so that the level of GDP in third quarter will be below the level in last quarter of 2019, potentially substantially so. Afterwards, we will likely be in our normal recession, which can have both elements of U- and L-shaped recovery. Of course, W shape is a clear possibility in current situation given that we might experience a second wave later in the year.

How would one describe such complicated profile in a letter? One option is an incomplete V (or small v) recovery, with the dropping part of V longer than the rising part. Another option is referring to current situation as VU-shaped recovery, with the initial V-shaped profile followed by more gradual U-shaped recovery. Obviously, an incomplete-V and VU-recovery recovery just does not sound so good and in any case does not completely evoke the shape. To better describe the shape one might want to abandon the alphabet for world of mathematical symbols and refer to the recovery as (inverse) square-root sign: normal square-root sign has a smaller dip followed by larger jump; our current situation will have the opposite. (Depending on the author, this profile can also be meant by the reference to Nike swoosh.)

Now you might thing why is it important if we use the correct metaphor for the recovery in general, and why it matters that there is an element of V-shaped recovery in otherwise a U-,W-, or L-shaped recovery. The reason is simple: the effect on expectations and corresponding surprises. Many analysts nowadays talk back against expectations of V-shaped recovery, and partly rightly so, since complete V-shaped recovery is almost certainly not in the cards. However, this might lead to the opposite excess: by ignoring the fact that the recovery will have an element of V shape, readers might be surprised in summer to see positive economic numbers consistent with a V-shaped recovery and confuse them with signs that the recovery will indeed be a fully V-shaped. By building in expectations that there will be a large, but temporary jump in level of GDP followed by more gradual return to pre-pandemic levels, one will be pre-conditioned to read the summer and fall numbers with extreme attention to size of the jump. 

This is also partly related to the why growth rates will not be a useful representation of economic situation during the second half of the year: while in third quarter we are likely to see a very large positive growth rate corresponding to a large jump in level of GDP – growth which in some countries might match the decline in second quarter - the level will almost certainly remain well below the pre-pandemic value. The unsuitability of growth rates is further amplified by the changing base in the calculation of growth rate: a drop by 10% followed by increase by 10% leaves us 1% below the original value.

This discussion even has a political dimension: in absence of second wave the third quarter GDP growth will likely be record-breaking. Intriguingly, the release of the third-quarter GDP falls on October 30, 4 days ahead of the U.S. presidential election. Expect a lot of big tweets about the best economic performance in the history of the United States, or maybe even the universe.

P.S.: Below is chart illustrating V, U, and L recoveries (as well as combination of U and L). 

 
P.P.S.: Here is the newest OECS forecast for euro zone GDP - the blue line follows the incomplete-V (or as they say, half-way V) recovery.



 

Saturday, April 25, 2020

How would the optimal/fair monetary policy response to pandemic look like?


My starting point is with what the pandemic is in terms of macroeconomy. It is a huge and unanticipated wealth shock. We do not have to discuss the huge part, I believe. The unanticipated part is more controversial: if you would ask epidemiologists, they would (and did) say that what we are experiencing is a clear possibility. However, the macroeconomic consequences were completely and utterly unappreciated. I view it from my perspective of somebody creating macroeconomic stress-testing scenarios for living: not only is the current outcome way out of the range of outcomes consider by regulators such as Fed, EBA or PRA – even though they were not trying, with latest CCAR being twice worse than the great recession - but I am fairly confident that if I would propose drop of GDP by 10-20% over 2 quarters I would be laughed at. 

Given that, I think that this outcome was clearly not in subjective distribution of those creating and pricing financial assets or just any contracts, on either side of the deals. This means that the shock creates ex-ante relative winners and losers: in financial markets bond holders are relative winners, for most part, with the residual-claim holders (=shareholders) suffering (almost) all the losses and bond holders not bearing (almost) any of the shock; in rent contracts, say between shop renter and shopping mall, the shop renter bears (almost) all the costs of not having any business, while shopping mall renting the space out is protected by the contract. Of course, with defaults on contracts the bond holders and those renting out will suffer as well, but this is only in the extreme outcomes and in any case their loss is much smaller compared to the stock holders and shop renters. Given the generally unanticipated nature of the shock, this distribution seems unfair, and indeed, governments around the world try to address this in some form. 

Ideally, there would be a renegotiation of the contracts, with bond holders and shopping malls taking a hit. Of course, we know from the contract literature that this is hard, so will not likely occur on massive scale. However, I realized that the same thing could be partly achieved by central banks, or at least in theory it could. Take the debt contract. Debt contracts are almost always written in nominal terms, so decreasing the real value of money via unexpected inflation shifts some of the real loss to bond holders, at least those who have long-term contracts. So the central bank could bypass the problem of contract-renegotiation by announcing it will increase the price level by say 5% or 10%. In practice this might be easier said than done, but there is always helicopter money, after all: by giving everybody 5% of new money supply now, we decrease the value of those holing the fixed-nominal-value side of the contracts by 5%, distributing the costs of the shocks more widely, evenly and I would say fairly. 

I think the strongest case for this is at levels of whole countries, say indebted country like Italy. In the old pre-euro days, in response to this shock Italy would experience a bout of inflation. This would re-distribute from the bond holders (and deposit holders) to the other people, alleviating some of the unfairness in the distribution of impact of this widely unanticipated shock by shifting it from tax-payers to creditors of the state. Of course, Italy does not have the option anymore, and doing this via default or deposit tax is not the same as it affects only one part of the link (e.g. hits bond holders, but not their creditors, making them insolvent). And of course, leaving the euro has such a large associated costs that it outweighs the associated benefits, so there is no such option for Italy. Before someone concludes that this shows that having common currency is bad, it is worth pointing out that this shock is extreme in that it was not part of our prior distribution, plus one could (or should?) do this at euro-zone, so this is not related to common currency per-se. 

P.S.: Of course this is all closely related to price level or NGDP targeting.