Thursday, April 18, 2019

When US Market Access is No Longer a Trump Card

When the US economy was a larger share of the world economy, then access to the US market meant more. For example, World Bank statistics say that the US economy was 40% of the entire world economy in 1960, but is now about 24%. The main source of growth in the world economy for the foreseeable future will be in emerging markets.

For a sense of the shift, consider this figure from chapter 4 of the most recent World Economic Outlook report, published by the IMF (April 2019). The lines in the figure show the trade flows between countries that are at least 1% of total world GDP. The size of the dots for each country is proportionate to the country's GDP.

In 1995, you can see international trade revolving around the United States, with another hub of trade happening in Europe and a third hub focused around Japan.  Trade between the US and China shows up on the figure, but China did not have trade flows greater than 1% of world GDP with any country other than the US.

The picture is rather different in 2015. The US remains an international hub for trade. Germany remains a hub as well, although fewer of its trade flows now exceed 1% of world GDP. And China has clearly become a hub of central importance in Asia.

The patterns of trade have also shifted toward greater use of global value chains--that is, intermediate products that are shipped across national borders at least once, and often multiple times, before they become final products. Here's the overall pattern since 1995 of falling tariffs and rising participation in global value chains for the world economy as a whole.

Several decades ago, emerging markets around the world worried about having access to selling in US and European markets, and this market access could be used by the US and European nations as a bargaining chip in economic treaties and more broadly in international relations. Looking ahead, US production is now more tied into global value chains, and the long-term growth of US manufacturing is going to rely more heavily on sales to markets outside the United States.

For example, if one is concerned about the future of the US car industry, the US now produces about 7% of the world's cars in 2015, and about 22% of the world's trucks. The future growth of car consumption is going to be primarily outside the US economy. For the health and long-term growth of the US car business, the possibility of unfair imports into the US economy matters a lot less than the access of US car producers to selling in the rest of the world economy.

The interconnectedness of global value chains means that General Motors already produces more cars in China than it does in the United States. In fact, sales of US multinationals now producing in China are already twice as high as exports from the US to China. Again, the long-term health of many US manufacturers is going to be based on their ability to participate in international value chains and in overseas production.

Although what caught my eye in this chapter of the World Economic Outlook report was the shifting patterns of world trade, the main emphases of the chapter are on other themes that will come as no surprise to faithful readers of this blog.  One main theme is that shifts in bilateral and overall trade deficits are the result of macroeconomic factors, not the outcome of trade negotiations, a theme I've harped on here (for example, here, here, and here).

The IMF report also offers calculations that higher tariffs between the US and China will cause economic losses for both sides. From the IMF report:
US–China trade, which falls by 25–30 percent in the short term (GIMF) and somewhere between 30 percent and 70 percent over the long term, depending on the
model and the direction of trade. The decrease in external demand leads to a decline in total exports and in GDP in both countries. Annual real GDP losses range from –0.3 percent to –0.6 percent for the United States and from –0.5 percent to –1.5 percent for China ... Finally, although the US–China bilateral trade deficit is reduced, there is no economically significant change in each country’s multilateral trade balance.
Some advocates of higher tariffs take comfort in noting that the estimated losses to China's economy are bigger than the losses to the US economy.  Yes, but it's losses all around! As the 21st century economy evolves, the most important issues for US producers are going to involve their ability to
compete in unfettered ways in the increasingly important markets outside the US.

Tuesday, April 16, 2019

The Utterly Predictable Problem of Long-Run US Budget Deficits

For anyone who can do arithmetic, it did not come as a surprise that the "baby boom generation," born from 1946 up through the early 1960s, started turning 65 in 2010. Here's the pattern over time of the "Daily Average Number of People Turning 65." The jump of the boomer generation is marked.

Because two major federal spending programs are focused on older Americans--Social Security and Medicare--it has been utterly predictable for several decades that the long-run federal budget situation would come under strain at about this time. That figure comes from a report by the US Government Accountability Office, "The Nation’s Fiscal Health Action Is Needed to Address the Federal Government’s Fiscal Future" (April 2019).

