Thursday, 28 February 2013

Top tip for today ...

Irwin Greenberg (http://clicks.robertgenn.com/irwin-greenberg.php) apparently said:

“Find the artists who are on your wavelength and continuously increase that list. Learn from the masters, learn from artists alive today whether it's someone you may never meet in person or it’s a close artist friend.  

Visit museums and galleries, buy books and magazines, take classes. 

Embrace the life of a student, no matter your age or ability, and you will become a better artist”.

[Courtesy:  Ray Frisken: artnewsflash@gmail.com]

What's it got to do with us?  Substitute 'analyst' for 'artist' and substitute 'Go to conferences and workshops' for 'Visit museums and galleries' :-)


Tuesday, 26 February 2013

Does Excel™ really excel ?


A good friend of mine, when asked exactly what it is I do for a living, sometimes replies “he does sums”.

There is a fair amount of truth in this;  indeed much of the quantitative analysis that anyone does can involve doing lots of ‘sums’.

And to help us, we use various software tools such as SPSS, Q, R, Minitab, Stata, Excel,etc.

But occasionally we can notice something slightly weird, with an unexpected result, or a computation that doesn’t seem to lead to where it should.

Very often, this is simply a data cleaning issue (or, rather, a lack of data cleaning issue).  For the heavy quant people, there are well-known mantras such as “Step 1:  clean your data; Step 2:  clean your data again; Step 3:  repeat Steps 1 and 2”. 

Or: “95% of advanced analysis is getting the datafile into shape”. 

Or even, as lamented by Sherlock Holmes, in the Conan-Doyle story “The adventure of the Copper Beeches”:   ‘"Data! Data! Data!" he cried impatiently.  “I can’t make bricks without clay!”’

Another good quant analysis rubric is:  “If it looks unusual, it’s probably wrong.”

In the above vein, I recently came across a rather disturbing article(a), published only a couple of years ago, that deals with a claimed plethora of computational errors that are literally built into Excel™.

After conducting a large number of tests (admittedly, some of them using datasets that might be described as ‘slightly esoteric’), the authors nonetheless conclude that “…it is not safe to assume that Microsoft Excel’s statistical procedures give the correct answer.  Persons who wish to conduct statistical analyses should use some other package.”

I discussed this with a senior statistical consultant, who replied:

“This paper criticising Excel freaked me out when I first read it ...  However, over time, I have become less concerned.  I looked into some of the tests … a few general conclusions:

a)         It is disappointing that Microsoft doesn’t fix these things.

b)         The errors are at the margins.  That is, we are talking about inaccuracies that tend to occur when the techniques are unreliable anyway (e.g., severe multicollinearity). 

c)         There is more than a degree of unfairness in the critique.  For example, in the case of Solver, I have found it repeatedly to do a better job than the various optimisers in R.”

So, given all the above, and all other things being equal, it is probably best to take the bad news concerning Excel with a grain of statistical salt.  Nonetheless, it may sometimes be wise to use two alternative computational means when working with something really critical, just to be sure.


Tuesday, 19 February 2013

What data can't (and can) do ...



I’m indebted to Julie Houston, from Nitty Gritty Research http://www.nittygritty.net.au/ for this very recent item (at least, very recent at the time of writing this post):


The subject of the article is “the strengths and limitations of data analysis”.

Bit of a dry topic, you might think?

But the really interesting bit (are?) is the 250+ detailed comments posted in response to the article.

Worth a slow read over a glass of red, I think :-)



Thursday, 14 February 2013

Amazing statistical fact #2


In any gathering of people, how many must there be to be 50% sure that at least two people will share the same birthday?

Answer:  At least 27 people.

How many people at that gathering must there be to be virtually certain that two of them will share the same birthday?

Answer:  At least 57 people.

As people enter a room one at a time, which one is most likely to be the first to have the same birthday as someone already in the room?

Answer:  The 20th person to arrive.

What is the average number of people (selected at random) required to find two with the same birthday?

Answer:  On average, 25 people are required.

[Example: There have been 27 Prime Ministers of Australia.   Paul Keating, the 24th Prime Minister, and Edmund Barton, the first Prime Minister, share the same birthday, 18 January.]

Source:  All this and more can be found at: http://en.wikipedia.org/wiki/Birthday_problem


Monday, 11 February 2013

A quick word ...


A few years ago, Wordles™ were a popular means of presenting lots of open-ended text.  Here’s an example developed using the text on my own website.


I still think Wordles can be pretty cool.

But now, along has come the new, even cooler, version known as Wordyup™. 

Developed by Garreth Chandler and his team at Twist of Lime www.twistoflime.com.au, Wordyup “ … turns the usual 1000's of open ended responses on a survey into real insights with dynamic key word analysis quickly, easily and what's more ... it's fun!”

And more to the point, as Garreth says, he “… can't stop playing with it...”

Have a look for yourselves: https://www.wordyup.com/ and let me know what you think.  Better still, let Garreth know what you think. 




Thursday, 7 February 2013

Amazing statistical fact ...

2013 is the International Year of Statistics.

So, to recognise that, I thought you might be interested in the following:


Suppose there is a medical test that is designed to detect whether you have an illness/infection/whatever.

Suppose the chance of anyone actually having that illness/infection/whatever is 5%.

Suppose that if you do have that illness, then the chance of that test detecting that you have it is 95%.

That sounds pretty good, doesn’t it?

Suppose the chance that the same test will indicate you have that illness, if you actually don’t, is just 5%.

That sounds pretty good too.

Fairly straightforward statistical analysis will show, irrefutably, that if that apparently reliable test indicates you have that illness, the chance that you actually do have it is only 50%.

Scary.  But it’s true.

Suppose the chance of anyone having that illness is actually much lower, say 1%.

Then if the test indicates you have that illness, the chance that you actually do have it is only 16% !

I learned about the above from Kerry Mengersen, whose course “Bayes for Beginners” I undertook back in 2006:  http://www.statsoc.org.au/CPD16


Monday, 4 February 2013

Statistical goldmine !


Some years ago, it was possible to download (for free) a comprensive statistical text from www.statsoft.com .  It was great, just sat on my desktop until I needed it.

These days, you can get the same thing as an online resource, again for free http://www.statsoft.com/textbook/ .

I’ve just been made aware of something that is arguably as good, if not better http://surveyanalysis.org .

Whilst still under development, it already contains a massive amount of information, of interest to anyone who works in the advanced analytics area.

I recommend it strongly, and I can assure you that it is written by one of the smartest people I know.