Aladangady 2019 From Transactions Data To Economic Statistics Constructing Real Time High
Summary
NBER Working Paper 26253, From Transactions Data to Economic Statistics: Constructing Real-Time, High-Frequency, Geographic Measures of Consumer Spending, by Aditya Aladangady, Shifrah Aron-Dine, Wendy Dunn, Laura Feiveson, Paul Lengermann and Claudia Sahm, dated September 2019. The abstract says timely information on consumer spending matters to policymakers, but the Census Bureau's monthly retail trade survey is not well suited to localized or short-lived economic shocks, and its publication lags and revisions limit its usefulness. The authors build new spending indexes from card transactions data, thanking colleagues at Palantir for implementation work, and discuss a constant merchant method that misses business births and deaths. The views are the authors' own and not necessarily those of the Federal Reserve System.
Summary drafted by a model from the document's text below and checked by script against that text before publication. It is a navigation aid, not a reading of what the document proves. Where AI is used
Cite this document
“Aladangady 2019 From Transactions Data To Economic Statistics Constructing Real Time High.”
Original at doi.org. Archived at Pandemic Darlings, https://pandemicdarlings.com/source-documents/aladangady-2019-from-transactions-data-to-economic-statistics-construc-8716e72933/
, SHA-256 f8c2d255f87f798da32058a16fcd54eee3ceb2c60095113ee1f6f36148928d9e.Full text
Text recognized from a scanned document; may contain errors.
NBER WORKING PAPER SERIES
FROM TRANSACTIONS DATA TO ECONOMIC STATISTICS:
CONSTRUCTING REAL-TIME, HIGH-FREQUENCY,
GEOGRAPHIC MEASURES OF CONSUMER SPENDING
Aditya Aladangady
Shifrah Aron-Dine
Wendy Dunn
Laura Feiveson
Paul Lengermann
Claudia Sahm
Working Paper 26253
http://www.nber.org/papers/w26253
NATIONAL BUREAU OF ECONOMIC RESEARCH
1050 Massachusetts Avenue
Cambridge, MA 02138
September 2019
We thank especially Dan Moulton, Aaron Jaffe, Felix Galbis-Reig, and Kelsey O’Flaherty for
extensive work and conversations in constructing these new spending indexes. We also thank Zak
Kirstein, Tommy Peeples, Gal Wachtel, Chris Pozzi, Dan Williams, and their colleagues at
Palantir who have been integrally involved in implementation. The views expressed here
are those of the authors and not necessarily those of other members of the Federal Reserve
System or the National Bureau of Economic Research.
NBER working papers are circulated for discussion and comment purposes. They have not been
peer-reviewed or been subject to the review by the NBER Board of Directors that accompanies
official NBER publications.
© 2019 by Aditya Aladangady, Shifrah Aron-Dine, Wendy Dunn, Laura Feiveson, Paul
Lengermann, and Claudia Sahm. All rights reserved. Short sections of text, not to exceed two
paragraphs, may be quoted without explicit permission provided that full credit, including ©
notice, is given to the source.
From Transactions Data to Economic Statistics: Constructing Real-time, High-frequency,
Geographic Measures of Consumer Spending
Aditya Aladangady, Shifrah Aron-Dine, Wendy Dunn, Laura Feiveson, Paul Lengermann,
and Claudia Sahm
NBER Working Paper No. 26253
September 2019
JEL No. C55,E21,E27
ABSTRACT
Access to timely information on consumer spending is important to economic policymakers. The
Census Bureau’s monthly retail trade survey is a primary source for monitoring consumer
spending nationally, but it is not well suited to study localized or short-lived economic shocks.
Moreover, lags in the publication of the Census estimates and subsequent, sometimes large,
revisions diminish its usefulness for real-time analysis. Expanding the Census survey to include
higher frequencies and subnational detail would be costly and would add substantially to
respondent burden. We take an alternative approach to fill these information gaps. Using
anonymized transactions data from a large electronic payments technology company, we create
daily estimates of retail spending at detailed geographies. Our daily estimates are available only a
few days after the transactions occur, and the historical time series are available from 2010 to the
present. When aggregated to the national level, the pattern of monthly growth rates is similar to
the official Census statistics. We discuss two applications of these new data for economic
analysis: First, we describe how our monthly spending estimates are useful for real-time
monitoring of aggregate spending, especially during the government shutdown in 2019, when
Census data were delayed and concerns about the economy spiked. Second, we show how the
geographic detail allowed us quantify in real time the spending effects of Hurricanes Harvey and
Irma in 2017.
Aditya Aladangady Laura Feiveson
Federal Reserve Board Federal Reserve Board
20th & Constitution Avenue, NW 20th & Constitution Ave., NW
Washington, DC 20551
aditya.aladangady @frb.gov
Shifrah Aron-Dine
Stanford University
366 Galvez St.
Stanford, CA
arondine@ stanford.edu
Wendy Dunn
Federal Reserve Board
20th & Constitution Ave., NW
Washington, DC 20551
wendy.e.dunn @ frb.gov
Washington, DC 20551
Paul Lengermann
Federal Reserve Board
20th & Constitution Ave., NW
Washington, DC 20551
paul.a.lengermann @ frb.gov
Claudia Sahm
Federal Reserve Board
20th & Constitution Ave., NW
Washington, DC 20551
Claudia.R.Sahm @frb.gov
1 = Introduction
Data on consumer spending are crucial for monitoring macroeconomic conditions. In the
United States, personal consumption expenditures comprise nearly 70 percent of gross domestic
product (GDP) and are therefore a key determinant of the cyclical position of the economy.
However, consumption can be hard to measure in practice, particularly in a timely and detailed
manner. Existing official statistics on consumer spending are extremely useful but limited. For
instance, retail sales from the Census Bureau’s surveys are published for the nation as whole at a
monthly frequency. The monthly figures are available after about two weeks and often revise
considerably. The Census statistics also do not include any subnational detail, so for analysis of
regional shocks, researchers and policymakers must rely on other data sources, such as the
quarterly regional accounts from the Bureau of Economic Analysis (BEA), or household
expenditure surveys like the Consumer Expenditure Survey. These data sources have limited
sample sizes at smaller geographies and are only available after a lag of a year or two. Real-time
access to geographic spending data allows better monitoring of shocks at the regional level and
could alert policymakers before they turn into a national shock. Indeed, research on the Great
Recession, such as Mian, Sufi, and Rao (2013), has shown that consumption declines were larger
and appeared sooner in areas with declining house prices.
The question motivating our research is whether alternative data sources can provide a
more granular—but still timely and reliable—picture of consumer spending. The massive
volumes of data generated by consumers using credit and debit cards and other electronic
payments are a promising new source of information on retail spending, as cards are the
prevailing method of payment for most retail purchases in the United States.” Industry analysts
and market researchers have long tapped into such transactions data to observe retail shopping
behavior and market trends. Recently, economic researchers have also begun to utilize these and
similar nontraditional data, such as scanner data or online financial websites, in empirical studies
of consumption.* These new data provide timely and extremely detailed information on the
buyers, sellers, and items purchased, yet they also pose myriad challenges, including protecting
? Survey data from financial institutions indicate that total card payments were $6.5 trillion in 2017 (Federal Reserve
Board, 2018).
3 Some recent examples are Mian, Rao, and Sufi (2013) using credit card company data, Farrell and Grieg (2015)
using accounts from a large bank, as well as Baker (2018) and Gelman, Kariv, Shapiro, Silverman, and Tadelis
(2014) using data from apps used by households.
the privacy of individuals and businesses, confirming the quality of the data, and adjusting for
non-representative samples.
In this project, we develop a comprehensive research dataset of spending activity using
transactions data from First Data Merchant Services LLC (First Data), a global payment
technology company that processes $2 trillion dollars in annual card transaction volumes. We
filter, aggregate, and transform the card transactions into economic statistics. To protect the
anonymity of all merchants and customers, we are not given access to the transaction-level data.
Instead, we work with Palantir Technologies—First Data’s technology business partner—to
build the new series to our specifications, which are fully anonymized before we receive them.*
We currently have created estimates of daily retail spending from 2010 to the present for a
number of industry categories, at the national, state, and metropolitan statistical area (MSA)
level.
Our merchant-centric data on spending is, in some ways, conceptually similar to the
Census Bureau’s Monthly Retail Trade Survey (MRTS). As with the Census survey, our
transaction data are organized by the type of the merchant making the sale. We adopt the same
industry categories as Census, so we can assess how well the national, monthly growth rates
from our new data relate to the Census estimates. However, an important difference is the sample
selection. The Census Bureau uses a statistical sampling and survey design to select the MRTS
sample of about 13,000 employer firms that own or control one or more retail establishments.
The survey is used to produce estimates that are representative of all retail activity.° First Data’s
client merchants are not necessarily representative of all retailers and some First Data client
merchants do not permit use of their data for research.
We are encouraged to find that, despite being constructed from very different underlying
raw data sources, the Census retail sales figures and our own time series are strongly, positively
correlated. Validation exercises have given us confidence in the soundness of our methodology
and the quantitative reliability of our estimates. This was an important hurdle to clear before
using the high-frequency dimension of our research dataset to track economic conditions in real
4 Specifically, Palantir suppresses any spending estimate based on fewer than ten merchants or where a single
merchant comprises over 20 percent of the total transaction volume. In addition, some merchants also have “opt out”
agreements with First Data, and their transaction data are not used in any of the analysis.
5 For more details on the survey construction, see the Census Bureau’s, “Monthly Retail Trade Survey
Methodology” https://www.census.gov/retail/mrts/how_surveys_are_collected.html. Note also that a merchant in
First Data is similar conceptually to an establishment in Census.
3
time for policymakers. Indeed, our data provided valuable insight on the trajectory of aggregate
consumer spending in early 2019 when a government shutdown delayed the publication of
official government statistics.
We have also used the geographic detail in our daily data to track the impact of
Hurricanes Irma and Harvey on spending. We find that the hurricanes significantly reduced—not
just delayed—consumer spending in the affected states in the third quarter of 2017. Although the
level of spending after the storms quickly returned to normal, very little of the shortfalls during
the storm was made up in the subsequent weeks. Thus, on net over the span of several weeks, the
hurricanes reduced spending. This marked the first time we were able report on the spending
effects of a major weather event within days of its occurrence.
The project discussed in this paper represents our third attempt over several years to
obtain promising new data sources and use them to create spending statistics. Through earlier
false starts, we learned valuable lessons about the many challenges that must be overcome to
convert proprietary “big data” into functional economic statistics. This paper details the
ingredients to our eventual success, including a private company supportive of our statistical
efforts, skilled staff from a technology company to process the raw data, and rich data structured
in a way that we could map to Census retail sales.
The remainder of this paper is organized as follows. In section two, we describe the
transaction data from First Data. In section three, we detail the methodology we use to construct
our spending series from the raw transactions data. In section four, we compare our new series
with official estimates from the Census Bureau as a data validation exercise. Finally, we show
how we used the transactions data to track consumer spending during the government shutdown
in early 2019 and in the weeks surrounding Hurricanes Harvey and Irma in 2017.
2 Description of the Transactions Data
The unit of analysis in our underlying data from First Data is the swipe of a card by a
customer paying at a merchant or the entering of card information online for an electronic
purchase. The total dollar amount of the purchase, as well as when and where it occurred are
recorded.° Only card or electronic transactions at merchants that work with First Data (or one of
their subsidiaries) are captured in our transactions database. All cash payments as well as card
payments at merchants of First Data clients with op-out clauses for further use of their data will
be missed in our database. Geography is determined by the location of the merchant, which may
differ from where the consumer lives.
First Data is a global payment technology company and the largest credit card transaction
processor in the United States. As of 2016, First Data processes approximately $2 trillion of card
payments a year. First Data serves two roles in the credit card payments market. They act as both
a merchant acquirer and a payment processor. As a merchant acquirer First Data sells credit card
terminals to merchants and signs them onto First Data’s transaction processing network. As a
payments processor First Data provides the ‘plumbing’ to help credit card terminals process
payment authorization requests and settlements (irrespective of whether or not they are First
Data terminals).
Figure | illustrates the role of payment processors in a credit card transaction. When a
consumer makes a purchase at a First Data merchant, First Data serves as the intermediary
between the merchant and the various credit card networks. When a consumer swipes a card at a
merchant’s point of sale system, the processor sends the transaction information through the
credit card network to the consumer’s bank which then decides whether or not to authorize the
transaction. That information is then relayed back to the point of sale system and the transaction
either goes through or is denied. When the transaction is settled, the final transaction amount (for
example including tip) is transferred from the customer’s account to the merchant’s account.
There may be a lag of several days between the authorization and the settlement due to
individual bank procedures, but both of these dates are available to us in the data.’ Banks batch
payments to other banks at various frequencies (daily, biweekly, weekly).
® The name and zip code of the merchant are in the raw data. Bank Identification Numbers (BIN) can be mapped to
the card numbers and in some cases we have a flag as to whether the card was present for the transaction (in store)
or not (online). While these data are initially recorded by First Data, they are only available to us in an aggregated
and anonymized form.
7 For January 2012 to the present, First Data reports both authorization and settlement dates and amounts.
The authorization date should be the same as the purchase date. Thus the most accurate representation of a purchase
is the authorization time stamp and the settlement amount. The settlement amount is more accurate because it would
include tips which are typically not included in the authorization amount. When available, we combine data on both
authorizations and settlements to characterize each transaction. The date of the transaction is the time stamp of the
authorization request (when the credit card was swiped) and value of the transaction is the settlement amount (so as
Figure 1. The Role of Payment Processors in Credit Card Transactions
Merchant's Bank
Payment
Merchant Processor f
Custome Ps ie
fe redit Car
Til
Customer's Bank
The First Data microdata includes details about every card transaction including the
authorization and settlement amount and date, the merchant address, the merchant name, and the
merchant category code (MCC).* Even though First Data only covers the portion of sales paid
for by card, the possible universe of consumer spending transactions we could hope to observe
with this transaction dataset is quite large. According to the 2017 Diary of Consumer Payment
Choice, consumers use credit and debit cards for 30.3 percent of their payments, in dollar value,
while they use cash for just 8.5 percent of dollars paid (Greene and Stavins, 2018). For the
categories that we focus on—retail goods and restaurant meals—the card share is even higher.
Our analysis of First Data transactions focuses on a subset of retail stores and restaurants,
which we refer to in this paper as the “retail sales group.” To compare our estimates with official
Census statistics, we convert the MCC codes available from First Data to 3-digit North American
to include tip, or any revision in the original authorization amount). When a valid authorization time stamp is not
available, we use both the time stamp and value of the settlement. From January 2010 until January 2012, First Data
only reports transaction settlement dates and amounts. Due to batch processing by consumers’ banks, the settlement
date can be days after the actual purchase data. We used the older database to extend our time series back to 2010 by
adjusting the timing of transactions with only settlement data according to the average difference in timing between
settlement and authorization.
8 First Data client merchants decide their own MCC identification. MCC is an industry standard, but the accuracy of
MCC assignments is not integral to the payment processing. Palantir staff have found cases when the assigned MCC
is inconsistent with the type of business that the merchant does (based on the name of the merchant). A client
merchant can also have multiple MCCs, for example a grocery store with an affiliated gas stations could have one
MCC for terminals in the grocery and one for terminals at the gas pumps.
Industry Classification System (NAICS) codes. We use the unique mapping that was developed
by staff at the Census Bureau and the Bureau of Economic Analysis, shown in Appendix A. The
retail sales group includes total retail sales (including food services) excluding sales at building
materials stores and gasoline stations and covers about one-third of total consumer spending.”
Finally, it is worth emphasizing that, because First Data has business relationships with
merchants, not consumers, our data provide a merchant-centric view of spending. While the raw
microdata also technically includes an anonymized identifier for each credit and debit card, we
can only draw on the subset of that card’s transactions that occur at First Data merchants.
Furthermore, we do not have any information about the cardholders.
3 Methodology
In this section, we describe the methodology used to filter and transform the raw First
Data transactions data into daily spending indexes for different industries and geographies. We
developed the filtering strategies to isolate, as much as possible, the economic changes in
spending in the data from the changes driven by business decisions at First Data. In the absence
of a statistical sampling frame, the filtering of transactions is an important step in the analysis of
firm-sourced “big data.”
3.1 Filtering with 14-month constant-merchant samples
First Data’s raw payment transactions are not suitable, on their own, as statistics of
overall consumer spending. Figure 2 compares the 12-month percent changes in the raw sum of
transactions at First Data merchants in retail sales-group industries and the equivalent retail sales
group series from the Census retail trade survey. It is immediately clear that the two series are
° The retail sales group is the subset of retail and food service industries in the Census retail sales survey that are
also used to estimate approximately one-third of aggregate personal consumption expenditures in the National
Income and Product Accounts. It includes the following NAICS categories: 4413 - Auto Parts, Accessories, and
Tire Stores, 442 - Furniture and Home Furnishings Stores, 443 - Electronics and Appliance Stores, 445 - Food and
Beverage Stores, 446 - Health and Personal Care Stores, 448 - Clothing and Clothing Accessories Stores, 451 -
Sporting Goods, Hobby, Book, and Music Stores, 452 - General Merchandise Stores, 453 - Miscellaneous Store
Retailers, 454 - Non-store Retailers, 722 - Food Services and Drinking Places. It is worth noting that First Data also
has ample coverage of several other NAICS categories not included in the retail sales group: 444 - Building Material
and Garden Equipment and Supplies Dealers, 447 - Gasoline Stations, 721 — Accommodation, 713 - Amusement,
gambling, and recreation industries.
not measuring the same underlying phenomenon. The huge swings in the First Data growth rate
in early- and mid-2014 reflect their acquisition of other payment processing platforms. The raw
index also reflects choices by individual merchants to start, end, or continue their contract with
First Data as their payment processor. One of the major challenges with these transactions data is
that unlike in the Census Retail Trade Surveys we do not have a sample frame and we thus
cannot distinguish actual merchant births and deaths from merchants that have decided to start or
stop using First Data as their payment processor, a phenomenon we refer to as “client merchant
churn.”
Figure 2. Raw Sum of Transactions Retail Sales Group 12-Month Percent Change
300
200
First Data
100
12-Month Percent Change
2014 2016 2018
Note: not seasonally adjusted. Source: First Data and Census, authors' calculations.
To address client merchant churn, we use a “constant merchant approach” to filter
transactions to derive an analytical sample. The basic principle is to base our growth estimates
between two time periods on the subset of First Data merchants that regularly transact between
the two periods. This filtering concept excludes both client merchant churn and economic births
and deaths. Given the rapid expansion in First Data’s business and the economic growth in the
retail sector, it would be too restrictive to select merchants that transact in the full data set from
2010 onward. At the other extreme, using very short windows for the constant merchant
approach, such as comparing transactions one day to the next or even one month to the next,
could also be problematic because of the strong seasonal and day-of-the-week patterns in retail
spending.
We chose 12-month growth rates as the focus to filter to constant merchants. For each
month from January 2011 to present, we define a 14-month constant-merchant sample. Each
sample includes “well-attached” merchants (criteria described below) in the reference month and
the preceding 13 months. The 14-month window includes the 12-month change ending in the
reference month (which require 13 months of transactions) in our merchant sampling criteria.
The extra month at the start of the sample window insures that merchants who become First Data
clients in the middle of the month do not affect the 12-month change. To give a concrete
example—shown in the first row Figure 3—the constant merchant sample in January 2017 is a
subset of the client merchants that transacted in each month from December 2015 to January
2017. The sample for December 2016—in the second row—s based on transactions from
November 2015 to December 2016. The same merchant may appear in multiple monthly
samples, but it will depend on the merchant’s transactions behavior within the specific 14-month
window.
Figure 3. Illustration of Overlapping of 14-Month Constant Merchant Samples
Dec 2015 ] Jan 2017
[ ]
Nov 2014 [ Dec 2015
One implication of the 14-month trailing window for each constant merchant sample is
that for any calendar month, we will have multiple estimates of spending from different samples.
For instance, the shaded area in Figure 3 shows the 14 different merchant samples that we use to
estimate spending in December 2015. The reference months for the samples range from
December 2015 to January 2017. We discuss below how we combine the estimates across the
reference samples into a single time series. This overlapping sample methodology is applied
independently to each 3-digit NAICS code and geography.
3.2 Additional criteria for selecting “well-attached” merchants
We applied several other filtering criteria for selection into each 14-month constant
merchant sample: !°
1.
Misclassified MCCs to NAICS mapping: Some merchants were determined by
Palantir to be paired with inaccurate MCCs and were subsequently dropped from our
analysis. For example, MCC code 5962 (Merchandising Machine Operators) was
found to contain many merchants that should be classified as Travel Vendors.
Batch processors: Merchants cannot have more than 40% of their transaction volume
concentrated in one day in a month. This cutoff is well above the typical transaction
distribution for extreme days such as Black Fridays and the days before Christmas.
The goal of this filter is to remove merchants who batch their transactions over several
days for processing.
Minimum monthly spending/transaction days: Merchants must transact more than
4 days and clear at least 20 dollars in every month of the sampling window. This filter
removes merchants who effectively leave the First Data platform but still send in
occasional transactions to avoid inactivity/early termination fees. It also removes any
merchants that may be batching transactions at a lower frequency that were not
captured above.
Growth outliers: The 12-month percent change in each merchant’s sales must be
within the inner 99.99% of the distribution of growth rates of merchants at that NAICS
code and geography combination.
‘0 The underlying raw sample (before filtering) excludes merchants that have opted out of having their data shared.
We also control for the introduction of new payment processing platforms by imposing a three month lag before
merchants on the new platform can appear in the sample since merchants often exhibit volatile behavior in the data
when a new platform comes online. Three small platforms with several data quality issues are dropped from our
sample.
10
Table 1 shows the fraction of spending removed from our sample in each filtering step for the
14-month window ending in January 2017. The denominator throughout is the set of merchants
in MCC codes associated with the retail sales group that do not opt out of the sample or are not
transacting on platforms that are dropped from the sample. Our final, filtered sample, shown in
the last row of the table, accounts for a little over half of the dollar transaction volume in the raw
sample, but reflects a set of merchants with a stable attachment to First Data and for whom sales
growth appears well-measured by the data.
Table 1: Filtering Steps — 14-Month Window Ending Jan 2017
Cumulative Cumulative
% Dollar Volume % Merchants
Not Filtered Not Filtered
Opt-out Merchants and Platform Introduction 100.0% 100.0%
Misclassified MCCs to NAICS Mapping 86.7% 89.5%
Batch Processors 85.2% 81.5%
Minimum Monthly Spending/Transaction Days 85.2% 80.2%
14-Month Constant Merchant Sample 52.7% 29.1%
Growth Outliers 51.4% 29.1%
Note: Table shows fraction of merchants and associated transaction volumes that meet each successive filtering
criteria in the 14-month window from December 2015 to January 2017.
3.3. Combining constant-merchant samples
We combine our adjusted 14-month constant merchant samples to construct a daily index
of spending growth for each industry and geography. Since the data are daily, we cannot simply
back out an index by cumulating the average monthly growth rates from our 14-month samples,
as might have been the most natural approach if we were using monthly data. Instead, we choose
to take a weighted average of the /eve/ of the 14-month samples for each day.
First, we re-scale the 14-month samples to remove level differences across the samples
due to merchant churn or platform acquisition. Next, we average together the level-adjusted
overlapping 14-month samples for each day. The result is a single, continuous daily index for
11
each industry and geography. Finally, we benchmark these indexes to the 2012 Economic
Census to obtain dollar-values of spending.
In the first step, we scale each successive 14-month sample by a factor, f;, such that the
average of spending over the first thirteen months of the series is equal to the average spending
of those same thirteen months in the preceding, and already scaled, 14-month sample.'! These
13 t
= —* and a,,~° denotes the
factors are multiplicative, f, = [[f2 q¢_; where q;
estimate of daily sales on day i of month ¢ from the 14-month sample series ending in month +7.
In the second step, we average together the fourteen indexes that cover each day’s
spending to get our daily spending series: !
1 8 t+j
Xit =
As is desirable, the monthly growth rates that derive from these indexes are weighted averages of
the monthly growth rates in each contributing 14-month sample. !°
One consequence of using this methodology is that the estimates for the most recent
thirteen months of the series revise when we receive a new complete month of data (and thus a
new 14-month sample). Figure 4 shows the magnitudes of the revisions between a given real-
time estimate and the final estimate of growth in a given month. The dots and bars reflect the
means and 90% confidence intervals, respectively, for differences between the final growth rate
estimate and each vintage growth rate estimate, based on monthly observations from April 2011
to December 2017. The vintage describes the number of months passed at the time of the
estimate: for instance, the first vintage of February 2017 will be the first monthly growth rate
estimate for February in hand at the beginning of March. The second vintage will be the monthly
growth rate estimate for February in hand at the beginning of April, and so on. The final growth
rate estimate for a month is the growth rate of that month once it no longer revises, which occurs
'! Prior to this step, and as described in Appendix B, we make a statistical adjustment to the first and final month of
each 14-month sample. The adjustment attempts to correct bias due to our inability to perfectly filter new and dying
merchants at the beginning and end of the sample. The variable notation aie ? reflects the series after the correction
has been applied.
'2 For days in the months at the start or end of the existing data span, we average together whatever indexes are
available for that period, which will be less than 14.
'3 See Appendix C.
12
after 14 months. The revisions, particularly for the first few vintages, can be as high as around
plus or minus 0.8 percentage point at the outer range of the 90% confidence interval, although
they appear to be essentially unbiased. The preliminary estimates of monthly retail sales growth
from Census have roughly comparable standard errors.'* As we make further refinements to our
data estimation methods, we anticipate that the revision standard errors will shrink (for further
detail, see appendix).
Figure 4. Revision Properties of First Data Retail Sales Group Monthly Growth Rates
a
J
1
fos)
Revision to Percent Change
(Final - Vintage n Growth Estimate)
a
I
1 2 3 4 5 6 7 8 9 10 11 12 13 14
Vintage
Note: Black dots show the mean revision to monthly seasonally-adjusted growth rates, and red bars show the 90%
confidence interval, that is, 1.65 times the standard deviation. Source: First Data, authors’ calculations.
In the final step, we create dollar-value estimates. Benchmarking is an important step
when using a non-representative sample and incomplete data. If some industries are over- or
under-represented among First Data merchants relative to all U.S. merchants, or if use of non-
card payments for spending differs across industries, a simple aggregation of our industry
indexes would not accurately reflect overall growth.
The Economic Census—conducted every five years—is the only source of retail sales
data with sufficient industry and geographic detail to serve as our benchmark. The most recent
census available is from 2012. With each of our industry indexes for a specific geography, we set
the average level in 2012 equal to the level in the Economic Census for that industry and
'4 The standard deviation of the revisions to the preliminary Census monthly growth rate is 0.4 percentage point, as
compared to 0.5 percentage point in the First Data.
13
geography.'> We then use our daily indexes from First Data transactions to extrapolate the
spending from the Census level in 2012. Our final spending series in nominal dollars reflects the
Census levels, on average, in 2012 and the First Data growth rates at all other times. This
approach provides spending indexes in which the nominal shares of each industry are
comparable to those across all U.S. merchants, not just First Data clients. Then, to construct total
spending indexes for the Retail Sales Group, or any other grouping of retail industries, we simply
sum over the benchmarked industry indexes that compose the desired aggregate. We use this
benchmarking procedure to create levels indexes for national, state, and MSA level spending.
Prior to benchmarking, the Economic Census also allows us to check how well the First
Data indexes cover the universe of sales in the country. For each year, the “coverage ratio” of
each index is computed by dividing the total First Data sales that are used in the creation of the
index by the total estimated sales in the region. '° Figure 5 shows that the coverage ratio of the
national retail sales group has increased from roughly 5.5 percent in 2010 to 8.3 percent in 2018.
However, the coverage is not uniform across the country. Figure 6 plots the coverage ratio of the
retail sales group in each state in 2018. Some states, such as North Dakota and Iowa, both have
low coverage at 3.7 percent, while others have higher coverage such as Nevada with 15.1 percent
and Alaska (not shown) with 11.6 percent.
'S For those geography-NAICS code pairs for which the 3-digit NAICS code is suppressed in the Economic Census,
we impute them using the number of firms in that industry and region. When the First Data index is suppressed for
2012, we instead normalize the first full year of the First Data index to the Economic Census level for that region-
industry that is grown out using the national growth rates for the 3-digit NAICS.
‘6 For years other than 2012, estimates from Economic Census for a specific industry and geography are grown out
using national growth estimates for that industry from the Census Monthly Retail Trade Survey.
14
Figure 5. First Data Coverage of National Retail Sales Group Sales
8.0
‘La
7.0
6.5
6.0
55
Economic Census Coverage (Perce!
2010 2011 2012 2013 2014 2015 2016 2017 2018
Source: First Data and Census, authors' calculations.
Figure 6. First Data Coverage of Economic Census Retail Sales Group Sales by State, 2018
Fraction
15
12
9
6
Source: First Data and Census, authors' calculations.
3.4 Seasonal Adjustment
In order to use our spending indexes for time-series analysis, we also need to filter the
indexes to remove regular variation related to week days, holidays, and other calendar effects.
After exploring several alternative strategies, we have taken a parsimonious approach: We
seasonally adjust the data by summing the daily transactions by calendar month and running the
monthly series through the X-12 ARIMA program maintained by the Census Bureau. An
advantage of this method is that it is also used to seasonally adjust the Census retail sales data,
which we use for comparison with our own monthly estimates.
15
Seasonal adjustment of the daily data is more challenging, partly because the methods for
estimating daily adjustment factors are not as well established. That said, working with daily data
offers some potential advantages in this regard. As pointed out by Leamer (2014), with daily data
we can directly observe the distribution of spending across days of the week, and this allows for
a relatively precise estimation of weekday adjustment factors. Indeed, we find that retail
transaction volumes vary markedly by the day of the week—the highest spending days appear to
be Thursday, Friday, and Saturday, and the lowest spending day by far is Sunday. Interestingly,
there also appears to be a slow shift in the composition of spending by day of week, toward
Fridays and Saturdays and away from Mondays and Tuesdays. This pattern is likely capturing
trends in the timing of shopping activity, though it may also be partly due to an unobserved
change in the composition of merchants represented in our sample.
Working with the daily data series also allows us to uncover the recurring fluctuations in
activity around major holidays, which play a critical role in seasonal adjustment. Moreover, the
daily data reveal that spending patterns in the days surrounding major holidays can vary
substantially depending on the day of the week that the holiday occurs. In future work, we intend
to document these and other seasonal patterns revealed in the daily data and to discuss their
implications for the construction of seasonally adjusted indexes at the daily or weekly frequency.
4 Comparisons of Spending Growth in New Series with Official Statistics
An important step in the development of our new spending indexes has been making
comparisons to official Census estimates of retail sales. Because the Census survey is
administered to firms with at least one retail establishment, it is a useful benchmark against
which to compare the indexes that we derive from aggregating the First Data merchant-level
data. The Census surveys roughly 13,000 firms monthly, with the full sample being re-selected
every 5 years.'’ Firm births and deaths are incorporated quarterly.
Even if we have isolated the true signal for economic activity from First Data
transactions, we would not expect a perfect correlation with the Census series. In reality, the First
'7 The Census Bureau’s initial estimate of retail sales for a month comes from the “Advance” Monthly Retail Trade
Survey, which has smaller sample of firms, roughly 5,000. The results from the Advance survey are released for a
specific month about two weeks after the month end. The MRTS for that same month is released one month later.
Because firms are often delayed in their responses, the MRTS can undergo major revisions as additional firms report
sales in subsequent months or in the annual retail sales survey, released each March.
16
Data transactions offer an independent, albeit noisy, signal of economic activity. Moreover, the
Census estimates are also subject to measurement error, such as sampling error. Figure 7 shows
the 12-month percent change in the national retail sales group from the First Data indexes and
Census retail sales. Our spending indexes capture the broad contour of the Census estimates.
Figure 7. National Retail Sales Group, 12-Month Percent Change
Correlation: 0.84
5.0 \~/ H
2.5 | \| \ } Wi — First Data
0.0
2012 2014 2016 2018
Note: Not seasonally adjusted. Source: First Data and Census, authors' calculations.
Figure 8 shows 3-month percent changes in seasonally adjusted versions of both Census and
First Data series. While the co-movement between the series is certainly weaker than the
12-month NSA changes in Figure 7, the broad contour of growth in the two series remain quite
correlated even at a higher frequency. The standard deviation of the growth rates is also similar.
17
Figure 8. National Retail Sales Group, 3-Month Percent Change
Correlation: 0.48
2012 2014 2016 2018
Note: Seasonally adjusted, annualized growth rate. Source: First Data and Census, authors' calculations.
The results in this section have made us confident that we are, in fact, measuring monthly
growth in consumer spending well. Furthermore, the signal derived from the First Data series
provides a read on spending that is more timely than the official statistics. For any particular
month, the initial reading on retail spending from First Data comes only three days after the
completion of the month, while the Census’s initial read lags by two weeks. Moreover, while the
First Data series provides an independent read on retail spending, it also enhances our ability to
forecast the final growth estimates published by Census, even when controlling for the
preliminary estimates from Census.'® This timeliness and incremental signal content allows
policymakers—particularly the members of the Federal Open Market Committee deciding
monetary policy—to base their decisions on a more accurate assessment of the current cyclical
state of the economy.
5 Applications: Real-time Tracking of Consumer Spending
The First Data indexes developed in this paper can improve the information set of policy
makers, including at the Federal Reserve. In this section, we discuss how our First Data indexes
'8 A regression of the final 3-month Census retail sales group growth rate on the preliminary 3-month Census
growth rate has an adjusted R-squared of 0.48, while the addition of the preliminary First Data series raises the
adjusted R-squared to 0.55. While the incremental improvement in forecasting revisions in general is small, the First
Data estimates are particularly helpful as an independent signal when Census preliminary estimates show an
unusually large change in sales.
18
helped policy makers during the partial government shutdown in 2019 and in the wake of
Hurricanes Harvey and Irma in 2017.
5.1 The Partial Government Shutdown in 2019
In December 2018 and January 2019, heightened turmoil in global financial markets raised
concerns about the pace of economic activity; as a result, policy makers were acutely focused on
the incoming economic data to inform their decisions. Unfortunately, a government shutdown
delayed the publication of many official statistics, including December retail sales—ordinarily
one of the most timely indicators of consumer spending—leaving policy makers with less
information to assess current economic conditions.
The First Data spending index remained available during the shutdown. In contrast to the
worrying signs in financial markets, the December reading from First Data indicated only a
modest decline in retail spending, as shown in Figure 9.
When the shutdown ended and Census published its first estimate of December retail sales
(on February 14"", a month later than usual), it showed an exceptionally large decline. At that
point, however, the January First Data reading was also available, and it pointed to a solid
rebound in spending. Indeed, the first Census reading for January also popped back up when it
was eventually published on March 11".
19
Figure 9. Retail Sales Data Releases during 2019 Government Shutdown
‘ Available data on Jan 6:
2
¥ Available data on Feb 14:
. Available data on Mar 11:
J
— First Data Census
Note: Monthly growth rates of latest vintage available. Source: First Data and Census, authors' calculations.
5.2. Hurricanes Harvey and Irma in 2017
Another useful application of our data is for assessing the impact of severe weather
events, like hurricanes. The disruptions to spending during a storm are often severe but localized
and short-lived, so that the lost spending is hard to quantify with monthly, national statistics
where the sampling frame may be inadequate to capture geographic shocks. Moreover, policy
makers ultimately care about the extent to which swings in aggregate spending reflect the effect
of a large, short-run disruption like a hurricane versus a change in the underlying trend in
spending.
The 2017 Atlantic hurricane season was unusually active, with 17 named storms over a
three-month period. Two of these hurricanes—Harvey and Irma—were especially large and
20
severe. On August 28, Hurricane Harvey made landfall in Texas. Historic rainfall and
widespread flooding severely disrupted life in Houston, the fifth largest metropolitan area in the
United States. Less than two weeks later, Hurricane Irma made landfall in South Florida after
causing mass destruction in Puerto Rico, and then proceeded to track up the western coast of the
state, bringing heavy rain, storm surge, and flooding to a large swath of Florida and some areas
of Georgia and South Carolina. By Monday September 11, 2017, more than 7 million U.S.
residents of Puerto Rico, Florida, Georgia and South Carolina were without power. !? In
Figure 10, panel A depicts the path of the two hurricanes and panel B the Google search intensity
during the two storms.
"9 Because our data do not cover Puerto Rico, we could not conduct a comparable analysis of Hurricane Maria,
which devastated Puerto Rico several weeks later.
21
Figure 10. Path and Timing of Hurricanes Harvey and Irma
Panel A: Paths of Hurricanes Harvey and
ae d hug 3 = v, a hy Won Sep 11
\ ‘)\ Sun Sep 10
Thu Aug 24 ®
Source. National Oceanic and Atmospheric Administration.
Irma
Storm Category
Tropical Storm
Category 1
Category 2
Category 3
Category 4
Category 5
Panel B: Hurricane Timelines and Google Search Intensity
Irma
makes landfall PR jrma
™ makes landfall FL
O
§ 80
£ Harvey
5 makes landfall TX
3 Irma)
2 40 intensifies
2
So 0
oO Harvey Harley irtha
forms intensifies forms
Harvey
makes landfall LA
Aug 21 Aug 28
Sep 04
—— Hurricane Harvey Hurricane Irma
Sep 11
Sep 18
Source. Google Trends search intensity for the terms “Hurricane Harvey” and “Hurricane Irma.”
22
Using daily, state and MSA-level indexes, we examined the pattern of activity in the days
surrounding the landfalls of Hurricanes Harvey and Irma. To quantify the size of the hurricane’s
effect, we estimated the following regression specification for each affected state:
i=14 w=Sun m=Nov
In(Spending;) = >. B, * Api + >. Oy * (Day, = w) + >. Om * (Month, = m) + T; + €
i= -7 w=Mon m=July
The state-specific hurricane effects are captured by the coefficients on the indicator
variables, H,_;, which equal one if the hurricane occurred on day t¢-i, and zero otherwise. The
regression also controls for variation in spending due to the day of week, the month of year, and
a linear time trend (T;). The coefficient {9 is thus the estimated effect on (log) spending in that
state on the day the hurricane struck.
Figure 11 illustrates the results of the regression for Hurricanes Harvey and Irma effects
on national daily retail sales group spending. For this broad category of retail spending, there is
little evidence of spending in advance of the storm. In the days following the landfall of
Hurricane Harvey, daily retail sales group was about 3 percent lower than what normally would
have occurred without a hurricane. In the case of Hurricane Irma, the disruption in spending was
larger, reducing national retail sales group spending by more than 7 percent in the day after
landfall. However, the level of spending rebounded quickly after the both hurricanes and within a
week of landfall was back to normal levels. On balance, these data suggest that little of the
reduced spending associated with Hurricanes Harvey and Irma was offset by higher spending in
the days before or just after the storms.
23
Figure 11. Effects of Hurricanes on National Retail Sales Group Spending
2.5
-2.5
°
1
-5.0
Percent Deviation from Baseline
I
-7.5 I
I
I
0 12 3 4 5 6 7 8 9 10 11 12 13 14
Days relative to storm landfall
Hurricane Harvey (TX) —@= Hurricane Irma (FL/GA/SC)
Source: First Data, authors’ calculations.
It is useful exercise to translate the daily effects on national spending to quarterly GDP
growth. To roughly gauge the direct reduction in GDP, we first sum the percentage deviation
from baseline in daily retail group spending from both hurricanes, shown in Figure 11. We then
divide this total by the 92 days in the quarter and scale the effects by the retail sales group’s
share of GDP (about 0.25). By this measure, we find that together both hurricanes reduced GDP
growth by almost 4 percentage point (annual rate) in the third quarter of 2017. The gradual
makeup, unlike the sharp drop on impact, is difficult to distinguish from the usual variability in
daily spending, so our direct estimate may overstate the negative effect of the hurricanes. In
addition, this estimate is derived only from behavior in retail sales group spending and therefore
excludes other consumption, like recreation services, or unplanned inventory accumulation or
other production disruptions, see also Bayard, Decker, and Gilbert (2017). Our spending indexes,
albeit incomplete, may still be able to capture the GDP effects better than official statistics on
retail sales. The national sampling frame of such survey measures may not measure localized
shocks well.
In addition to tracking the effects of hurricanes on national spending, our new data set
allows us to study local effects. As seen in Figure 12, in both Texas (Panel A) and Florida
(Panel B), the hurricanes brought spending in their direct path to a near halt. Daily, geographic
24
data can trace out the economic effects of the hurricanes, and specific circumstances, such as
evacuation orders, power outages, or flooding, with greater clarity than the national monthly
statistics. With these data it would also be possible to explore, possible shifts in spending to
nearby areas and other spending categories, such as sales at gasoline stations or hotel
accommodations, that are not included in the retail sales group.
Figure 12. Effects on Local Retail Sales Group Spending
Panel A: Houston and Texas Metros
50
-50
Percent Deviation from Baseline
-100
5 0 5 10 15
Days relative to storm landfall
—® Beaumont-Port Arthur, TX -®- Houston-The Woodlands-Sugar Land, TX
—® Corpus Christi, TX
Panel B: Miami and Other Florida Metros
50
-50
Percent Deviation from Baseline
-100
-5 0 5 10 15
Days relative to storm landfall
—® Cape Coral-Fort Myers, FL —-®- Miami-Fort Lauderdale-West Palm Beach, FL
—® Jacksonville, FL —® Pensacola-Ferry Pass-Brent, FL
Source: First Data, authors’ calculations.
To further unpack our results, we also estimated the same regression using more detailed
categories of spending in Hurricane Irma in Florida (Figure 13). Interestingly, responses around
25
the day of the Hurricane Irma varied noticeably among these categories. Spending at building
materials stores actually ramped up before the hurricane and rebounded afterwards, such that the
net effect for this category is positive (12 percent for the month). Spending at grocery stores also
ramped up before the hurricane but did not rebound afterwards so that the net effect was negative
(-3.5 percent for the month). By adjusting the timing of purchases, consumers smoothed out the
temporary disruption of the hurricane, with little effect on their overall groceries spending.
Figure 13. Effect of Hurricane Irma on Selected Components of Spending in Florida
Groceries Restaurants
Percent Deviation from Baseline
7
Days relative to storm landfall
Source: First Data, authors’ calculations
However, other retail categories look quite different, showing no evidence of a ramp up
in spending prior to the storm or a quick make-up in spending afterwards. In these cases, the
spending lost during the storm appears to be largely foregone, at least in the near term. For
example, our estimates indicate net reductions in spending in October due to the hurricane at
restaurants (-9.5 percent) and clothing stores (-21 percent).
One possible explanation for the lack of a quick reversal in spending is that some
purchases are tied together with time use. For example, going out to eat requires time spent at a
restaurant. If the storm makes it more difficult to spend time on such activities, then individuals
are likely to cut back on restaurant spending, and some may substitute to alternatives such as
buying groceries to eat at home. In addition, purchases that are directly tied to an experience,
26
such as an afternoon out with friends, may be foregone or postponed for some time. See also our
related discussion of Hurricane Matthew in Aladangady et al (2016).
Another potential explanation for the apparent lack of make-up spending is that some
portion of spending are “impulse purchases” that arise from a mood or temptation in the
moment.?°
If bad weather disrupts a shopping trip or damps the mood of consumers, then these
impulse purchases may never happen. Such psychological factors seem like a plausible
explanation for the lack of make-up spending in several types of purchases, like clothing.
Of course, we cannot rule out that the make-up in spending was gradual enough that the
estimated effects in the days following the storm cannot be statistically distinguished from
zero.”! Furthermore, we cannot observe whether consumers make up spending in online sales
rather than brick-and-mortar establishments. Even so, the transactions aggregates provide
suggestive evidence that temporary disruptions like hurricanes can have persistent effects on
some types of spending.
6 Conclusion
In this paper, we present our methodology for transforming transactions data from a large
payment processing company into new statistics of consumer spending. Raw payment
transaction volumes are clearly not suitable, and transforming payments data into sensible
measures required us to address a host of thorny measurement issues. The steps we took to
address these challenges can be improved upon; nevertheless, the spending series we developed
have already proven to be a timely and independent signal about the cyclical position of the
economy.
Our spending estimates at the daily frequency and at detailed geographies can be used to
examine several economic questions. In this paper, we considered the high-frequency spending
responses to Hurricanes Harvey and Irma. In other work, we used our series to study sales-tax
holidays and delays in Earned Income Tax Credit refund payments.”
20 As some examples of related research, Busse, Pope, Pope, and Silva-Risso (2015) find that weather has a
psychological effect on car purchases and Spies, Hesse, and Loesch (1997) argue that mood can influence purchases
*1 We also tested specifications that allowed for hurricane effects more than 7 days after the storm. The longer
window did not materially change the results, and estimated coefficients for 7 to 21 days after the storm were not
statistically different from zero.
2 See Aladangady et al (2016) and Aladangady et al (2018).
27
Looking ahead, we plan to refine our methodology. We would like to produce estimates for
more detailed geographies, such as counties. With a longer time series, we will also be able to
improve the seasonal adjustment of our spending series. Another significant improvement to our
current methodology would be to account for establishment births and deaths (see Appendix D).
To conclude with a broader perspective, we believe that nontraditional data can be used
successfully to produce new economic statistics. Moreover, the collaborative efforts in our
project, with researchers focusing on the economic statistics, software engineers handling the
computations with the raw data, and a private firm allowing the controlled access to its data
could be a useful model for other big data projects going forward.
28
References
Aladangady, Aditya, Shifrah Aron-Dine, Wendy Dunn, Laura Feiveson, Paul Lengermann, and
Claudia Sahm (2016). “The Effect of Hurricane Matthew on Consumer Spending,” FEDS Notes.
Washington: Board of Governors of the Federal Reserve System, December 2, 2016,
https://doi.org/10.17016/2380-7172.1888.
Aladangady, Aditya, Shifrah Aron-Dine, Wendy Dunn, Laura Feiveson, Paul Lengermann, and
Claudia Sahm (2017). "The Effect of Sales-Tax Holidays on Consumer Spending ," FEDS Notes.
Washington: Board of Governors of the Federal Reserve System, March 24, 2017,
https://doi.org/10.170162380-7172.1941.
Aladangady, Aditya, Shifrah Aron-Dine, David Cashin, Wendy Dunn, Laura Feiveson, Paul
Lengermann, Katherine Richard, and Claudia Sahm (2018). "High-frequency Spending
Responses to the Earned Income Tax Credit," FEDS Notes. Washington: Board of Governors of
the Federal Reserve System, June 21, 2018, https://doi.org/10.17016/2380-7172.2199.
Baker, Scott (2018). “Debt and the Response to Household Income Shocks: Validation and
Application of Linked Financial Account Data,” Journal of Political Economy. 126(4): 1504-
1557.
Bayard, Kimberly, Ryan Decker, and Charles Gilbert (2017). “Natural Disasters and the
Measurement of Industrial Production: Hurricane Harvey, a Case Study,” FEDS Notes.
Washington: Board of Governors of the Federal Reserve System, October 11,
2017, https://doi.org/10.17016/2380-7172.2086.
Busse, Meghan R., Devin G. Pope, Jaren C. Pope, and Jorge Silva-Risso (2015). “The
Psychological Effect of Weather on Car Purchases.” Quarterly Journal of Economics. 130(1):
371-414.
Farrell, Diana and Fiona Grieg (2015). “Weathering Volatility: Big Data on the Financial Ups
and Downs of U.S. Individuals,” JPMorgan Chase & Co. Institute, May.
First Data, First Data Retail volume aggregates, https://www.firstdata.com/en_us/home.html.
Gelman, Michael, Shachar Kariv, Matthew D. Shapiro, Daniel Silverman, and Steven Tadelis
(2014). “Harnessing naturally occurring data to measure the response of spending to income.”
Science, 345(6193): 212-215.
Greene, Claire, and Joanne Stavins (2018). “The 2017 Diary of Consumer Payment Choice,”
Federal Bank of Atlanta Research Data Reports No. 18-5.
Leamer, Edward, (2014), “Workday, holiday and calendar adjustment: Monthly aggregates from
daily diesel fuel purchases.” Journal of Economic and Social Measurement, issue 1-2, p. 1-29,
https://EconPapers.repec.org/RePEc:ris:iosjes:0005.
29
Mian, Atif, Kamalesh Rao, and Amir Sufi (2013). “Household Balance Sheets, Consumption,
and the Economic Slump,” Quarterly Journal of Economics 128(4): 1687-1726.
Spies, Kordelia, Friedrich Hesse, and Kerstin Loesch (1997). “Store Atmosphere, Mood and
Purchasing Behavior.” Jnternational Journal of Research in Marketing. 14(1): 1-17.
30
Appendix A: Mapping of MCC to NAICS for Retail Stores and Restaurants
MCC MCC Description NAICS2 NAICS3 NAICS NAICS Description
5533 Automotive Parts, Accessories Stores 44 441 441310 Automotive Parts and Accessories Stores
5531 Automobile Supply Stores 44 441 441310 Automotive Parts and Accessories Stores
5996 Swimming Pools: Sales, Service, and Supplies 45 45 45 #N/A
5997 Electric Razor Stores: Sales and Service 45 45 45 #N/A
5998 Tent and Awning Shops 45 45 45 #N/A
5940 Bicycle Shops: Sales and Service 45 451 451110 Sporting Goods Stores
5941 Sporting Goods Stores 45 451 451110 Sporting Goods Stores
5970 Artist's Supply and Craft Shops 45 451 451120 Hobby, Toy, and Game Stores
5945 Hobby, Toy, and Game Shops 45 451 451120 Hobby, Toy, and Game Stores
Sewing, Needle, Fabric, and Price Goods
5949 Stores 45 451 451130 Sewing, Needlework, and Piece Goods Stores
Music Stores, Musical Instruments, Piano
5733 Sheet Music 45 451 451140 Musical Instrument and Supplies Stores
5942 Book Stores 45 451 451211 Book Stores
5994 News Dealers and Newsstands 45 451 451212 News Dealers and Newsstands
5735 Record Shops 45 451 451220 #N/A
10 #N/A 45 452 452111 Department Stores (except Discount Stores)
5311 Department Stores 45 452 452111 Department Stores (except Discount Stores)
5310 Discount Stores 45 452 452112 Discount Department Stores
5300 Wholesale Clubs 45 452 452910 Warehouse Clubs and Supercenters
5331 Variety Stores 45 452 452990 All Other General Merchandise Stores
5399 Misc. General Merchandise 45 452 452990 __ All Other General Merchandise Stores
5992 Florists 45 453 453110 ‘Florists
5978 Typewriter Stores: Sales, Rental, Service 45 453 453210 Office Supplies and Stationery Stores
Stationery Stores, Office and School Supply
5943 Stores 45 453 453210 Office Supplies and Stationery Stores
5947 Card Shops, Gift, Novelty, and Souvenir Shops 45 453 453220 _ Gift, Novelty, and Souvenir Stores
5932 Antique Shops 45 453 453310 Used Merchandise Stores
5931 Used Merchandise and Secondhand Stores 45 453 453310 Used Merchandise Stores
5937 Antique Reproductions 45 453 453310 Used Merchandise Stores
5995 Pet Shops, Pet Foods, and Supplies Stores 45 453 453910 Pet and Pet Supplies Stores
5971 Art Dealers and Galleries 45 453 453920 = Art Dealers
9 #N/A 45 453 453930 Manufactured (Mobile) Home Dealers
5271 Mobile Home Dealers 45 453 453930 Manufactured (Mobile) Home Dealers
5993 Cigar Stores and Stands 45 453 453991 Tobacco Stores
Stamp and Coin Stores: Philatelic and
5972 Numismatic Supplies 45 453 453998 All Other Miscellaneous Store Retailers
5974 #N/A 45 453 453998 All Other Miscellaneous Store Retailers
5973 Religious Goods Stores 45 453 453998 All Other Miscellaneous Store Retailers
5999 Miscellaneous and Specialty Retail Stores 45 453 453998 _ All Other Miscellaneous Store Retailers
(continued)
Source: Staff at the Census Bureau and the Bureau of Economic Analysis developed this mapping from MCC to
NAICs. Other MCC/NAICs outside of retail stores and restaurants not shown here.
31
Appendix A - continued: Mapping of MCC to NAICS for Retail Stores and Restaurants
(continued)
MCC MCC Description NAICS2 NAICS3 NAICS — NAICS Description
Mail Order Houses Including Catalog Order
5961 Stores, Book/Record Clubs 45 454 454113 Mail-Order Houses
Fuel: Fuel Oil, Wood, Coal, Liquefied
5983 Petroleum 45 454 454311 #N/A
5960 Direct Marketing- Insurance Service 45 454 454390 Other Direct Selling Establishments
Direct Marketing: Travel Related
5962 Arrangements Services 45 454 454390 Other Direct Selling Establishments
Direct Marketing: Inbound Teleservices
5967 Merchant 45 454 454390 Other Direct Selling Establishments
5969 Direct Marketing: Not Elsewhere Classified 45 454 454390 Other Direct Selling Establishments
5422 Meat Provisioners: Freezer and Locker 45 454 454390 Other Direct Selling Establishments
5963 Door-to-Door Sales 45 454 454390 Other Direct Selling Establishments
4815 VisaPhone 45 454 454390 Other Direct Selling Establishments
Direct Marketing- Outbound Telemarketing
5966 Merchant 45 454 454390 Other Direct Selling Establishments
5964 Direct Marketing: Catalog Merchant 45 454 454390 Other Direct Selling Establishments
Direct Marketing: Catalog and Catalog and
5965 Retail Merchant 45 454 454390 Other Direct Selling Establishments
Direct Marketing: Continuity/Subscription
5968 Merchant 45 454 454390 Other Direct Selling Establishments
5812 Eating places and Restaurants 72 722 722110 #N/A
5814 Fast Food Restaurants 72 722 722211 =#N/A
5811 Caterers 72 722 722320 Caterers
Drinking Places (Alcoholic Beverages), Bars,
Taverns, Cocktail lounges, Nightclubs and
5813 Discotheques 72 722 722410 Drinking Places (Alcoholic Beverages)
Source: Staff at the Census Bureau and the Bureau of Economic Analysis developed this mapping from MCC to
NAICs. Other MCC/NAICs outside of retail stores and restaurants not shown here.
32
Appendix B: Adjustments to the First and Last Month of the Constant-Merchant Sample
Before we combine information from the overlapping 14-month merchant samples, we
need to correct for a bias at the beginning and end of the samples. For each month in the dataset
(excepting the first 13 months and the most recent 13 months), there are exactly fourteen 14-
month samples that have a sales estimate for that month, and thirteen 14-month samples that
have a monthly sales growth estimate for that month (which requires that months ¢ and ¢-/ be in
the sample). Although the monthly level of sales in each sample is highly dependent on the
merchant births, deaths, and business acquisitions between overlapping 14-month merchant
samples, we find that the estimates of monthly growth in different samples are, on average,
similar, with two notable exceptions: The first monthly growth estimate from a 14-month
merchant sample is biased upwards, and the last monthly growth estimate is biased downwards.
To make things more explicit, call Cn *J the estimate of monthly growth in time ¢ that comes from
the 14-month sample ending in month f+/. For each month f, we construct the average growth
rate, g, using all 14-month samples that include an estimate of the growth rate in ¢:
12
It = =) g t 4
13 f=
Next, we calculate the deviation of the growth estimate ¢ from a merchant sample t+/ relative to
the average across all samples:
deviation from mean (j,t) = go, — 4%
In Figure B1, we plot the distribution of deviations in all calendar months in the dataset, based
on where growth estimate the falls in the merchant sample window (the index /).7?_ The upward
bias at the beginning of the 14-month sample—i.e. the growth rate at time ¢ for the sample which
runs from ¢-/ through t+ /2—comes from a “birthing” bias due to firms that were just born and
who are therefore ramping up sales. Equivalently, the downward bias at the end of a sample—the
growth rate in which runs from ¢-/3 through t—are from the fact that firms that are about to die
(say in time ¢+1, just after the sample ends) tend to have falling sales.
3 Figure B1 shows the results for the national retail sales group, although the picture is similar for other NAICS
codes and geographies.
33
Figure B1. Deviation from Mean Growth in Each Month of the 14-Month Sample
2
YYYYY
Deviation from Mean Growth Rate
of All Samples
12 1] 10 9 8 7 6 5 4 , 2 | 0
Position of 14-mo Window Relative to Growth Estimate (j)
Source: First Data
To address this issue, we apply a simple correction model to fix the first and last month’s
estimate based on the mean growth rates from other sample estimation windows. Assuming that
the size of the bias varies by month of the year (m), we estimate a separate correction factor Be
for each month of the year, for both the 14-month sample ending in t+12 (j=12), and the sample
ending in t¢ (j=0), as:
t+
= Bh goer J + Et
The Be, applies a correction that results in adjusting up the growth estimates from the end of a
14-month sample, and adjusting down the growth estimate from the beginning of a 14-month
sample. We run these regressions separately for every NAICS code and geography.
To apply this fix to the daily values within the first and last month, we assume that the
magnitude of the last-month bias increases and the first-month bias decreases over the course of
the month. If A is defined as the dollar value of the adjustment for a particular month’s estimate,
the daily dollar adjustment amount for day d in a month of length D is:
2Ad
D2+D
34
This correction is particularly important to achieve unbiased readings of spending for the most
recent months of the data output. The index that covers recent months will necessarily only
depend on the 14-month samples that end with those months (since the subsequent 14-months
samples do not yet exist), their growth rates would be severely biased downward without this
correction.
Appendix C: Decomposing Monthly Growth Rates of the Series into a Weighted Average of
the Monthly Growth Rates from the Contributing 14-Month Samples
Given the daily series, x;,, the monthly growth rates for the months in the middle of our sample
can be derived as shown in the equation below:
t+j
Define al to be the total sales in a 14-month sample j in month t, such that al = Niet a’.
Furthermore, as in the previous section, define g{** to be the average monthly growth in time ¢
t+k
within the 14-month series ending in t+k for k>0, such that gf** = Parraed — 1. For k=-/, we
t+13
= fst — 1, which is the monthly growth rate achieved from using the
define g{-
normalized monthly value for month ¢ from the 14-month sample ending in time ¢+/3 and the
normalized monthly value for month ¢-/ from the 14-month sample ending in time ¢-1. We can
then rearrange the above equation to show the monthly growth rate of our series is a weighted
average of these monthly growth rates:
4 For the 13 months at the beginning of our index and the 13 months at the end of our index, this equation will be
slightly modified to account for the fact that there are fewer than 14 14-month samples that cover those months. The
modified growth equations for these months can still be written as a weighted average of the growth estimates from
the available 14-month estimates. Most notably, the growth rate for the last month of the series can be written as the
t t-1
Fatal rt Fat pa? where gf is the growth rate
between the last two months of the 14-month sample ending in t, and gg" is the growth rate between the
normalized sales in month t of the 14-month sample ending in t, and the sales in month t-1 from the 14-month
sample ending in t-1.
average of two growth rates: g, = gf *
35
t+k-1
= *
It It t+j—1
The equation above is instructive as it shows us that the monthly growth rates derived from our
daily index can be naturally interpreted as a weighted average of monthly growth rates for each
constant merchant sample that contains those months (in addition to one final “faux” monthly
growth rate using the first and last 14-month samples that contain those months).
Appendix D. Mathematical Derivation of Birth and Death Bias
The main disadvantage of the constant merchant methodology described above is that we
cannot capture true births and deaths. To show the bias that may result, we introduce some
notation. In a given month t let x; be the total consumer spending in that month so that the true
monthly growth rate of consumer spending is simply:
Xt
It = Xia —1
Some set of firms transact in both period t and t — 1 and we can call the spending at these firms
in time ¢, s; (where the minus denotes that these are the firms that existed in both that period and
the previous one, so t and t-1) and, in time t-/, s;_; (where the plus denotes the firms that existed
in both that period and the following one, so t-1 and t). The growth rate of spending for
merchants who transact in both periods, what we will refer to as “constant merchant” growth, is
simply:
~ _ St
It = sty —1
However we know that in every period new establishments are born and we assume that they
make up some fraction b, of the sales in the previous period so that their total sales in the current
period t are b,.x;_,. Similarly some fraction, d;, of total sales are by firms that die at the end of
the period such that total sales in period t — 1 can be expressed as:
Xt-1
And sales in period t can be written as:
36
+
St-1
(1 — dy_1)
Assuming that births and deaths are a small fraction of the total spending in our sample we
derive an approximate expression for total growth:
In simplifying this equation, we see that growth is approximately equal to “constant merchant”
growth plus the rate of births minus the rate of deaths.
St
It = (a —d,4) +h ) —1
The constant merchant methodology described in the previous sections yields an estimate of g;,
using the constant merchants within the First Data platform. Thus, if we assume that the First
Data merchant sample is close to representative, we see that “true” growth is approximately
equal to the growth rate derived from the First Data, gf”, plus the true birth rate minus the true
death rate.
Thus, the cost of the constant merchant methodology is that we are necessarily missing true
births and deaths, but as long as they are small and/or roughly offsetting, the constant merchant
growth rate would do well at approximating total growth. One particular concern is that shifts in
b-d may occur at turning points.
37
File and source
- File
- aladangady-2019-from-transactions-data-to-economic-statistics-constructing-real-time-high.pdf
- Size
- 1,503,015 bytes
- SHA-256
- f8c2d255f87f798da32058a16fcd54eee3ceb2c60095113ee1f6f36148928d9e
- Our copy
- aladangady-2019-from-transactions-data-to-economic-statistics-constructing-real-time-high.pdf
- Original
- doi.org