Kirk added code to deal with the effect of small groups on joint confidence intervals.