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

With the spot price of West Texas Intermediate crude oil having broken above $50 in the second week of April 2015, it now appears that the rebound in oil prices has now put new jobless claims in the eight high cost oil production states we've been tracking on the verge of breaking what had been their statistical uptrend for layoffs.

The various lines we show on this chart actually represent key thresholds in a statistical hypothesis test. While the data points fall within the outermost red lines, the null hypothesis for that test holds, which in this case, means that the upward trend for layoffs still holds and that all the variation from week to week is the simply result of random variation or "noise". But once the data points start falling outside of that range, it is a clear indication that our null hypothesis no longer holds and that the previous trend has broken down - something other than random factors has caused the data to fall consistently outside the range where we would expect it to be if the variation were just the result of randomness.

In this case, there's an obvious explanation for why the previous rising trend for layoffs would break down: a reversal in the trend for oil prices for the eight states where high cost oil production represents a significant part of their local economies and job markets. With oil prices now rising, firms engaged in that economic activity are able to avoid having to lay additional workers off in order to remain solvent.

Meanwhile, in the other 42 states, the trend of new jobless claims remains on its long established downward trend, which has been the case since oil prices began to fall beginning in early July 2014.

Nationally, where we have an addtional week's worth of data, we believe that the continued rise in oil prices will result in breaking what had been an upward trend in layoffs in the oil patch states with the data through 2 May 2015 that will be reported for individual U.S. states later this week.

The downside of rising oil prices however is that should that trend continue, we would see the rate at which layoffs have been decreasing across the nation each week since oil prices started to decline will flatten out and possibly reverse depending upon how far oil prices rise. If we had to guess, we would say that will happen if oil prices rise back into or above the $65-$75 per barrel range, so there is some margin for continued improvement before rising oil prices might once again choke off improvements in the U.S. job market.

In the meantime, we should see a general but slowly falling number of layoffs each week until such an equilibrium level is reached in the national data.

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.