Journal of the royal statistical society series B: statistical methodological