Here's a breakdown of the GAO predictions on federal spending for the next 30 years. The "all else" category bumps up about 0.6% of GDP during this time, and normal politics could deal with that easily enough. Social Security spending is slated to bump up about 1% of GDP, which is a bigger problem. Still, some mixture of limits on benefits (like a later retirement age) and a modest bump in the payroll tax rate could deal address this. Indeed, it seems to me an indictment of the US political class, from both parties, that no forward-looking politician has built a movement around steps to "save Social Security."
But the projected rise in government health care spending of 3.2% of GDP is a challenge that no one seems to know how to fix. It's a combination of the rising share of older people, and in particular the rising share of the very-old who are more likely to face needs for nursing home and Alzheimer's care, combined with an overall trend toward higher per person spending on health care. As I've noted before, every dollar of government health care spending represents both care for a patient and income for a provider, and both groups will fight hard against cutbacks.

Meanwhile, this rise in spending, coupled with the assumption that tax revenues remain on their current trajectory, means higher government deficits and borrowing. Over time, this also means higher government interest payments. So if we lack the ability to control the rise in deficits, interest payments soar. In 2018, about 7.9% of federal spending is interest payments on past borrowing. By 2048, on these projections, about 22% of all federal spending will be interest payments on past debt. Of course, this also means that finding ways to reduce the deficit with spending and tax changes also has the benefit that it avoids this soaring rise in interest payments.

As a side note, I thought a figure in the GAO report showing who holds US debt was interesting.  The report notes:
Domestic investors—consisting of domestic private investors, the Federal Reserve, and state and local governments—accounted for about 60 percent of federal debt held by the public as of June 2018, while international investors accounted for the remaining 40 percent. International investors include both private investors and foreign official institutions, such as central banks and national government-owned investment funds. Central banks hold foreign currency reserves to maintain exchange rates or to facilitate trade. Therefore, demand for foreign currency reserves can affect overall demand for U.S. Treasury securities. An economy open to international investment, such as the United States, can essentially borrow the surplus of savings of other countries to finance more investment than U.S. national saving would permit. The flow of foreign capital into the United States has gone into a variety of assets, including Treasury securities, corporate securities, and direct investment.

The arguments for restraint on federal borrowing are fairly well-known. There's the issue that too much debt means less ability to respond to a future recession, or some other crisis. There's an issue that high levels of federal borrowing soak up investment capital that might have been used more productively elsewhere in the economy. There's a concern that federal borrowing is financing a fundamental shift in the nature of the federal government: it used to be that most of government spending was about making investments in the future--infrastructure, research and development, education, and so on--but over the decades it has become more and more about cutting checks for immediate consumption in spending programs.

But at the moment, I won't argue for this case in any detail, or offer a list of policy options. Those who want to come to grips with the arguments should look at William Gale's just-published book, Fiscal Therapy: Curing America's Debt Addiction and Investing in the Future,  For an overview of Gale's thinking, a useful starting point is the essay "Fiscal therapy: 12 framing facts and what they mean" (Brookings Instution, April 3, 2019).

Of course, I personally like some of Gale's proposals better than others. But overall, what I really like is that he takes the issue of rising government debt in the long-run seriously, and takes the responsibility of offering policy advice seriously. He doesn't wave his hands and assume that faster economic growth will bring in additional waves of tax revenue; or that "taxing the rich" is a magic elixir; or that the proportion of older people who are working will spike upward; or that we can ignore the deficit for five or ten or 15 years before taking some steps; or that government spending restraint needs nothing more than avoiding duplication, waste, and fraud. He uses mainstream estimates and makes concrete suggestions. For an outside analysis of his recommendations, John Ricco, Rich Prisinzano, and Sophie Shin run his proposals through the Penn Wharton Budget Model in "Analysis of Fiscal Therapy: Conventional and Dynamic Estimates (April 9, 2019).

