The Longest Now

Genre-Mapping Books
Saturday March 24th 2012, 5:29 am
Filed under: indescribable,metrics,Uncategorized

An exploration of book styles via Book Country. It gets more exciting once you zoom in once.

But it all seems rather arbitrary. Zooming and panning don’t work as well as you might wish on a a real map… does the background topography mean anything? and it’s not clear who is tagging the books, or where that raw data is.

At any rate, reflecting on this odd type of map with four half-dimensions projected onto a plane: we need names for families of abstract maps for structuring knowledge. Then perhaps we’ll start to get somewhere.

Ruby for Kids
Monday March 19th 2012, 7:53 pm
Filed under: chain-gang,popular demand

Richly red, complementing the joys of tryruby and the like.

Happy Pi Day!!!.?.!!!!.?.!!!!!!
Wednesday March 14th 2012, 6:48 pm
Filed under: Glory, glory, glory

And happy birthday dad, einstein, and the rest.

I hope you all ate tremendous quantities of Pi today, and waved your mental hats at Eve A.

Bonus: Congrats to Phoebe who got a beautiful essay published in the New York Times: “If you liked Britannica, you’ll love Wikipedia

Primary sources matter. How do we convince journalists to cite them?
Wednesday March 14th 2012, 3:18 am
Filed under: %a la mod,Blogroll,citation needed,indescribable

Some legal and political bloggers have written recently about an Arizona bill which reportedly “legalizes firing employees because they use contraceptives”. That’s the sort of claim which I always read with an invisible “citation needed” tag floating in the air next to it. But it took a frustrating few minutes to track the bill down; no posts linked to it, and few bothered to mention it by name.

Even the page about the bill on VoteSmart (a lovely site which focuses on tracking the progress of a bill and its changes/votes over time) has only a tiny, obfuscated link to the actual bill text. (I know that the raw bill isn’t the primary focus of that site, but I still expect it to be clearly linked from the top of the page about it.)

At any rate, here is the text-with-diffs of Arizona House bill 2625, “an act amending sections 20-826, 20-1057.08, 20-1402, 20-1404 and 20-2329, Arizona revised statutes; relating to health insurance.” The changes start at page 8.

It does not in fact legalize “firing employees” or other discrimination; but it does redact a special clause expressly prohibiting discrimination on the grounds of using contraceptives, which former lawmakers saw fit to include next to every description of how religious institutions should be allowed to opt out of providing coverage for them. I am certain that the history of the inclusion of that clause would be interesting; I also find it unlikely that every state has such a similarly explicit reminder embedded in their healthcare laws.

So: deep linking to primary sources is important; not just to better inform readers, but also to find out if what you are writing is true. When most modern journalists were cutting their teeth in their first newsroom, deeplinks to source material within an article were impossible. Now they are a matter of a few minutes’ research. How do we reemphasize the value of this work?

Britannica goes digital: the 2010 Edition will be the last
Wednesday March 14th 2012, 12:13 am
Filed under: %a la mod,fly-by-wire,indescribable

Quoth Editor-in-Chief Dale Hoiberg:

In 1994 we launched the first encyclopedia on the Internet. Today, with the end of the Britannica print set, we complete the transition from print to digital. Although we continue to produce some high-quality print products, Britannica is proudly in the digital camp.

They highlight some of their digital milestones, though they don’t point out the amazing plans around 1994 (not implemented) for a futuristic visualization of knowledge and automatic citation hyperlinks to complement Britannica Online and make it a central part of the fledgling Web.

Those links are drawn from Bob McHenry’s lovely “The Building of Britannica Online“… rereading it I note I need to update my essay on disambiguation, as he uses it here in 2003 not two years after it was first used casually on Wikipedia; so I assume that it was in already in regular use in encyclopedic and authority-file contexts in 2001.

J. B. S. Haldane on Statistical Fraud
Friday March 09th 2012, 6:06 am
Filed under: chain-gang,metrics,popular demand,Uncategorized

From Haldane‘s 1941 essay in Eureka #6 on “The Faking of Genetical Results“, reproduced here with appropriate corrections and hyperlinks.

MY FATHER published a number of papers on blood analysis. In the proofs of one of them the following sentence, or something very like it, occurred: “Unless the blood is very thoroughly faked, it will be found that duplicate determinations rarely agree.” Every biochemist will sympathise with this opinion. I may add that the verb “to lake,” when applied to blood, means to break up the corpuscles so that it becomes transparent.

In genetical work also, duplicates rarely agree unless they are faked. Thus I may mate two brother black mice, both sons of a black father and a white mother, with two white sisters, and one will beget 10 black and 15 white young; the other 15 black and 10 white. To the ingenuous biologist this appears to be a bad agreement. A mathematician will tell him that where the same ratio of black to white is expected in each family, so large a discrepancy (though how best to compare discrepancies is not obvious) will occur in about 26 percent of all cases. If the mathematician is a rigorist he will say the same thing a little more accurately in a great many more words.

A biologist who has no mathematical knowledge, and, what is vastly more serious, no scientific honour, will be tempted to fake his results, and say that he got 12 black and 13 white in one family, and 13 black and 12 white in the other. The temptation is generally more subtle. In one of a number of families where equality is expected he gets 19 black and 6 white mice. It looks much more like a ratio of 3 black to 1 white. How is he to explain it? Wasn’t that the cage whose door once seemed to be insecurely fastened? Perhaps the female got out for a while or some other mouse got in. Anyway he had better reject the family. The total gives a better fit to expectation if he does so, by the way. Our poor friend has forgotten the binomial theorem. A study of the expansion of (1+x/2)25 would have shown him that as bad a fit or worse would be obtained with a probability of 122753 x 2-23, or .0146. There is nothing at all surprising in getting one family as aberrant as this in a set of 20. But he is now on a slippery slope.

