to your HTML Add class="sortable" to any table you'd like to make sortable Click on the headers to sort Thanks to many, many people for contributions and suggestions. Licenced as X11: http://www.kryogenix.org/code/browser/licence.html This basically means: do what you want with it. */ var stIsIE = /*@cc_on!@*/false; sorttable = { init: function() { // quit if this function has already been called if (arguments.callee.done) return; // flag this function so we don't do the same thing twice arguments.callee.done = true; // kill the timer if (_timer) clearInterval(_timer); if (!document.createElement || !document.getElementsByTagName) return; sorttable.DATE_RE = /^(\d\d?)[\/\.-](\d\d?)[\/\.-]((\d\d)?\d\d)$/; forEach(document.getElementsByTagName('table'), function(table) { if (table.className.search(/\bsortable\b/) != -1) { sorttable.makeSortable(table); } }); }, makeSortable: function(table) { if (table.getElementsByTagName('thead').length == 0) { // table doesn't have a tHead. Since it should have, create one and // put the first table row in it. the = document.createElement('thead'); the.appendChild(table.rows[0]); table.insertBefore(the,table.firstChild); } // Safari doesn't support table.tHead, sigh if (table.tHead == null) table.tHead = table.getElementsByTagName('thead')[0]; if (table.tHead.rows.length != 1) return; // can't cope with two header rows // Sorttable v1 put rows with a class of "sortbottom" at the bottom (as // "total" rows, for example). This is B&R, since what you're supposed // to do is put them in a tfoot. So, if there are sortbottom rows, // for backwards compatibility, move them to tfoot (creating it if needed). sortbottomrows = []; for (var i=0; i
The U.S. Census Bureau has released its data on the value of trade between the U.S. and China for December 2019, completing its 35th year of monthly reporting on those statistics. The data is the first to be reported since the U.S. and China arrived at their "Phase 1" trade agreement, under which both nations have pledged to not impose additional tariffs beyond what they have already, rolling back some recently introduced tariffs, while also committing China to purchase significant quantities of U.S. goods.
Our first chart shows the value of goods and services imported by the U.S. from China from January 1985 through December 2019, spanning the full period of the Census Bureau's international trade data between the two nations.
Both the value and volume of goods imported by the U.S. from China plunged in 2019. After peaking at $52.2 billion in the month of October 2018, U.S. imports from China has declined significantly, dropping by $12.1 billion (23.2%) a year later. For December 2019, the $33.7 billion worth of U.S. imports from China is 27% below the figure recorded in the final month of 2018.
The data for U.S. exports to China is different in that it reflects China's early tariff war strategy to slash its imports of U.S. produced goods as quickly as possible, where much of its deep decline was recorded back in 2018. In 2019, the value of U.S. exports to China has continued to shrink on average, but at a much slower pace than in 2018, where two months during 2019 (August, November) have seen positive year-over-year levels of exports. The following chart visualizes U.S. exports to China from January 1985 through December 2019.
Our next chart shows the combined value of all the goods and services traded between the two nations from January 1985 through December 2019, along with its trailing twelve month average, which smooths out the annual seasonality in the data.
Our next chart zooms in on the area of this chart within the red dashed-line box, which covers the period from January 2008 through December 2019, where we've added a linear counterfactual trend line to get a sense of how the value and volume of trade between the U.S. and China would have changed if not for the tariff war between them:
Here, we see that in December 2019, the gap between the pre-trade war trend and the trailing twelve month average of the value of goods exchanged between the U.S. and China expanded to $16.9 billion. Meanwhile, the cumulative gap between the trailing year average and our counterfactual since March 2018 has grown to $133.5 billion.
That's an immense amount of trade-related carnage, which has put strain on both nation's economies.
For our trade analysis going forward, we're going to clock changes from the U.S.-China Phase 1 trade agreement, since that should mark the beginning of a period of relative stability in the trade relations between the two nations, using December 2019 as "Month 0" for tracking changes. Coincidentally, that month also effectively marks "Month 0" for the coronavirus epidemic that has swept through China and is expected to significantly disrupt the nation's economic output, which is expected to impact upon global trade, where how that will play out has yet to be determined.
Labels: trade
Welcome to the blogosphere's toolchest! Here, unlike other blogs dedicated to analyzing current events, we create easy-to-use, simple tools to do the math related to them so you can get in on the action too! If you would like to learn more about these tools, or if you would like to contribute ideas to develop for this blog, please e-mail us at:
ironman at politicalcalculations
Thanks in advance!
Closing values for previous trading day.
This site is primarily powered by:
The tools on this site are built using JavaScript. If you would like to learn more, one of the best free resources on the web is available at W3Schools.com.