As a reminder, here's the pattern of US debt as a share of GDP since 1790. Through most of US history, the jumps in federal debt in the past are about wars: the Revolutionary War, the Civil War, World Wars I and II. There's also a jump in the 1930s as part of fighting the Great Depression, and the more recent jump which was part of fighting the Great Recession.
But the aging of the US population and rising health care spending are going to take federal spending and deficits to new (peacetime) levels. On the present path, we will surpass the previous high of federal debt at 106% of GDP in about 15-20 years. It would b imprudent to wait and see what happens.

Monday, April 15, 2019

US Attitudes Toward Federal Taxes: A Rising Share of "About Right"

The Gallup Poll has been asking Americans since the 1950s whether they think that the income tax they pay is "too high" or "about right." The figure shows the responses over time including the 2019 poll, taken in early April. (The "don't know" and the "too low" answers are both quite small, and are not shown on the figure.)
Line graph. Americans̢۪ opinions of the federal income tax they pay, since 1956.
What's interesting to me here is that from the late 1960s up through the 1990s, a healthy majority of Americans consistently viewed their income taxes as too high. But since around 2000, the gap has been much narrower. Indeed, the share of Americans saying that their income taxes are "about right" has been at its highest historical level in 2018 and 2019.

In more detailed questions, the Gallup poll also asks different income groups, and whether they are paying too much, a fair amount, or too little. Unsurprisingly, the general sentiment is that those with upper income levels could pay more. But there are some patterns I wouldn't necessarily have expected in the results, as well. Here are the results for what people think about what upper-income people are paying in federal taxes (for readability, I omitted the 2-4% in the "don't know" column):
What jumps out at me is that the proportion saying that upper-income people are paying a fair share of federal taxes was at its highest ever in 2019, while the share saying that upper-income people are paying "too little" was at its lowest ever. Yes, there's still a majority saying that upper-income people are paying "too little." But it's a shrinking majority. Given trends toward greater inequality of incomes over the 25 years shown in the table, I wouldn't have expected that pattern.

Here's the pattern for federal taxes paid by middle-income people:
Here, you can see the pattern from the figure above: that is, the share saying that middle-income people pay too much is falling, while the share saying that they pay their fair share seems to have risen over time.

For the share paid by lower-income people, the pattern looks like this:
Overall, the most common answer is that lower-income people pay "too much" in federal taxes. But it's interesting that the share saying that lower income people pay "too little" is higher than the share saying that middle-income people pay "too little." The share saying that lower-income people pay "too little" in federal taxes was especially high in 2014 and 2015, although it's dropped off a little since then,

Of course, questions about whether a tax code is fair are going to be influenced by political partisanship. For example, here are some poll responses from the Pew Research Center. Their polling shows that the share of American thinking the federal tax system is very or moderately fair rose overall slightly in the last year overall. However, this modest overall rise is a result of Republicans being much more willing to say the tax system is fair than at any time in the last 20 years, and Democrats being much less willing to say so.
Widest partisan gap in views of fairness of tax system in at least two decades

As I've pointed out in the past, poll responses on economic questions like whether free trade offers benefits are also influenced dramatically by political preferences. During the past couple of years, as President Trump has inveighed against international trade and called for protectionism, Democrats have suddenly become much more positive about trade. One suspects that this pattern emerged more from anti-Trump feeling than from increased time spent reading economics textbooks.

Still, it's interesting to me that a plurality of American now see the federal income tax as "about right," while the proportion saying that upper-incomes pay too little is down, the proportion saying that middle-incomes pay a fair share is up, and the proportion saying that lower incomes pay too little has risen. Perhaps politicians who call for cutting taxes, or for dramatic tax increases, are refighting battles from the 1990s that are of less relevance to current voters.

Saturday, April 13, 2019

The Captain Swing Riots; Workers and Threshing Machines in the 1830s

