Thursday, 10 August 2006
Like looking at the future
Or take sexuality. In a town - OK, a university town - of one of the poorest states of the Northeast, they hold an annual gay pride parade, by golly. Picture that in our Northeast? Well... eesh, perhaps.
In this particular way, Brazil seems like a glimpse into our future, or at least like science fiction.
Wednesday, 9 August 2006
Joaoaoaoa Pessoaoaoa
Vejo o trabalhador
hoje como companheiro
Ombro a ombro caminhames
Seguindo nosso roteiro
Caminhamos sempre juntos
Olhando para horizonte
Contemplando a Utopia
De um dia sermos iguias
Com as nossas diferencas
not bad for five minutes eh? Marcos, fui muito legal de conhecer-te e seus amigos. Espero que nos nos encontramos de novo... 'ta bem... Dave o capitalist "Chicago Boy".
Monday, 7 August 2006
in Salvador bus station
Since leaving my friends in Sao Paulo I seem to have been sucked into the "traveller" circuit a bit. Lots of nice people but the culture pisses me off slightly. Joe Tourist has two weeks holiday and decides how much to spend on it. These young people have X amount of money and try to make it last as long as possible, which inevitably means they end up haggling bitterly over, like, 25 pence. And they smoke dope. Meh. I dunno, am probably just a crusty old man but occasionally I feel they need a HOLIDAY IN CAMBODIA...
Monday, 31 July 2006
in Brazil
Brazil is awesome. The food is delicious, people are friendly, my Portuguese is terrible. Being a political obsessive I am asking everybody about Lula. The outside world is pretty favourable to him, seeing him as one of the "good Left" as opposed to the old Chavez-style populists. Everyone here, by contrast, seems very disappointed. The corruption scandals were really serious - vote buying, links to crime etc. On the other hand, there are no very inspiring alternatives and I have not yet heard any really cogent arguments against the PT's policies. The problem if anything is what they are not doing (fixing the police and education). People believe Lula will win again and it's hard to disagree.
On Saturday morning, Norman Gall from the Fernand Braudel Institute in Sao Paulo invited me to one of their reading circles. A dozen teenagers from state schools were reading Adam Smith in Portuguese. It was inspiring to see so much talent, dedication and enthusiasm. People here become very gloomy when you ask them about politics or society. I see a lot of positives. There's tremendous energy in Sao Paulo. Little charismatic churches have popped up all over the place, scandalizing educated humanists with their unsophisticated approach (anyone can become a priest without even having studied theology!) When you stop at traffic lights, a kid will jump out in front of your car and juggle tennis balls, more or less expertly. English schools are everywhere.
BTW, for a good read on Brazil today check out Norman's paper Lula and Mephistopheles. Starts from the corruption scandals and broadens out to diagnose the whole society.
Wednesday, 5 July 2006
Essex vaut un blog
I've been at two universities in my life, and have had an incredibly happy time at both of them.
Among the great things this place has are psycho ducks and rabbits, Wivenhoe (aka Wiv, The Hoe, Thundercatshoe to various deranged residents), the Wivenhoe trail, and the main building , which is cunningly designed as an ornamental maze. Then there's the amazingly international student body: a sample of young, determined and smart people from all over the world.
The best thing though is the academic community, which is closeknit, friendly, unpretentious and professional. People here are incredibly generous with their time and knowledge. The seminars are great - informal but tough. The PhD students are a very varied and interesting bunch. And Essex is imbued with the spirit of the 60s, from the not-beautiful-but-just-about-lovable architecture to the democratic optimism.
Things I won't miss? The food. Not that it's bad.... I just feel that I have eaten enough Cafe Vert paninis for one lifetime.
See y'all in a year. I'm off to Chicago!
"Are you ready for the city? Is the city ready for you?"
Futureheads The City is Here for You to Use
interpolating data in R
[,1] [,2] [,3] [,4] [,5] [,6] [,7]
[1,] NA 1 NA NA 6 NA NA
[2,] NA 8 NA NA 5 NA NA
[3,] NA 1 NA NA 4 NA NA
[4,] NA 7 NA NA 7 NA NA
[5,] NA 9 NA NA 1 NA NA
it will be turned into
[,1] [,2] [,3] [,4] [,5] [,6] [,7]
[1,] 1 1 2.666667 4.333333 6 6 6
[2,] 8 8 7.000000 6.000000 5 5 5
[3,] 1 1 2.000000 3.000000 4 4 4
[4,] 7 7 7.000000 7.000000 7 7 7
[5,] 9 9 6.333333 3.666667 1 1 1
Columns 1, 6 and 7 have just been copied from columns 2 and 5 - i.e. this doesn't do extrapolation. Columns 3 and 4 have been interpolated linearly.
The columns of the input matrix must be either all valid, or all NA. Otherwise it will get confused. Fixes welcome.
do.interpolate <- function (m) {
if (any(is.na(m[,1]))) m[] <- rep(m[,ncol(m)], ncol(m))
else if (any(is.na(m[,ncol(m)]))) m[] <- rep(m[,1], ncol(m))
else {
p <- ncol(m)-1
m <- as.matrix(m[,c(1, ncol(m))]) %*% matrix(c(p:0/p, 0:p/p), nrow=2,
byrow=T)
}
return (m)
}
# m is a matrix with missing data
mass.interpolate <- function (m) {
for (c in 1:ncol(m))
if (any(is.na(m[,c])) & ! all(is.na(m[,c])))
stop("column ", colnames(m)[c], " of matrix m is incomplete")
valid <- c(1, which(apply(m, 2, function (x) ! any(is.na(x)))))
rvalid <- c(valid[-1], ncol(m))
for (i in 1:length(valid)) {
if (valid[i] == rvalid[i]) next # if left or rightmost cols are valid
m[ ,valid[i]:rvalid[i] ] <- do.interpolate(m[ ,valid[i]:rvalid[i],
drop=F])
}
return(m)
}
Usage: mass.interpolate(my.matrix)
Wednesday, 28 June 2006
‘Big Brother’ eyes make us act more honestly
From the article:
"We all know the scene: the departmental coffee room, with the price list for tea and coffee on the wall and the “honesty box” where you pay for your drinks – or not, because no one is watching.
"In a finding that will have office managers everywhere scurrying for the photocopier, researchers have discovered that merely a picture of watching eyes nearly trebled the amount of money put in the box....
"... In previous experiments, people consistently appeared to behave more generously than they needed to for their own self-interest, even when told their actions were anonymous. This has led an influential school of economists to argue that altruism in humans is innate, rather than being based on cynical self-interest.
"But if just a photocopied pair of eyes can treble honesty, the Newcastle team suspects that these previous experiments may somehow have been spoiled by subliminal cues that made people feel they were being watched. "
Sunday, 25 June 2006
One more juicy R tip
mydata[complex.row.condition, complex.column.condition] <- mydata[complex.row.condition, complex.column.condition]+1
or similar. One solution is:
crc <- complex.row.condition
ccc <- complex.column.condition
mydata[crc,ccc]<-mydata[crc,ccc]+1
rm(ccc,crc)
which saves writing out the complex conditions more than once. But it also makes it very cluttered to read and unclear what you are doing.
My alternative solution is to place this function definition in your Rprofile.site file:
inplace <- function (f, arg=1) eval.parent(call("<-",substitute(f)[[arg+1]], f),2)
Now instead of writing, e.g.
foo[bar,baz] <- foo[bar,baz]*2
you can just write
inplace(foo[bar,baz] *2)
or instead of
foo[bar,baz] <- paste(foo[bar,baz], 1:10)
do
inplace(paste(foo[bar,baz], 1:10))
The second argument of the inplace function allows you to use it when your target for assignment is not the first argument of your inner function. For example:
inplace(sub("old", "new", foo[bar,baz]), 3)
is the same as
foo[bar,baz] <- sub("old", "new", foo[bar,baz])What remains valid in Marxist economics?
- His focus on explaining institutions rather than just assuming them. This is still key to modern political economy.
- His class-based framework for understanding politics. This is quite a simple schema: the bourgeoisie can ally with the aristocracy or the proletariat. It's still enormously productive. Modern political science, since Olson, has been much less happy with the assumption that classes, which are groups, can automatically solve their collective action problem and come together to defend their interests. But humans seem to be better at this than theory would predict: in particular, they're willing to punish each other to maintain group norms, even at cost to themselves.
- Ideology. To find out why an idea is popular it is always worth asking: whose interest is it in?
Tuesday, 20 June 2006
Friday, 16 June 2006
Thursday, 15 June 2006
Tuesday, 13 June 2006
copied and pasted from the UCEA website
Anyway, this is just nicked from a UCEA (employers') press release, so if you disagree, feel free to say why. My italics.
At Essex, the Trots or someone have posted up posters representing the lecturers as Oliver Twist and the Vice-Chancellor as a ruthless workhouse manager: "MORE PAY! I promised you more, but now I say NO!!"
11. During the 1980s and 1990s, declining university funding did not allow for real terms
improvements in academic pay. However, since 2000/01, the sector’s finances have
started to improve. New pay negotiating machinery was introduced at the same time
and average earnings for academic staff have increased by 20.3% since 2001. Over
the same period, the unit of funding per student (representing the income universities
and colleges of higher education get per student they teach) has increased by just
under 16%.
12. In real terms (deflated by the RPI), since 2001 the pay of higher education teaching
professionals has increased by 8.7% compared with 3.9% for all employees, and 6.2%
for all professional occupations.
13. According to the Office of National Statistics (ONS), the average annual earnings of
full-time ‘higher education teaching professionals’ were £40,657 in 2005, placing
academics in the top 20% of earners in the UK. That compares with national average
earnings of £28,210 for all full-time employees, and £36,894 for all professional
occupations.
...
Employers also contribute additional sums – equivalent to 14% of salaries – to
generous final salary pension schemes.
I though point 13 in particular might provide a little context.
Having said that, the US rhetoric about an "act of war", driven by a half-conscious analogy with suicide-bombing, is disingenuous. You might as well call Jan Palach a terrorist. Perhaps the three deaths were planned as a protest against the Guantanamo regime. If so, as holding people indefinitely without trial is indeed unjust, cruel and totalitarian, it is hard not to sympathize with their point.
Monday, 12 June 2006
R tips
1. On Windows, get tinn-R. You don't want to be working with the basic R editor. On Linux, use emacs or vi as you prefer - emacs is supposedly pretty good.
2. Record everything you do - don't rely on saving the history for this, as it will be indecipherably messy. The ideal is that anyone should be able to replicate your results, from publicly available data, just by running your file of commands. It also helps a lot when you lose data and have to go back and redo it.
3. You will probably end up with a lot of temporary variables. To know which variables you can safely delete, give temporary variables a dot at the end of their name, like:
for (yr. in dataset$years)
4. Save shortened versions of often-used commands in your Rprofile file (on Windows, this will be in c:\program files\R\R-\etc\Rprofile.site).
For example, I like to type hs instead of help.search. If I just put
hs <- help.search
in Rprofile.site, I will get an error on startup. This is because help.search is in the utils package which is not loaded until after the Rprofile has been executed. So you have to be a little sneaky:
setHook(packageEvent("utils", "onLoad"), function (...) {
hs <<- utils::help.search
})
This means that when utils gets loaded, the function help.search gets assigned to hs. The double-headed arrow, by the way, is for global assignment. Otherwise, the assignment would only happen in the body of our function, which would be useless.
5. You can create new operators. For example, I like to be able to type
1:5 %-% 3and get c(1, 2, 4, 5), i.e. the numbers from 1 to 5 with 3 removed. Another line in my Rprofile.site:
"%-%" <<- setdiffThe setdiff function does what I want, but with %-% it's quicker and more intuitive to read. Similarly
"%like%" <<- function(x,y) grep(y,x, perl=T)means I can type state[state$name %like% "Al.*",] and get data for Alabama and Alaska.
6. Statisticians tend to want to put everything in one huge table. So for example, if they have 50000 Eurobarometer respondents and they want to use respondent's nation's GDP as an independent variable, they'll create a big table with 50000 rows:
name | nation | GDP | ... other national variablesThis is fine until you want to take the log of GDP and it takes the computer five minutes to create 50000 new variables, most of which are duplicates. Take a hint from database administration: keep national variables in a separate data frame, with one row for each nation. Then merge them once you have created all your independent variables, before you start running regressions.
(If you want to know more about how to create good databases, here's a good guide.)
7. Tired of typing brackets all the time to run simple commands? Here's a neat hack:
print.command <- function (x) {
default.args <- attr(x, "default.args")
if (! length(default.args)) default.args <- list()
print(do.call(x, default.args, envir=parent.frame()))
}
class(ls) <- c("command", class(ls))
class(search) <- c("command", class(search))
Now you can type ls or search at the command line without brackets. The magic here is that the end result of any command line is printed, i.e. the print method is called on the object. If we give ls a class of "command", the function print.command gets called when we evaluate ls. This then runs the function in the command line environment. To set up default arguments, do, e.g.:
attr(ls, "default.args") <- list(all=T)
It would be nice to be able to type fix foo instead of fix(foo), but I don't think it's possible. Correct me if you know better.
NEW 8. You don't have to save everything in one workspace. This is the easiest way to go at first, but when your data becomes large and takes minutes to load, you can separate it into different workspaces and load only the bits you need. To do this, instead of save.image, use
save(foo1, file="foo1.RData")
save(foo2, file="foo2.RData")
et cetera. You then load these in the normal way.
That's your lot! For more, check out http://wiki.r-project.org or R tips. And of course, the occasionally grumpy but always enlightening R-help mailing list.
Friday, 9 June 2006
R graph gallery
Friday, 26 May 2006
Iraq cartoons
Monday, 22 May 2006
Monday, 15 May 2006
My entry for the Pimlott Prize
You can’t have your cake and eat it
A Lithuanian acquaintance, a graphic designer turned
The Left has decided that, after decades of peeling paint and lost custom, British identity needs a makeover – and a new, non-racist ownership. The renewed interest started with David Goodhart's essay in Prospect magazine, “Too Diverse?”, which claimed that too much cultural diversity could undermine solidarity, and that shared values might depend on a shared history. As radical Islam hit the headlines, the argument had legs. Trevor Phillips of the Commission for Racial Equality attacked Goodhart as a “liberal Powellite”, but also broke with multiculturalism. Gordon Brown has weighed in with a speech on British identity. The debate has been lively and open-minded. Cultural relativism, the once-common view that value judgments could not cross cultural boundaries, is rarely heard. Neither are there calls for a return to bland ethnic uniformity. Instead, participants struggle to define Britishness as the core minimum that everyone in our society can and must accept. Do we need shared values? Attachment to institutions? Or a broader sense of history and heritage?
To see why this question has hit the agenda, take the family friend who arrived recently from
How will redefining Britishness work in practice? You don't have to be a Marxist to think that a sense of identity can't just be developed by policy wonks, then handed out to the wider community. Before anything else, after all, national identity is about loyalty to a particular group: about whose side you are on. The English language, the common law, chicken tikka masaala, and other components of our national identity – warm beer and old maids on bicycles, as John Major put it, or liberty, fairness and civic pride if you prefer Gordon Brown's version – all ultimately rest on this foundation. At bottom a nation is just a group of people who are prepared to work together for their common good, what the philosopher John Rawls, in a slightly different context, called a “cooperative venture for mutual advantage”. So perhaps our first question should be, is there still a British nation at all?
Historically, British identity was like other nationalisms, bound up with war. National identity was needed because those that had it would defeat those who didn't. The
However, the past was not an age of unambiguous national solidarity. The ruling classes could be passionately patriotic, but their attachment was to a particular idea of
The conditions for this partnership no longer exist. The threat of war in
A liberal optimist would welcome the fact that the old nationalism is redundant.
This perspective has undoubted appeal. It is uncompromisingly cosmopolitan and impartial: the welfare of a Chinese textile worker counts as much as that of a Scottish one, so why favour either over the other? And economic freedom, the creation of integrated world markets in goods and maybe one day in labour, genuinely does make the world richer.
The problem is that globalization, economic integration and freedom of movement affect different parts of countries differently and unequally. Divide the world into three parts: already rich, getting rich and getting poorer.
But not everywhere is like this. Some areas are getting poorer – not absolutely, but relatively. They lack the skills and the infrastructure to compete with the rich areas, but have higher labour costs than the developing world. Consider
If the people in these areas only cared about absolute wealth, the gains from globalisation would outweigh the no doubt temporary pains of adjustment to a fairer and more open world. Alas, humans aren't like that. Adam Smith suggested that it was better to be an English peasant than a king in
The logic of globalization is that
Not everybody has yet understood the lost basis of traditional British identity. Perhaps it is least understood by those who have most to lose. The danger is that when they do, and when they see themselves falling increasingly behind the richer areas of the country, they will seek different repositories for their allegiance. These new groups will not represent
This has happened already elsewhere. The debate over British identity was fuelled by the visibility of militant Islam, but in the long run a more important context may be the emergence of the radical nationalist Right across
This worry explains New Labour's sudden interest in defining Britishness, and in particular the focus on what can bind Britons of different races together. The intention is creditable. But if it is going to be more than a public relations exercise, it will require progressive opinion in this country to make choices for which it is rather unprepared, but which follow inevitably from the view that national identity is at bottom about loyalty to people rather than ideas.
The first of these is that you cannot lecture people on national pride until you have some yourself. The British Social Attitudes survey shows that people with a college degree are about half as likely to say they are “very proud” of being British than people without a qualification. Fair enough: nationalism lost popularity with educated people because of changing economic conditions, but also because it was correctly believed to be the root of many 20th century evils. We are now rediscovering the positive side, though, and would like a new patriotism for the 21st century. Doing that calls less for creative, multicultural redefinitions – we have plenty of those already – than for a new commitment to
Secondly, this commitment must be reflected in policy. Both major parties have rejected economic protectionism in favour of free trade and openness. Retreating into protectionism and populism would indeed be a terrible mistake. The best way to avoid it is to give greater priority, in social policy, to protecting British communities whose status is endangered by globalization. This requires a hard choice between competing values. Take a simple example. A new publication by the Young Foundation, The New
Which leads unavoidably to an issue most Left-wingers won’t like. Bluntly, if you define Britishness without ethnicity, then you need some other way of defining national membership, and that implies a tough line on immigration. The logic of talking about British identity is to tell people in economically deprived and dislocated areas, “we are on your side, we are part of one nation, you can rely on us to help you through the pains of globalization”. That promise means nothing if the group you point at as the focus of your loyalty can be expanded at will to suit the demands of the market. It’s not a racial issue: opinion polls in 2003 showed that majorities of blacks and Asians, like their white compatriots, saw immigration as out of control. This is unsurprising. Pakistanis in
Specifically, nobody yet knows whether openness to migration, in an age of cheap travel, can be combined with a generous welfare state, including universal free education and healthcare. On the face of it, it seems extremely improbable. More likely is the
The Left, and the British political system in general, faces a choice of values: internationalism or nationalism? The power and appeal of internationalism, a proud Left tradition, was shown in widespread support for the Make Poverty History campaign against European trade barriers which harm the developing world's peasant farmers. There is nothing wrong with wanting to treat Chinese and Scottish textile workers the same. But you cannot do that and simultaneously call for a renewed sense of national identity.
The Plaistow pub will probably still stand empty for a long while. Who would ever want to go back there? We could build something more modern, a warm, welcoming place for people of all races. But to do this, we need to rebuild from the foundations, rather than merely changing the décor. In other words, we need not just a different way of expressing national identity, but a new nation which citizens of all races and classes are part of. Alternatively, we can embrace the global market, stay on an economically liberal path (with a few prudent concessions to the misguided majority), let the world benefit, and let outmoded loyalties die in peace.
Monday, 1 May 2006
Sunday, 23 April 2006
MPSA joy
Hopefully will meet up with Robert Klemmensen today (w00t! I have another reader!) and try to come up with something clever for this amusing diversion, listed on POLMETH. (Everyone has a pet "really simple guaranteed winner" for this.) I see James Fowler is also behind this. Yikes.
Saturday, 22 April 2006
Sonnet VII
How soon hath Time the suttle theef of youth,
Stoln on his wing my three and twentith yeer!
My hasting dayes flie on with full career,
But my late spring no bud or blossom shew’th.
Perhaps my semblance might deceive the truth,
That I to manhood am arriv’d so near,
And inward ripeness doth much less appear,
That som more timely-happy spirits indu’th.
Yet be it less or more, or soon or slow,
It shall be still in strictest measure eev’n,
To that same lot, however mean, or high,
Toward which Time leads me, and the will of Heav’n;
All is, if I have grace to use it so,
As ever in my great task Masters eye.
Milton
He revisited this theme with greater power in On His Blindness.
Wednesday, 5 April 2006
Tuesday, 14 March 2006
Tuesday, 28 February 2006
Torture in US "black prisons"
(via http://www.jordanplanet.net/)
CLIVE STAFFORD SMITH: Yeah, you know, Hussein Mustafa, I met with him in Jordan, and he was an incredibly credible person. He is a dignified older gentleman, about now 50 years old, and he wanted to talk about what had happened to him, but he really didn’t want to talk about that sexual stuff, and in the end, you know, I said to him, “Look, you don’t have to, but it’s very important if things happened, that the story get out, so they don't happen to other people,” and in the end he did, and it was in front of half a dozen people who were just transfixed as he described how four soldiers took him, one on each shoulder, one bent down his head and then the fourth of them took this broomstick and shoved it up his rectum.
Now there was no one in that room -- and they were from a variety of places -- who didn't believe that what this man was saying was true, but I am afraid, I’ve got to tell you, that that’s far from the worst that’s happened. When you talk about Bagram, when you talk about Kandahar, those aren’t the worst places the U.S. has run in Afghanistan. The dark prison, sometimes called “Salt Pit,” in Kabul itself, which is separate from Bagram, has been far worse than that, and I can tell you stories from there that just make your skin crawl.
Monday, 6 February 2006
Iraq demo
Thursday, 2 February 2006
Fast social science



So on the subject of media attention to US and UK politics, these show the number of articles from the Times, FT and Guardian with different words in their headlines, 1990-2005. I rebased so that 1990=100, a dubious procedure because if 1990 was a very high or low year, that will make the subsequent pattern look better or worse. (In particular, take the White House/Downing Street comparison with a grain of salt.) Still, the trends are real enough. As far as I can see the story here is actually that Presidents and Prime Ministers have got more media attention, legislatures less. Country differences are pretty speculative.
Wednesday, 1 February 2006
Papers I would like to write
- Use "Blink"-style analysis of interviewers' posture, voice etc. when talking to politicians from different parties to provide an objective test of media bias.
- Why do human parents seek to control their children's sexual behaviour? This is AFAIK unique among animals. It is quite hard to understand from a genetic point of view: your children's interest in maximizing fitness is identical to your own (apart from the issue of degrees of relatedness, which might conceivably make a difference e.g. in cultures where people marry their cousins). Is the parental behaviour cultural or is there a genetic component? How did it arise?
- Hobbes' theory of the church in Leviathan Chapter XII seems to foreshadow modern economic theories of religion. He actually mentions the church before he gets to the state. It would be an interesting topic in intellectual history.
- Modelling how a city's size is affected by the size of other nearby cities. You might expect big cities to "drain" the population of near neighbours. The model could be applicable to other phenomena - firms in markets, even countries.
- How to extend formal models of elections to include the spread of information about policy through the population.
- Small churches and political parties seem to suffer more splits than large ones. Why? A formal model invoking control over resources and the ability to buy off potential splitters might help.
- Media analysis of how reporting of US politics has increased in non-US countries. A simple hit count for "senator" and "president" versus "MP" and "Prime Minister" would be a start.
I'll keep posting these as I remember them. There are a lot more!
Wednesday, 4 January 2006
edge.org asked a bunch of scientists for their "dangerous idea"
Here are some of the ones I liked:
Sherry Turkle on the end of authenticity
http://www.edge.org/q2006/q06_8.html#turkle
Steven Strogatz on the end of insight
http://www.edge.org/q2006/q06_8.html#strogatz
Jaron Lanier on homuncular flexibility
http://www.edge.org/q2006/q06_7.html#lanier
Richard Nisbett on not knowing ourselves
http://www.edge.org/q2006/q06_3.html#nisbett
Jeremy Bernstein: the idea that we understand plutonium
http://www.edge.org/q2006/q06_3.html#bernstein
Frank Tipler on antimatter
http://www.edge.org/q2006/q06_4.html#tipler
Gregory Cochran: evolution has taken place within recorded history
http://www.edge.org/q2006/q06_4.html#cochran
Alison Gopnik: the idea of "dangerous ideas"
http://www.edge.org/q2006/q06_4.html#gopnik
Brian Greene on the multiverse (several physicists mention this theme):
http://www.edge.org/q2006/q06_5.html#greene
Diane F. Halpern on choosing your child's sex
http://www.edge.org/q2006/q06_7.html#halpern
Daniel Dennett: not enough minds for our memes
http://www.edge.org/q2006/q06_8.html#dennett
Robert Shapiro on monomers and the search for the origin of life
http://www.edge.org/q2006/q06_9.html#shapiro
Geoffrey Miller: aliens are too busy playing their Xboxes
http://www.edge.org/q2006/q06_9.html#miller
Bart Kosko: we're all using the wrong Bell Curve!
http://www.edge.org/q2006/q06_11.html#kosko
Marco Iacoboni: media violence induces imitative violence
http://www.edge.org/q2006/q06_11.html#iacaboni
Leo Chalupa: give me peace and quiet!
http://www.edge.org/q2006/q06_12.html#chalupa
Tuesday, 20 December 2005
More phone photos
Thursday, 8 December 2005
If you believe in expert judgment
Monday, 5 December 2005
Wednesday, 16 November 2005
planet Iraq
There are getting to be so many of these people that a single page can't really do justice. Which is nice. If only all the news from Iraq were so cheerful.
Friday, 11 November 2005
just one more thing...
(Update: you should also check out the Prof's website. For a Columbia economics professor, it's pretty funny.)
More on income
The basic picture is straightforward: inequality rose markedly under Thatch. From 1979 to 1995/6, the proportion of people below half average income more or less doubled.
Of course, partly that is because average incomes rose markedly (by about 40% adjusted for inflation). But the appendices have information on the percentages of groups below various fractions of 1979 average income, held constant. In 1979, 8% of people were living below half 1979 average income. In 1995/6, 5% of people were living below half 1979 average income (adjusted for inflation). The figures for 60% of 1979 average income are similar: 18% and 10% respectively.
However, the AHC figures are much less cheerful, with the proportions of individuals living below these thresholds remaining almost constant. And the very poor do badly. There were about as many people below 40% of 1979 average income in 1995/6 as there were in 1979, whether Before or After Housing Costs.
End of brief statistical lecture. Everything is much more complex than this - for example, what about the experience of different groups? Families with children? Pensioners? What about the persistence of inequality over time? What's the right way to define or even conceptualise poverty? Despite being a Sinister Rightwinger, I believe that relative poverty is very important. Being poor, and specifically being poorer than other people, is horrible. Of course absolute poverty is bad too. Oddly enough these ideas tend to be backed up by the (stereotypically, right-wing) Darwinian approach to society: beyond satisfaction of our basic needs, we care about our relative position rather than our absolute wealth.
Corrections from the people at ISER (who do this kind of thing seriously) are of course welcome. Perhaps I should now stop reading DSS statistics on Friday night.
Just one further thought. The distribution of "talent" of many kinds is probably normal, like most things that rely on many different factors (if you add a lot of random variables together, you approach a normal distribution - the famous bell curve). The distribution of income is not normal. It looks much more like a lognormal distribution, such as the lefthand picture below
- pictures filched from http://mathworld.wolfram.com/LogNormalDistribution.html
Why? I am sure there are many extant answers to this question. My guess, keeping with the Darwinian theme, is that overachievers tend both to hang out with each other, and to compete with each other for income (or various correlates of income). This makes for a "long tail" distribution, with the mobile phone salespersons, the city slickers, and Bill Gates at the very, very top.
Seal and hard drive
Slashdot has a discussion on how long it would take for the police to decrypt an encrypted hard drive. This was one of the justifications offered for 90-day detention. Bottom line: 90 days is a slight underestimate. Good encryption cannot be cracked within the lifespan of the known universe, unless you can guess the password. Encryption is one of the subtlest parts of computer science, about which I know little, but the fundamental deal is fairly straightforward: every time you add a character (say just a-z) to your password, you multiply the number of potential passwords, and the time it takes to guess the password by brute force, by 26. Go type "26 x" into your calculator and hit "=" a few times. See?
Thursday, 10 November 2005
UK wages
Patterns of Pay 1998-2004
In particular, check out Figure 7 - Blogger seems to mess up the title:

This shows that the wages of even the lowest decile beat inflation consistently. Some credit due to New Labour? (But note that this is only for full-time employees. The pdf above has more details on the distribution of hours.)
The NES doesn't seem to have a similar time series available, but here is a useful webpage on historical average earnings. Clicking the link will show you real and nominal earnings, as well as the RPI, for 1979-2004. Really, we would prefer median earnings - they explain how they calculate average earnings but it seems complex, perhaps because they provide statistics going back to 1264!
That's all I can manage for the moment. Clearly average wages have consistently increased since 1979. The more interesting question is what has happened to the different percentiles.
Wednesday, 9 November 2005
Blair defeated over 90 days!
Update:
Now everyone is asking whether this is the end of Blair's authority. I guess it depends on the causes of the vote. Perhaps, as a premier nearing the end of his shelf life, Blair no longer wields the power to threaten backbenchers. If so, expect more revolts. Can Brown step in to quell the rebels? That probably depends on his perceived chances of winning the next election. Major's experience shows that as a government's time in office draws to a close, discipline crumbles. If that in turn makes the government appear less popular and competent, you get a vicious circle.
(Polisci geek note: I wonder if anyone has written about the game theory of the UK parliamentary system. There's lots about the US and lots about coalitions in proportional representation systems, but I don't know of any stuff for our particular setup, beyond Bagehot's famous analysis in the 19th century.)
The latest initiative - standardised testing for tiny tots - isn't exactly an inspiring big idea. More like a New Labour self-parody. If they can't do better than that I think we can expect trouble for Labour in 2009.
Monday, 7 November 2005
I'm 30
Anyway I had a party to celebrate the alleged event this weekend, which was excellent. Dave Padua, Clem, Emily Comyn and Kemal all came down from Outside. So the next day we sat in the Rose and Crown and continued to drink. Kristi put up very kindly with having a bunch of randoms on the sitting room floor, and came out with us the next day. Kemal got me a Prodigy CD. Charley says, never go out without telling your mother first. Mreowww! Clem got me the best. Card. Ever. Probably not safe to link here.
Cometh Monday, cometh the payoff....
Friday, 4 November 2005
Tuesday, 1 November 2005
iPod Nano
A present from the bruvs in America. You can see me on campus wandering around like the guy in the adverts, nodding my head in a hip and groovy way.
Epitonic have a really, really good selection of free music. I mean, St. Etienne.
A comment on ancient (direct) democracy
Working paper available
Wednesday, 19 October 2005
Seal
Tuesday, 18 October 2005
Broadcasting House
Friday, 14 October 2005
Dog news
I can speak German, honest!
Es war sehr nett, von Dir zu hoeren aber ich habe kein Email fuer Dich! Also email mir mal an. (Ist das das Wort?)
Dave
Tuesday, 27 September 2005
sloes
By Christmas or so I'll have some rich red booze. The neighbours (Pete and Sam from IDA) are getting some gin in which is the more traditional base liquor.
Wednesday, 21 September 2005
meaningless computer error messages: a collection.
Firefox. This pops up while browsing print.google.com. What document contains no data? What sort of data should it contain? What do you mean?
Copying files in Gnome. What's an invalid parameter?
This one popped up when I tried to connect to a remote server without plugging the network card in. God knows why it suddenly thinks the server is a "file" or a "folder" and starts worrying about security risks.
Tuesday, 20 September 2005
Nice weekend in Paris
Saturday night I see Viv and meet some friends of hers including the vivacious and mega-successful Elena who is an ex-World Banker. I miss the metro home and end up walking for hours through the banlieux of Northern Paris to the hotel. Yikes. Sunday we see Notre Dame and meet Viv again in a caff in front of the Sorbonne. Monday, back, another whopping trip but it gives me a chance to almost finish Shirer's Rise and Fall of the Third Reich. Shirer was a journalist, actually in Germany for a lot of the thirties, with a crackling prose style. The theme of the book is the cowardice of the people around Hitler - both nationally and internationally - and insofar as there is an explanation, at least for the Germans such as the generals who knew they were being led to destruction, he pins the blame on an inadequate political understanding. By understanding I don't just mean political science understanding, as in predicting who will do what, but also understanding of, say, the duties of a citizen or the dignity of man. (And actually these failures then lead the Nazis to make inaccurate predictions also: they cannot understand why, for example, Britain fights on rather than surrendering in 1940. It's a strong example for those who say that in social science, prediction requires understanding, and who therefore make a clear distinction between social and natural science.)
Perhaps Shirer's is a very American approach, but it basically chimes with the attitude of, say, Arendt, and contrasts strongly with the critical theorists who see fascism as the final expression of a social system - capitalism - and hence find rather little comfort in the triumph of the US. I think in this point the "politics" approach is more accurate.
As an aside: in history, I always gain insight from reading the "great" classic texts: professional historians' latest appraisals will change with the whims of academic fashion. Here at least, the judgment provided by an intelligent individual is more important than method, which may improve as the discipline progresses.
Tuesday, 13 September 2005
moved
Thursday, 8 September 2005
Cheap talk part 3

I'm going to plunge straight into this. Parts one and two are also available if you are lost.
[ed: as you can see, I end up failing to prove what I meant to prove... also, blogger keeps eating my post.]
Suppose that c = (1-a)/n where n is an integer and 0 <= a < c. In other words, there are n intervals around the unit circle, plus a remainder of a.
(1) Suppose that n is even, and that Senders of type t send a message m = t* =
t modulo c, when t* < a. Now it's a best response for Receiver to randomize equally over possible values of t in response to this message. Proof:
Let's call the possible values of t, t0 to tn where ti = ci + t*. Take any arbitrary ti. Choose an interval H = (ti, ti+1/2] or (ti, ti-1/2], such that H does not contain the zero point, and therefore does not contain both t0 and tn. (For example, from t0, go clockwise and from tn go anticlockwise.)
The interval H now contains n/2 possible values of t. Proof: ts are evenly spaced along the interval, c apart, with the first one at ti+c or ti-c (as the interval is open at ti itself). Temporarily normalizing ti to zero, the interval (0, 1/2] or (0, -1/2] is of length 1/2 and, as 1 = nc+a, 1/2 = (n/2)c + a/2 where 0 <= a/2 < c. Moving from ti into H therefore moves you towards n/2 equally likely values of t, and away from n/2+1 equally likely values of t. As we are assuming no risk-aversion (Receiver's utility is linear in distance from t), moving away from ti therefore reduces utility. Similarly, moving away in the opposite direction is moving into an interval of size 1/2, excluding ti itself, which also must contain the remaining n/2 possible values of t from the set tj, j ^= i, and away from n/2+1 equally likely values of t.
(Apologies for the HTML notation: ^= means "does not equal".)
Therefore, any a ^= ti, for all i, is strictly dominated by some pure strategy a = ti for some i, and any mixed strategies containing anything other than the tis is strictly dominated by a mixed strategy containing only tis.
Furthermore, expected distance from t is the same at any ti (leaving the proof for now, I am fairly sure) and thus the mixed strategy choosing ti with probability 1/(n+1) is a best strategy.
(2) Given this strategy, Sender's strategy is a best response. Proof: for t = ti, i e {1,2,...,n-1}, the proof is identical to that given above as Sender's ideal point is just the same as to Receiver's ideal point when t=ti+1. When t = tn, ...
ah. No wait. When t = tn Sender's ideal point will be t+c which is strictly greater than t0 = t+a (we are crossing the zero point). If so, this will surely generate an incentive to deceive Receiver by claiming to be a different type. Blast. Perhaps we can remove the interval [nc, 1) from the set of types that sends an informative message? Well, this is obviously not over yet. More pointless fun awaits.
Wednesday, 7 September 2005
Time to ditch that Yahoo! account?
If you are still using Yahoo!, why not try Gmail, Google's free email service. It's extremely easy to use and lets you import contacts from Yahoo!. Google has been accused of censoring its search engine listings for China, but at least it hasn't actually turned into a police snitch. I have several accounts to give away if anyone wants one.
Tuesday, 6 September 2005
Monday, 5 September 2005
car found
The police, of course, weren't interested in investigating. I don't really expect them to care, but it would be nice if they just pretended, you know? Of the several crimes I know in which I or friends of mine have been victims, not one has been cleared up by the police.
In other news, I just interrupted a couple of guys cottaging in the level 4 loos. Scandalous!
Sunday, 4 September 2005
My car got nicked
That has to be the least profitable car theft ever, man. The value of that car was probably negative.
Eventually we persuaded the police to take the crime report, despite them trying to persuade me that the car wasn't registered in my name on their database (it was). I don't expect them to catch the criminals or even recover the car, I just wanted them at least to acknowledge that a crime had happened.
Another amazing Katrina-related website
This is a report from the New Orleans' Times-Picayune on the potential for New Orleans to experience a devastating hurricane. Written in 2002.
Saturday, 3 September 2005
Friday, 2 September 2005
So, back in Essex...
This one was going to be written on my trendy new PDA phone, the Orange SPV M500. However, the trendy PDA phone is going back to Orange on Monday. I'd never used a PDA before and wanted to see if it's worth the hassle. Nope. Handwriting technology is way too inaccurate, and to do almost anything you need to take the stylus out and tap the screen. This is infuriating for phone features when you just want to hit a button. In general, I think I can see why PDAs have not caught on. The user interface is like an attempt to shoehorn a Windows-style computer into a phone. This just doesn't work. It's far too fiddly and over-complicated. The whole apparatus of scrollbars, popup buttons, different windows, right-clicking etc. is just not suitable. I should have stayed a loyal Nokia customer. Their basic phones have a really simple and elegant user interface, everything is natural. The apps, like the calendar, which holds my entire social life (no jokes), are just more suitable given the screen real estate.
Apart from that... well, the only other thing I wanted it for, apart from quick notes, was to blog. But if I login to blogger, Pocket Internet Explorer crashes. Bah.
why the internet is good
Any attempt to flag down police results in being told to get away at gunpoint. Hour after hour they watch buses pass by filled with people from other areas. Tensions are very high, and there has been at least one murder and several fights. 8 or 9 dead people have been stored in a freezer in the area, and 2 of these dead people are kids.
The people are so desperate that they're doing anything they can think of to impress the authorities enough to bring some buses. These things include standing in single file lines with the eldery in front, women and children next; sweeping up the area and cleaning the windows and anything else that would show the people are not barbarians.
The buses never stop.























