Panel A shows the change from baseline (randomization) to 13 weeks in the percentage of time with the glucose level in the target range of 70 to 180 mg per deciliter, according to the baseline glycated hemoglobin level. The numbers of patients in each baseline group were the following: glycated hemoglobin level less than 7.0%, 22 patients in the closed-loop group and 8 patients in the standard-care group; glycated hemoglobin level 7.0 to 7.4%, 11 and 6 patients, respectively; glycated hemoglobin level 7.5 to 8.4%, 15 and 11 patients, respectively; and glycated hemoglobin level 8.5% or higher, 15 and 7 patients, respectively. Panel B shows the change from baseline to 13 weeks in glycated hemoglobin levels, according to the baseline glycated hemoglobin level. The numbers of patients in each baseline group were the following: glycated hemoglobin level less than 7.0%, 21 patients in the closed-loop group and 8 patients in the standard-care group; glycated hemoglobin level 7.0 to 7.4%, 10 and 6 patients, respectively; glycated hemoglobin level 7.5 to 8.4%, 14 and 10 patients, respectively; and glycated hemoglobin level 8.5% or higher, 14 and 7 patients, respectively. In both panels, the black dots denote the mean values, the horizontal bars in the boxes the median values, and the lower and upper boundaries of each box the 25th and 75th percentiles, respectively.