coronavirus

Charting the Effects of a Pandemic with High-Frequency Data

The singular topic on every person’s mind these dates is the coronavirus epidemic, and rightly so. The virus has shaped or influenced nearly every aspect of our lives, from work to socializing to our very lives themselves. In tandem with this, there has been a flood of attempts to chart the course of the outbreak in the US and the corresponding recession following in its wake. Such forecasting, which is always complex, is made increasingly difficult for a number of reasons. Obviously, the virus itself is not yet entirely understood and our knowledge of its underlying characteristics that determine its spread is still under development. The situation in most affected nations is rapidly changing, with new numbers being watched closely for every day.

Anyone actively following the news has taken notice of two fundamental aspects in the reporting: a desire to understand where we’re headed, and a distinct lack of data to facilitate such understanding. In this post, I will focus on the unfolding recessionary aspect of the pandemic, where the available data is appreciably better (and more in my realm of knowledge). However, here too exist many obstacles preventing accurate forecasting from being done. Again, to those who have followed the news persistently, you may have noticed that forecasts of various economic measures - GDP and unemployment in particular - have a great variance.

Economic data is often “lagged” from it’s release. In other words, data on macro measures for the current month won’t be released, or not very accurately so, until weeks or even months following the time period covered. This is a symptom of trying to measure such large and complex processes such as GDP growth and unemployment, which requires a significant number of sources and compiling effort, not to mention successive cleaning and adjustments for published figures. The upshot here being that forecasting the severity of the crisis we now face is made further difficult by the lack of accurate economic data actually reflecting the current situation. It is much to ask for a prediction of Q2 GDP growth when we don’t even as of yet have a solid estimation of Q1 GDP growth.

However, the proliferation of data and its public availability offers an alternative to waiting around for such lagged data to be released. Data has become increasingly opened to the public by businesses, cities, and independent researchers. A key feature of much of this data is it’s high-frequency structure: much of the data these entities collect and share is available up to the daily level. Through the good will of these data sources, we can track the ripples of COVID-19 through our economy in the most up-to-date way possible - treating our high-frequency data as “coincident” indicators. Doing so allows us to more quickly and accurately understand the unfolding situation and better forecast (to the near-future, at least) where we might be headed. Such knowledge can then help inform rapid policy decisions and short-term expectations.

One caveat to this data, particularly the ones used in this article, is that they are only proxies for our macro statistics of interest. High-frequency data may provide more attention to “noise” and miss larger trends. Or, as is often the case with data released by individual firms, it will only be focused on a certain region or industry that makes up one small part of the broad macroeconomy. Still,  when analyzed cautiously and combined with lower frequency data, using such sources can aid in quickly forming needed forecasts or at least provide a hint of what’s to come. So keep in mind that with high-frequency data like this there is a high degree of error and volatility. Using this data can help provide some useful information on current conditions, but to truly grasp the bigger picture accurately will take months or even years - likely not until this entire outbreak is controlled.

Hourly Workers, Daily Data

There has been much discussion in the news surrounding the unemployment numbers - certainly a key measure, but a very lagging index as well. National unemployment statistics come out on a weekly basis at best, and even then the week they represent is several weeks behind the current one. More concise reports come out on a monthly frequency. A different statistic that can provide insight on unemployment at a much higher frequency is provided by Homebase - a scheduling and time tracking software. This data was shared on Greg Mankiw’s blog (which is how I came across it), so thank you to him and to Homebase for sharing this fascinating data. Using Homebase data, we can gain insights into employment for hourly workers - consisting of employment in the restaurant, food & beverage, retail and services industries - and how that has changed on a day-to-day basis. 

Note: Data covers March 2, 2020 - March 31, 2020.

Note: Data covers March 2, 2020 - March 31, 2020.

The above chart shows the day by day change in hours worked, compared to a base period in January 2020. Right around March 9th the average hours began dipping dramatically, bottoming out at around -60% on March 22nd. The steep drop begins almost immediately after the White House declared a national emergency on March 13th - prompting states and businesses to ramp up social distancing measures. Although the data here is just a sample of one type of worker from businesses covered by Homebase, it reveals just how hard hourly workers - who constitute a significant portion of the service industry - have been hit by business closures. It is almost certain that the full effect of this work reduction has not been realized throughout the economy yet. Likely we will see a further rise in the overall unemployment rate for much longer, as both the economic freeze takes hold and the unemployment data itself catches up to reality. The good news, perhaps, is that the reduction seems to have stabilized at this level since March 22nd. 

Note: Data covers March 2, 2020 - March 31, 2020.

Note: Data covers March 2, 2020 - March 31, 2020.

Another perspective, again using Homebase data, focuses on the number of hourly employees working compared to a base period covering January 2020. Rather than looking at the change among hours worked by employees, we can compare how many employees are still working at all. A slightly different perspective on the same sample, but we see very similar results. By the end of March we have a 60% decrease in the number of employees working compared to a similar weekday in January, a huge reduction in just two short months. The trend for this series closely tracks the reduction in hours worked by those remaining on the job.

In fact, if we overlay the two series, we see that they’ve followed almost an identical pattern: 