"Between the summer of 1830 and the summer of 1832, riots swept through the English countryside. Over no more than two years, 3,000 riots broke out – by far the largest case of popular unrest in England since 1700. During the riots, rural laborers burned down farmhouses, expelled overseers of the poor and sent threatening letters to landlords and farmers signed by the mythical character known as Captain Swing. Most of all, workers attacked and destroyed threshing machines."

 Bruno Caprettini and  Joachim Voth provide a readable overview of their research on the riots in "Rage against the machines New technology and violent unrest in industrializing England," written as a Policy Brief for the UBS International Center of Economics in Society (2018, #2). They write:
"Threshing machines were used to thresh grain, especially wheat. Until the end of the 1700s, threshing grain was done manually and it was the principal form of employment in the countryside during the winter months. Starting from the Napoleonic Wars (1803-1815), threshing machines spread across England, replacing workers. Horse-driven or water-powered threshers could finish in a matter of weeks a task that would have normally kept workers busy for months. Their use arguably depressed the wages of rural workers." 
Here's a figure showing locations of the Captain Swing riots: 

The authors collect evidence about where threshing machines were being adopted based on newspaper advertisements for the sale of farms--which listed threshing machines at the farm as well as other property included with the sale. They show a correlation between the presence of more threshing machines and rioting. But as always, correlation doesn't necessarily  mean causation. For example, perhaps areas where local workers were already more rebellious and uncooperative were more likely to adopt threshing machines, and the riots that followed only show why local farmers didn't want to deal with their local workers. 

Thus, the authors also collect evidence on what areas were especially good soil for wheat, which makes using a thresher more likely, and what areas had water-power available to run threshers. it turns out that these areas are also where the threshers were more likely to be adopted. So a more plausible explanation seems to be that the new technology was adopted where it was most likely to be effective, not because of pre-existing local stroppiness. 

The Captain Swing riots are thus one more example, an especially vivid one, that new technologies which cause a lot of people to lose a way of earning income can be highly disruptive. The authors write: "The results suggest that in one of the most dramatic cases of labor unrest in recent history, labor-saving technology played a key role. While the past may not be an accurate guide to future upheavals, evidence from the days of Captain Swing serve as a reminder of how disruptive new, labor-saving technologies can be in economic, social and political terms."

Friday, April 12, 2019

Building Worker Skills in a Time of Rapid Technological Change

 I'm congenitally suspicious of "this time is different" arguments, which often seem very quick to toss out historical experience for the sake of a lively narrative. So when I find myself in discussions of  whether the present wave of technological change is unprecedented or unique, I often end up making the argument that while the new technologies are obviously different in their specifics from older technologies, the fact of technology leading to very dramatic disruptions of labor markets is not at all new. To me, the more interesting questions are question how the economy, government, and society react to that ongoing pattern of technological change.

Conor  McKay, Ethan Pollack, and Alastair Fitzpayne offer a useful broad overview of these issues in "Automation and a Changing Economy," a two-part report written for the Aspen Institute Future of Work Initiative (April 2019). The first volume focuses on the theme "A Case for Action," with background on how technological change and automation has affected labor markets over time, while the second volume is "Polices for Shared Prosperity," with a list of policy options.

It may turn out to be true that the current wave of technological innovation is uniquely different in some ways. (It's very hard to disprove that something might happen!)  But it's worth taking a moment to acknowledge that technologies of the past severely disrupted the US labor market, too. For example, here's a figure showing shifts in the pattern of US jobs over time: the dramatic rise in white-collar jobs, with falls in other areas.

And of course if one goes beyond broad skill categories and looks in more detail at jobs, the necessary skill mix has been changing quite substantially as well. Remember that in the 1970s, word-processing was mostly on typewriters; in the 1980s, written communications involves mail, photocopying, and sometimes fax machines; in the 1990s, no one carried a smartphone. It's not just changes in information technologies and the web, either. Workers across manufacturing and services jobs have had to learn how to use new generations of  physical equipment as well.

Of course, we can noodle back and forth over how new technologies might have bigger effects on labor markets. The report has some discussion of these issues, and dinner parties for economists have been built on less. But the lesson I'd take away, to quote from the report, is: "Automation need not be any more disruptive in the future than it has been in the past to warrant increased policy intervention."

One key issue in navigating technological change is how workers can obtain the skills that employers want. And here a problem emerges, which is that although employers were a primary source of such training in the past, they have backed away from this role. The report notes (footnotes omitted):
Employers traditionally have been the largest source of funding for workforce training, but businesses are training fewer workers than in the past. From 1996 to 2008, the percentage of workers receiving employer-sponsored or on-the-job training fell 42 percent and 36 percent, respectively. This decline was widespread across industries, occupations, and demographic groups. ...  More recent data on employer-provided training has been mixed. Data from the Society for Human Resource Management suggests that employer-provided tuition assistance has been falling in recent years, from 66 percent of surveyed businesses offering tuition assistance benefits in 2008 down to 53 percent in 2017. Meanwhile, data from the Association for Training & Development suggests that employer training investments have been roughly flat over the last decade. ...
[A]s unions have lost power and membership, ... businesses have had a freer hand to hire already trained external candidates, often leading to fewer within-firm career pathways and  higher turnover. ...
Public sector investment has declined, too. For example, WIOA Title I state grants, which fund the core of the federal workforce development system, have been cut by over 40 percent since 2001. The program is currently underfunded by $367 million relative to its authorized levels. Government spending on training and other programs  to help workers navigate job transitions is now just 0.1 percent of GDP, lower than all other OECD countries except for Mexico and Chile, and less than half of what it was 30 years ago.
Why have employers backed away from providing training? The report notes:
Without intervention, business investment in workers may continue to decline. In a recent Accenture survey of 1,200 CEOs and other top executives, 74 percent said that  they plan to use artificial intelligence to automate tasks in their workplace over the next three years. Yet only three percent reported planning to significantly increase investments in training over the same time period.
In part, the decline in employer-provided training can be explained by changes in the employer-employee relationship over the past forty years. ... If businesses plan to retain employees over a long period, they will benefit more directly from their training investments. But as relationships between workers and businesses become less stable and short-term, businesses have a difficult time capturing the return on their training investments. The result is less investment in training even as the workforce requires greater access to skills training.
Recent legislation could accelerate this trend. Businesses often have to choose between using workers or machines to accomplish a task. The 2017 Tax Cuts and Jobs Act allows businesses to immediately expense the full cost of equipment purchases—including automation technology—rather than deduct the cost of the equipment over a period of time. By reducing the after-tax cost of investing in physical capital but not providing a similar benefit for investments in human capital, the legislation may further shift business priorities away from worker training.
There are a number of ways one might seek to rebuild connections between employers and job training. The report suggests an employer tax break for spending money on employee training, similar to the tax break now given for investing in research and development. A complementary approach would be to build through a dramatic expansion of the community college system, which has the advantage that it can train workers for an multiple-employer industry that is locally prominent. Yet another approach is a considerable expansion of apprenticeships. Yet another approach would be much greater support for "active labor market policies," that assist workers with job search and training. 

A lot of the concern over adapting to technological change, and whether the economy is providing "good jobs" or devolving toward alternative "gig jobs," seems to me rooted in concerns about the kind of attachment that exists between workers and employers.  It relates to the extent that workers feel engaged with their jobs, and to whether the worker and employer both have a plausible expectation that the job relationship is likely to persist for a time--allowing both of them to invest in acquiring skills with the possibility (or likelihood?) of a lasting connection in mind. 

Ultimately, it will matter whether employers view their employees as imperfect robots, always on the verge of being  replaced when the better robots eventually arrive, of whether they view their employees as worthy of investment in themselves. It's the difference between automation replacing workers, or complementing them. 

Wednesday, April 10, 2019

Interview with Preston McAfee: Economists and Tech Companies

David A. Price interviews R. Preston McAfee in the most recent issue of Econ Focus from the Federal Reserve Bank of Richmond (Fourth Quarter 2018, pp. 18-23). From the introduction to the interview:
"Following a quarter-century career in academia at the California Institute of Technology, the University of Texas, and other universities, McAfee was among the first economists to move from academia to a major technology firm when he joined Yahoo in 2007 as chief economist. Many of the younger economists he recruited to Yahoo are now prominent in the technology sector. He moved to Google in 2012 as director of strategic technologies; in 2014, he joined Microsoft, where he served as chief economist until last year. McAfee combined his leadership roles in the industry with continued research, including on the economics of pricing, auctions, antitrust, and digital advertising. He is also an inventor or co-inventor on 11 patents in such wide-ranging areas as search engine advertising, automatically organizing collections of digital photographs, and adding user-defined gestures to mobile devices. While McAfee was still a professor in the 1990s, he and two Stanford University economists, Paul Milgrom and Robert Wilson, designed the first Federal Communications Commission auctions of spectrum."
Here are some comments from the interview that especially caught my eye--although the whole interview is worth reading:

On the antitrust and competition issues with the FAANG companies: 
Of course, a lot of the discussion today is focused on FAANG — Facebook, Apple, Amazon, Netflix, and Google. ... First, let's be clear about what Facebook and Google monopolize: digital advertising. The accurate phrase is "exercise market power," rather than monopolize, but life is short. Both companies give away their consumer product; the product they sell is advertising. While digital advertising is probably a market for antitrust purposes, it is not in the top 10 social issues we face and possibly not in the top thousand. Indeed, insofar as advertising is bad for consumers, monopolization, by increasing the price of advertising, does a social good. 
Amazon is in several businesses. In retail, Walmart's revenue is still twice Amazon's. In cloud services, Amazon invented the market and faces stiff competition from Microsoft and Google and some competition from others. In streaming video, they face competition from Netflix, Hulu, and the verticals like Disney and CBS. Moreover, there is a lot of great content being created; I conclude that Netflix's and Amazon's entry into content creation has been fantastic for the consumer. ...
That leaves Apple, and the two places where I think we have a serious tech antitrust problem. We have become dependent on our phones, and Apple does a lot of things to lock in its users. The iMessage program and FaceTime are designed to force people into the Apple ecosystem. Also, Apple's app store is wielded strategically to lock in users (apps aren't portable), to prevent competition with Apple services, and to prevent apps that would facilitate a move to Android. My concern is that phones, on which we are incredibly dependent, are dominated by two firms that don't compete very strongly. While Android is clearly much more open than Apple, and has competing handset suppliers, consumers face switching costs that render them effectively monopolized. ...
The second place I'm worried about significant monopolization is Internet service. In many places, broadband service is effectively monopolized. For instance, I have only one company that can deliver what anyone would reasonably describe as broadband to my house. The FCC says I have two, but one of these companies does not actually come to my street. I'm worried about that because I think broadband is a utility. You can't be an informed voter, you can't shop online, and you probably can't get through high school without decent Internet service today. So that's become a utility in the same way that electricity was in the 1950s. Our response to electricity was we either did municipal electricity or we did regulation of private provision. Either one of those works. That's what we need to do for broadband.
Using "double machine-learning" to separate seasonal and  price effects
Like most computer firms, Microsoft runs sales on its Surface computers during back-to-school and the December holidays, which are also the periods when demand is highest. As a result, it is challenging to disentangle the effects of the price change from the seasonal change since the two are so closely correlated. My team at Microsoft developed and continues to use a technology to do exactly that and it works well. This technology is called "double ML," double machine learning, meaning it uses machine learning not once but twice.
This technique was originally created by some academic economists. Of course, as with everything that's created by academic economists, including me, when you go to apply it, it doesn't quite work. It almost works, but it doesn't quite work, so you have to change it to suit the circumstances.
What we do is first we build a model of ourselves, of how we set our prices. So our first model is going to not predict demand; it's just going to predict what decision-makers were doing in the past. It incorporates everything we know: prices of competing products, news stories, and lots of other data. That's the first ML. We're not predicting what demand or sales will look like, we're just modeling how we behaved in the past. Then we look at deviations between what happened in the market and what the model says we would have done. For instance, if it predicted we would charge $1,110, but we actually charged $1,000, that $110 difference is an experiment. Those instances are like controlled experiments, and we use them in the second process of machine learning to predict the actual demand. In practice, this has worked astoundingly well.
On the power of AI
AI is going to create lots of opportunities for firms in every industry. By AI, I mean machine learning, usually machine learning that has access to large volumes of data, which enables it to be very clever. 
We're going to see changes everywhere: from L'Oréal giving teenagers advice about what makeup works best for them to airplane design to logistics, everywhere you look within the economy.
Take agriculture. With AI, you can start spot-treating farms for insect infestation if you can detect insect infestations, rather than what we do today, which is spread the treatment broadly. With that ability to finely target, you may be able to reduce pesticides to 1 percent of what you're currently using, yet still make them more effective than they are today and have them not deteriorate so rapidly in terms of the bugs evolving around them.
For a recent article about "Economists (and Economics) in Tech Companies," interested readers may want to check the article by Athey, Susan, and Michael Luca in the Winter 2019 issue of the Journal of Economic Perspectives (33:1, pp. 209-30).

Tuesday, April 9, 2019

Snapshots of Trade Imbalances: US in Global Context

A substantial amount of the discussion of international trade issues starts from the premise that the United States has huge trade deficits and China has huge trade surpluses. But what if only half of that premise is true? Here are a couple of tables on trade balances that I've clipped out of the IMF's World Economic Outlook for April 2019. One shows national trade deficits and surpluses in dollars; the other shows them as a share of the nation's GDP. Of course, the 2019 figures are projections.

The US trade deficit is large, both in absolute dollars (-$469 billion in 2018) and as a share of GDP (-2.3% of GDP). Indeed, the imposition of tariffs by the Trump administration in 2018 is projected to be followed by a larger US trade deficit in 2019--which would tend to confirm the standard lesson that trade deficits and surpluses result from underlying macroeconomic patterns of  domestic consumption, saving, and investment, not from trade agreements.

But China's trade surplus is not especially large, at about $49 billion in 2018, which is 0.4% of China's GDP. Indeed the IMF is projecting that China's small trade surpluses will turn into trade deficits by 2024. As China's population ages, it has been shifting toward becoming a higher-consumption society, and its trade surpluses have fallen accordingly.

What other countries have large trade deficits, like the US? And if it's not China, what countries have the large trade surpluses?

The US has by far the biggest trade deficit in absolute terms. When measured as a size of its economy, however, the US trade deficit is smaller than the trade deficits in the United Kingdom, Canada, South Africa (or the nations of sub-Saharan Africa as a group) and India.

When it comes to trade surpluses, the absolute size of the surpluses in Germany (+$403 billion), Japan (+$173 billion), Russia (+$114 billion) and Italy (+$53 billion) all outstrip the size of China's trade surplus (+$49 billion) in 2018. These economies are also smaller in size than China's, so as a percentage of GDP, their trade surpluses are larger than China's. Also, trade surpluses for the "other advanced economies" is large. This group is made up of the advanced economies outside the Group of Seven countries listed in the table and outside the euro area, so examples would include Korea, Australia, Norway, Sweden, Taiwan, and others.

One final note: Measures of international trade flows are imperfect. An obvious illustration of this point is that the world balance of trade must always be zero, by definition, because exports from any one location are imports for some other location. However, these tables show the world as having an overall trade surplus projected at $154 billion in 2019.