def interval(lower, upper):
    """Format a confidence interval, given lower and upper bounds."""
    assert lower <= upper
    mid = (lower + upper) / 2
    radius = upper - mid
    return "%.1f +/- %.4f" % (mid * 100.0, radius * 100.0)