combined_emps.png

So we have a major drop in both hours worked and number of people working among the hourly employees in the Homebase dataset - a drop not yet fully captured in the nation-wide macro figures. 

 Restaurants and OpenTable Data

Another daily tracker, this time made available by OpenTable, is the number of customers at restaurants. This “diner index” (including online reservations, phone reservations, and walk-ins) is a clear indicator for the hardest hit businesses, and it shows just how bad the reality is for restaurants. Instead of looking at how businesses are affected through the labor market, we’re now looking at the economic trend from the consumer’s perspective.

diners_mar1.png

On March 1st, coronavirus had not yet impacted diners in any meaningful manner. Compared to the same day a year before (year-over-year, or YoY), most restaurants were serving as many, or slightly more, customers. On average, the number of seated diners was about 8% higher across all states than the previous year. Kansas and Missouri establishments were thriving, up 69% and 72% YoY, but I would attribute this to small sample sizes in the OpenTable data for those states rather than hungrier than usual Midwesterners. Still, the point is we see what you would expect for an economy chugging along with no immediate known threats - average to good performance. 

diners_mar15.png

Just two weeks later, we see a very different picture. Average restaurant traffic is down nearly 50% across all states, ranging from down 31% in South Carolina to down 67% in Maryland. At this point business closures had begun in some states - particularly the most affected such as California and Washington (-55% and -57%) - and many chose to avoid eating out as the virus was spreading rapidly.

diners_mar31.png

By the end of March, the change in seated diners hit rock bottom - down 100% in nearly every single state. By this point most states had mandatory shutdowns, and the few restaurants remaining open offer only delivery/take-out options - not measured in this data. Although not shown in the maps above, most states were already down 100% by March 23rd, just 3 weeks from a normal day business-wise. It’s fascinating to see just how quickly the situation was evolving, and how even the most financially-prepared businesses can be thrown into chaos and ruin before they even realize what hit them.

Stock Market Blues and Clues

A well-known high-frequency measure of the state of the economy is the stock market. Stock prices are updated every second and using daily closing prices can, at the very least, provide us with knowledge of investor sentiment for the current path of the economy. Further, markets are forward-looking and prices theoretically reflect expectations of the future. In this manner we can look at the market - through the S&P 500 Index - as a leading indicator, hinting at what may be to come. In reality, stock prices and expectations are much more complicated than that and are a reflection of a wide range of factors, some not so directly tied to the economic situation. Federal Reserve injections, information from other countries, and company- and sector-specific idiosyncrasies all play important roles in determining market movement. Still, when a global and structural shock occurs like a pandemic, markets and event timelines tend to be closely correlated.

marketindices.png

I decided to focus on three broad indices: the S&P 500, meant to reflect the entire market, AWAY, an ETF consisting of travel and tourism companies, and JETS, an ETF consisting of airlines. We could consider the S&P 500 as a representative for the general economy, and our two ETFs as representatives for some of the most affected industries due to COVID-19. This is clearly reflected in their 2020 YTD performance, as AWAY and JETS have lost about half their value since January 2, 2020 - about 20% worse than the S&P 500 index. These latter indices reflect the worst-case scenario: a result of an industry’s entire revenue stream being abruptly shut off. 

allcombined.png

How do market indicators compare to our previously looked at data? Actually, pretty similar! In the above chart, I added the Homebase data on change in hourly employees hours worked (the dashed purple line) and the OpenTable diner index data (for the entire US, the dashed blue line) to our market indices chart. The stock market appears to have anticipated the decline in the consumer and labor markets by several weeks, the actual business figures only catching up to their stock prices in mid-March.

Keep on the Lookout 

Maintaining an awareness of high-frequency data series such as these can provide an indication of when we hit bottom or when things are looking up. By the time that unemployment and GDP statistics capture a more complete economic picture of this crisis, the worst may have already passed. Or maybe not. Even if emergency declarations become unnecessary or current “economic coma” policies are removed, it may take some time for the economy to start its engine again. Stock market indices appear to have begun picking up in the last week or so, but this doesn’t exactly imply quick economic recovery - restaurants and the job market remain at their lows and social distancing regulations propose to stay in place for the foreseeable future. When the recovery may begin and how tenacious the bounce back will be remains anyone’s guess.

Final Comments

This post was written in the first week of April 2020, and as such the views of this author reflect information available at that time. Data used in this post has already been further updated and elongated at the time of publication.

Homebase dataset is generously made available, and regularly updated, here: https://docs.google.com/spreadsheets/d/e/2PACX-1vTf0Ce37p3B0Qy-5BZPh1p9-WwEekPOxVdpMsumy6JFeCIt9EO6ZxbGNpnNxjdf9Mr9USeIMqjq9YU0/pubhtml#

OpenTable data is available on their website, here: https://www.opentable.com/state-of-industry

Historical data on stock market prices was pulled from finance.yahoo.com.

Charts and maps seen in this post were created in R, using the ggplot2 and ggmaps packages.

If you have questions or constructive feedback, feel free to email me at troded24@gmail.com, submit an inquiry on this website, or leave a comment on this post! Thanks for reading - and stay safe.