He gets his Ph.D.  He wants a fellowship, and time is short. But he has been reading Nature and noticed two letters* to that journal of which I was joint author, in which I might appear to have hinted at faking by my genetical colleagues. Thoroughly alarmed, he goes to a venal mathematician. Cambridge is full of mathematicians who have been so corrupted by quantum mechanics that they use series which are clearly divergent, and not even proved to be summable. Interrupting such a one in the midst of an orgy of Bhabha and benzedrine, our villain asks for a treatise on faking.

“I am trying to reconcile Milne, Born and Dirac, not to mention some facts which don’t seem to agree with any of them, or with Eddington,” replies the debauchee, “and I feel discontinuous in every interval; but here goes.

“I suppose you know the hypothesis you want to prove. It wouldn’t be a bad thing to grow a few mice or flies or parrots or cucumbers or whatever you’re supposed to be working on, to see if your hypothesis is anywhere near the facts. Suppose in a given series of families you expect to get four classes of hedgehogs or whatnot with frequencies p1p2p3p4, and your total is S, I shouldn’t advise you to say you got just Sp1Sp2Sp3 and Sp4, or even the nearest whole number. Here is what you’d better do. Say you got A1A2A3 and A4, and evaluate

\chi^2 = ((A_1 - Sp_1)^2 / Sp_1) + ((A_2 - Sp_2)^2 / Sp_2) + ...

Your \chi^2 has three degrees of freedom. That is to say you can say you got A1 red, A2 green and A3 blue hedgehogs. But you will then have to say you got SA1A2A3 purple ones. Hence the expected value of \chi^2 is 3, and its standard error is \sqrt{6}; so choose your A‘s so as to give a \chi^2 anywhere between 1 and 6. This is called faking of the first order. It isn’t really necessary. You might have p_1 = 9/16p_2 = p_3 = 3/16p_4 = 1/16 and A1=9, A2=A3=3, A4=1. The probability of getting this is (16! 3^24) / (9! (3!)^2 1! 16^16), which is only just under .04.  However, it looks better not to get the exact numbers expected, and if you do it on a population of hundreds or thousands you may be caught out.
“Your second order faking is the same sort of thing. Supposing your total is made up of n families, and you say the rth consisted of ar1ar2ar3ar4 members of the four classes, sr in all: you take

((a_{r1} - s_r p_1)^2 / s_r p_1) + ((a_{r2} - s_r p_2)^2 / s_r p_2) + ...

and sum for all values of r. Your total ought to be somewhere near 3n. The standard error is \sqrt{6n}, and it’s better to be too high than too low. A chap called Moewus in Berlin who counted different types of algae (or so he said), got such a magnificent agreement between observed and theoretical results, that if every member of the human race had repeated his work once a month for 1012 years, they might expect as good a fit on one occasion (though not with great confidence). So Moewus certainly hadn’t done any second order faking. Of course I don’t suggest that he did any faking at all. He may have run into one of those theoretically possible miracles, like the monkey typing out the text of Hamlet by mere luck. But I shouldn’t have a miracle like that in your fellowship dissertation.

“There is also third order faking. The 4n different components of \chi^2 should be distributed round their mean in the proper way. That is to say, not merely their mean, but their mean square, cube and so on, should be near the expected values (but not too near). But I shouldn’t worry too much about the higher orders. The only examiner who is likely to spot that you haven’t done them is Haldane, and he’ll probably be interned as a Red before you send your thesis in. Of course you might get R. A. Fisher, which would be quite as bad. So if you are worried about it you’d better come back and see me later.”

Man is an orderly animal. He finds it very hard to imitate the disorder of nature. In fact the situation is the exact opposite of what the reader of Paley‘s Evidences might expect. But the problem is an interesting one, because it raises in a sharp and concrete way the question of what is meant by randomness, a question which, I believe, has not been fully worked out. The number of independent numerical criteria of randomness which can be applied increases with the number of observations, but much more slowly, perhaps as its logarithm. The criteria now in use have been developed to search for excessive irregularity, that is to say, unduly bad fit between observation and hypothesis. It does not follow that they are so well adapted to a search for an unduly good fit. Here, I believe, is a real problem for students of probability. Its solution might lead to a better set of axioms for that very far from rigorous but none the less fascinating branch of mathematics.

* see U. Philip and J. B. S. Haldane (1939). Nature143, p. 334.  and
  Hans Grüneberg and J. B. S. Haldane (1940). Nature145, p. 704.

Two closing comments by T. W. Körner, who found Haldane’s essay worth reprinting in his brilliant textbook on Fourier analysis:

The reluctance of the scientific community to accept the possibility of fraud is illustrated by the fact that Moewus was still cited in the literature (and even spoken of as a possible Nobel prize winner) until 1953. However, no one else ever succeeded in repeating his experiments…

Unfortunately the statistical war against fraud is now over and the cheaters have won. The kind of tests proposed by Haldane depended on the fact that ‘higher order faking’ required a great deal of computational work. The invention and accessibility of the computer means that the computational work involved has ceased to be a problem for the dishonest scientist. In the physical and biological sciences the possibility that others will attempt to replicate experiments may act as a sufficient deterrent but in purely statistical subjects like sociology and experimental psychology the poblems raised by potential fraud have still to be faced.”

Bad Behavior has blocked 284 access attempts in the last 7 days.