Journal of the Royal Statistical Society, Series C. Accepted.