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
Last week, we noticed an unusual spike in our daily site traffic in mid-week, which corresponded to having been linked first by TheStreet.com and later by The Consumerist. Being who we are, we immediately pitted the two sites against each other in a contest to see who could drive more visitors our way!
At the time, we declared The Consumerist to be the winner of that contest for one big reason: TheStreet.com had linked to two separate posts at Political Calculations, while The Consumerist had only linked to one, even as the number of unique visitors was nearly identical on both days.
Then it got interesting. Just two days later, TheStreet.com turned around and linked once to the same post that The Consumerist had, which means that we can now directly compare the ability of both sites to direct traffic our way and provide the kind of independent assessment of commercial web sites that online advertisers crave!
First, let's look at some of our site traffic statistics. The following chart goes back to Sunday, 10 February 2008 and shows our daily unique site visits through Monday, 10 March 2008 against our average daily site visits for the past month preceding Tuesday, 4 March 2008, along with upper and lower control limits, between which some 98% of our number of daily site visits would be expected to fall in normal circumstances:
The boxed numbers on the chart indicate the unique events that launched our natural test. Box #1 is the day that TheStreet.com first linked to two of our posts. Box #2 is the day that The Consumerist linked to one of our posts. Box #3 is the day that TheStreet.com linked to the same post The Consumerist did.
You can see that the data coinciding with Boxes #1 and #2 are well outside what can be expected to be a normal, if high, level of traffic at Political Calculations in the month preceding when these posts were linked. Box #3 would, at first glance, seem to fall within our typical levels of traffic over the preceding month.
But does it? The chart also reveals that our site traffic has a cyclic pattern. Basically, our traffic builds from Sundays through Wednesdays, falls off on both Thursdays and more so on Fridays, before hitting the bottom of the trough on Saturdays. This corresponds with our level of posting activity - we generally only post on Mondays through Fridays, with no posts at all on Saturdays and Sundays.
So the question is how much above our usual traffic on each of the days which these larger sites linked to us? To find out, we calculated the average number of posts we could expect for each day of the week in the month preceding when these spikes in unique visitors occurred. We then calculated the difference between the number of unique site visits we had against the averages we found for each day of the week. The following chart shows our results:
The chart above confirms that each day that either TheStreet.com or The Consumerist linked to us was a banner day. The number of posts we saw from each source of site visitors was well above our typical level of traffic that might be considered normal in the preceding month.
We now see that The Consumerist is the clear winner of our "How Much Traffic Can You Send to Political Calculations" contest! By a nearly a 3 to 1 margin, The Consumerist was able to send substantially more of its readers to the Political Calculations blog than was TheStreet.com.
Now, before we get too excited, let's consider some factors that may have influenced these results:
We could go on, but you get the general idea. And for what it's worth, we're just happy to have the additional traffic. More, please!
Update: Added the text ", even as the number of unique visitors was nearly identical on both days" to the end of the second paragraph to clarify why we had previously declared The Consumerist to be the victor!
Labels: none really
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.