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

How much of a correlation is there between falling oil prices and the number of layoffs, as measured by seasonally adjusted new jobless claims, in the eight states whose oil industries employ high cost production methods for extracting crude oil?

To us, that's an interesting question because there are competing forces at work in these states. Just as in the rest of the U.S., falling oil prices are producing benefits for consumers and other kinds of businesses in these states, sparking higher demand for other goods, most notably food and accommodation services and the automotive industry, which should reduce the number of new jobless benefits filed each week. But unlike the rest of the U.S., falling oil prices means reductions in the economic activity that supports oil and gas production in these states, which means a higher number of layoffs that would then mute the benefit of falling oil prices elsewhere in the economies of these states.

So we did the analysis using the data weekly data from 4 January 2014 through the most recent data available for these states (18 April 2015). Our results are charted below, where we've also sketched in a polynomial regression curve for reference:

Starting with 4 January 2014, we see the effect of the economic contraction that was recorded nationally in that first quarter of 2014. We see the number of new jobless claims generally fall as crude oil prices increased in the second quarter of 2014, as the oil industries in these states benefited from those higher oil prices.

But then, we see that the number of new jobless claims was minimized as oil prices began to fall rapidly in the third quarter of 2014 and into the fourth quarter, but only until the spot price for West Texas Intermediate Crude Oil dropped below $82 per barrel. The period where new jobless claims were recorded at their minimum level in these eight states coincides with the time of when the benefits of falling oil prices were being realized across the nation, while at the same time, the oil and gas extraction industries in these states continued business as usual, waiting to see where the bottom might be before acting to cut back on their operations.

That dynamic explains why GDP nationally was recorded to be so strong in 2014-Q3.

That changed in mid-November 2014, when the price of crude oil produced in the U.S. dropped below $82 per barrel and continued to fall. After that point in time, the oil and gas production firms in these eight states began sharply curtailing their operations, causing the number of weekly new jobless claims to begin to rise. As the math would have it, that's a bit shy of 25% below the maximum price of $107.23 per barrel recorded on 5 July 2014.

Since then, the number of new jobless claims being filed each week in these eight states has generally risen as oil prices have fallen. Until late in the first quarter of 2015 and in April 2015, when the falling trend for crude oil prices in the U.S. began to reverse, leading new jobless claims to also reverse in these states.

Since oil prices have continued to rise in three weeks since 18 April 2015, it is likely that the number of layoffs in these states will fall as the state of their oil industries stabilize. This is a major reason why we see the economy as performing better so far in 2015-Q2 than it did in 2015-Q1.

The downside of course is that rising oil prices means that economic growth resulting from falling oil prices in the rest of the nation is set to slow, which is why we still expect positive, but sluggish-to-slow growth in 2015-Q2.

References

U.S. Energy Information Administration. Cushing, OK WTI Spot Price FOB. [Online Database]. Accessed 3 May 2015. In our analysis above, we matched the number of new jobless claims in a given week with crude oil prices from this source from two weeks earlier, which accounts for the typical pay cycle-driven lag between when a firm's decision to lay off employees is made and when it shows up in the new jobless claims data.

U.S. Department of Labor. Unemployment Insurance Weekly Claims Data for U.S. States. [Online Database]. Accessed 3 May 2015. We seasonally adjusted this data using the BLS' national seasonal adjustment factors for newly filed jobless claims.

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:

Materials on this website are published by Political Calculations to provide visitors with free information and insights regarding the incentives created by the laws and policies described. However, this website is not designed for the purpose of providing legal, medical or financial advice to individuals. Visitors should not rely upon information on this website as a substitute for personal legal, medical or financial advice. While we make every effort to provide accurate website information, laws can change and inaccuracies happen despite our best efforts. If you have an individual problem, you should seek advice from a licensed professional in your state, i.e., by a competent authority with specialized knowledge who can apply it to the particular circumstances of your case.