<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.0 20040830//EN" "journalpublishing.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="2.0" xml:lang="en" article-type="research-article"><front><journal-meta><journal-id journal-id-type="nlm-ta">JMIRx Med</journal-id><journal-id journal-id-type="publisher-id">xmed</journal-id><journal-id journal-id-type="index">34</journal-id><journal-title>JMIRx Med</journal-title><abbrev-journal-title>JMIRx Med</abbrev-journal-title><issn pub-type="epub">2563-6316</issn><publisher><publisher-name>JMIR Publications</publisher-name><publisher-loc>Toronto, Canada</publisher-loc></publisher></journal-meta><article-meta><article-id pub-id-type="publisher-id">v5i1e44384</article-id><article-id pub-id-type="doi">10.2196/44384</article-id><article-categories><subj-group subj-group-type="heading"><subject>Original Paper</subject></subj-group></article-categories><title-group><article-title>Beyond Expected Patterns in Insulin Needs of People With Type 1 Diabetes: Temporal Analysis of Automated Insulin Delivery Data</article-title></title-group><contrib-group><contrib contrib-type="author" corresp="yes"><name name-style="western"><surname>Degen</surname><given-names>Isabella</given-names></name><degrees>MSc</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Robson Brown</surname><given-names>Kate</given-names></name><degrees>BA, MA, PhD</degrees><xref ref-type="aff" rid="aff2">2</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Reeve</surname><given-names>Henry W J</given-names></name><degrees>MMathPhil, PhD</degrees><xref ref-type="aff" rid="aff3">3</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Abdallah</surname><given-names>Zahraa S</given-names></name><degrees>BSc, PhD</degrees><xref ref-type="aff" rid="aff4">4</xref></contrib></contrib-group><aff id="aff1"><institution>Interactive Artificial Intelligence Centre for Doctoral Training, School of Computer Science, Faculty of Science and Engineering, University of Bristol</institution>, <addr-line>1 Cathedral Square, College Green</addr-line><addr-line>Bristol</addr-line>, <country>United Kingdom</country></aff><aff id="aff2"><institution>University College Dublin President's Office, College of Engineering and Architecture, University College Dublin</institution>, <addr-line>Dublin</addr-line>, <country>Ireland</country></aff><aff id="aff3"><institution>School of Mathematics, Faculty of Science and Engineering, University of Bristol</institution>, <addr-line>Bristol</addr-line>, <country>United Kingdom</country></aff><aff id="aff4"><institution>School of Engineering Mathematics and Technology, Faculty of Science and Engineering, University of Bristol</institution>, <addr-line>Bristol</addr-line>, <country>United Kingdom</country></aff><contrib-group><contrib contrib-type="editor"><name name-style="western"><surname>Schwartz</surname><given-names>Amy</given-names></name></contrib><contrib contrib-type="editor"><name name-style="western"><surname>Meinert</surname><given-names>Edward</given-names></name></contrib></contrib-group><contrib-group><contrib contrib-type="reviewer"><name name-style="western"><surname>Carvalho</surname><given-names>Darlinton</given-names></name></contrib><contrib contrib-type="reviewer"><name name-style="western"><surname>Anonymous</surname><given-names/></name></contrib><contrib contrib-type="reviewer"><name name-style="western"><surname>Anonymous</surname><given-names/></name></contrib></contrib-group><author-notes><corresp>Correspondence to Isabella Degen, MSc, Interactive Artificial Intelligence Centre for Doctoral Training, School of Computer Science, Faculty of Science and Engineering, University of Bristol, 1 Cathedral Square, College Green, Bristol, BS1 5DD, United Kingdom, 44 7726100905; <email>isabella.degen@bristol.ac.uk</email></corresp></author-notes><pub-date pub-type="collection"><year>2024</year></pub-date><pub-date pub-type="epub"><day>27</day><month>11</month><year>2024</year></pub-date><volume>5</volume><elocation-id>e44384</elocation-id><history><date date-type="received"><day>17</day><month>11</month><year>2022</year></date><date date-type="rev-recd"><day>12</day><month>09</month><year>2024</year></date><date date-type="accepted"><day>16</day><month>09</month><year>2024</year></date></history><copyright-statement>&#x00A9; Isabella Degen, Kate Robson Brown, Henry W J Reeve, Zahraa S Abdallah. Originally published in JMIRx Med (<ext-link ext-link-type="uri" xlink:href="https://med.jmirx.org">https://med.jmirx.org</ext-link>), 27.11.2024. </copyright-statement><copyright-year>2024</copyright-year><license license-type="open-access" xlink:href="https://creativecommons.org/licenses/by/4.0/"><p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (<ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link>), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in JMIRx Med, is properly cited. The complete bibliographic information, a link to the original publication on <ext-link ext-link-type="uri" xlink:href="https://med.jmirx.org/">https://med.jmirx.org/</ext-link>, as well as this copyright and license information must be included.</p></license><self-uri xlink:type="simple" xlink:href="https://xmed.jmir.org/2024/1/e44384"/><related-article related-article-type="companion" ext-link-type="doi" xlink:href="10.48550/arXiv.2211.07393" xlink:title="Preprint (arXiv)" xlink:type="simple">https://arxiv.org/abs/2211.07393v1</related-article><related-article related-article-type="companion" ext-link-type="doi" xlink:href="10.2196/56993" xlink:title="Preprint (JMIR Preprints)" xlink:type="simple">http://preprints.jmir.org/preprint/44384</related-article><related-article related-article-type="companion" ext-link-type="doi" xlink:href="10.2196/67404" xlink:title="Peer-Review Report by Anonymous (Reviewer AR)" xlink:type="simple">https://med.jmirx.org/2024/1/e67404</related-article><related-article related-article-type="companion" ext-link-type="doi" xlink:href="10.2196/66922" xlink:title="Peer-Review Report by Darlinton Carvalho (Reviewer CH)" xlink:type="simple">https://med.jmirx.org/2024/1/e66922</related-article><related-article related-article-type="companion" ext-link-type="doi" xlink:href="10.2196/66595" xlink:title="Peer-Review Report by Anonymous (Reviewer DZ)" xlink:type="simple">https://med.jmirx.org/2024/1/e66595</related-article><related-article related-article-type="companion" ext-link-type="doi" xlink:href="10.2196/66643" xlink:title="Authors' Response to Peer-Review Reports" xlink:type="simple">https://med.jmirx.org/2024/1/e66643</related-article><abstract><sec><title>Background</title><p>Type 1 diabetes (T1D) is a chronic condition in which the body produces too little insulin, a hormone needed to regulate blood glucose. Various factors such as carbohydrates, exercise, and hormones impact insulin needs. Beyond carbohydrates, most factors remain underexplored. Regulating insulin is a complex control task that can go wrong and cause blood glucose levels to fall outside a range that protects people from adverse health effects. Automated insulin delivery (AID) has been shown to maintain blood glucose levels within a narrow range. Beyond clinical outcomes, data from AID systems are little researched; such systems can provide data-driven insights to improve the understanding and treatment of T1D.</p></sec><sec><title>Objective</title><p>The aim is to discover unexpected temporal patterns in insulin needs and to analyze how frequently these occur. Unexpected patterns are situations where increased insulin does not result in lower glucose or where increased carbohydrate intake does not raise glucose levels. Such situations suggest that factors beyond carbohydrates influence insulin needs.</p></sec><sec sec-type="methods"><title>Methods</title><p>We analyzed time series data on insulin on board (IOB), carbohydrates on board (COB), and interstitial glucose (IG) from 29 participants using the OpenAPS AID system. Pattern frequency in hours, days (grouped via k-means clustering), weekdays, and months were determined by comparing the 95% CI of the mean differences between temporal units. Associations between pattern frequency and demographic variables were examined. Significant differences in IOB, COB, and IG across temporal dichotomies were assessed using Mann-Whitney <italic>U</italic> tests. Effect sizes and Euclidean distances between variables were calculated. Finally, the forecastability of IOB, COB, and IG for the clustered days was analyzed using Granger causality.</p></sec><sec sec-type="results"><title>Results</title><p>On average, 13.5 participants had unexpected patterns and 9.9 had expected patterns. The patterns were more pronounced (<italic>d</italic>&#x003E;0.94) when comparing hours of the day and similar days than when comparing days of the week or months (0.3&#x003C;<italic>d</italic>&#x003C;0.52). Notably, 11 participants exhibited a higher IG overnight despite concurrently higher IOB (10/11). Additionally, 17 participants experienced an increase in IG after COB decreased after meals. The significant associations between pattern frequency and demographics were moderate (0.31&#x2264;<italic>&#x03C4;</italic>&#x2264;0.48). Between clusters, mean IOB (<italic>P</italic>=.03, <italic>d</italic>=0.7) and IG (<italic>P</italic>=.02, <italic>d</italic>=0.67) differed significantly, but COB did not (<italic>P</italic>=.08, <italic>d</italic>=0.55). IOB and IG were most similar (mean distance 5.08, SD 2.25), while COB and IG were most different (mean distance 11.43, SD 2.6), suggesting that AID attempts to counteract both observed and unobserved factors that impact IG.</p></sec><sec sec-type="conclusions"><title>Conclusions</title><p>Our study shows that unexpected patterns in the insulin needs of people with T1D are as common as expected patterns. Unexpected patterns cannot be explained by carbohydrates alone. Our results highlight the complexity of glucose regulation and emphasize the need for personalized treatment approaches. Further research is needed to identify and quantify the factors that cause these patterns.</p></sec></abstract><kwd-group><kwd>multivariate time series</kwd><kwd>k-means</kwd><kwd>clustering</kwd><kwd>machine learning</kwd><kwd>temporal patterns</kwd><kwd>data-driven</kwd><kwd>OpenAPS</kwd><kwd>open dataset</kwd><kwd>type 1 diabetes</kwd><kwd>insulin needs</kwd></kwd-group></article-meta></front><body><sec id="s1" sec-type="intro"><title>Introduction</title><p>Type 1 diabetes (T1D) is a chronic condition where the body produces little or no insulin, a hormone required to regulate blood glucose levels. The principal treatment for T1D is exogenous insulin [<xref ref-type="bibr" rid="ref1">1</xref>]. Insulin must be skillfully matched to carbohydrate intake to avoid increased blood glucose levels. Beyond carbohydrates, various factors such as exercise, stress, illness, and hormones affect insulin needs [<xref ref-type="bibr" rid="ref1">1</xref>]. These factors have varying lagging and long-lasting effects and remain underexplored. Hence, insulin dosing remains a complex control task that can go wrong and result in blood glucose levels outside the range that protects people with T1D from adverse health effects [<xref ref-type="bibr" rid="ref2">2</xref>].</p><p>Automated insulin delivery (AID) systems, comprising an insulin pump, a continuous glucose monitor (CGM), and a decision algorithm, represent state-of-the-art T1D treatment [<xref ref-type="bibr" rid="ref3">3</xref>]. Both commercial [<xref ref-type="bibr" rid="ref4">4</xref>] and open-source AID systems [<xref ref-type="bibr" rid="ref5">5</xref>] are becoming more widely adopted. Machine learning research for managing T1D [<xref ref-type="bibr" rid="ref6">6</xref>] focuses on the safety of AID systems, improving the insulin dosing decision algorithms, improving blood glucose prediction [<xref ref-type="bibr" rid="ref7">7</xref>,<xref ref-type="bibr" rid="ref8">8</xref>], predicting hypoglycemia [<xref ref-type="bibr" rid="ref9">9</xref>], and predicting insulin sets [<xref ref-type="bibr" rid="ref10">10</xref>] and blood glucose sensor failures [<xref ref-type="bibr" rid="ref11">11</xref>]. This research uses diverse machine learning methods including support vector machines [<xref ref-type="bibr" rid="ref12">12</xref>], random forests [<xref ref-type="bibr" rid="ref13">13</xref>], and combined approaches [<xref ref-type="bibr" rid="ref14">14</xref>]. In [<xref ref-type="bibr" rid="ref13">13</xref>], random forests were used to predict blood glucose levels, leveraging multivariate data on daily rhythms in glucose metabolism. Data used for these studies were either from simulated patients [<xref ref-type="bibr" rid="ref15">15</xref>] or collected in clinical settings, including around 5&#x2010;30 people. Crucially, research efforts concentrate primarily on predicting blood glucose levels to inform the more ambitious task of controlling these levels, which requires knowledge of the causal structure. Our research uses a data-centric approach to explore the effects of lesser-known causal interactions in glucose metabolism.</p><p>Both commercial and open-source AID solutions effectively regulate blood glucose levels [<xref ref-type="bibr" rid="ref16">16</xref>-<xref ref-type="bibr" rid="ref22">22</xref>]. Although AID data are often used to assess clinical outcomes and system safety, its potential for broader research remains largely untapped. One study that goes beyond clinical outcomes has looked at blood glucose outcomes and variability concerning gender [<xref ref-type="bibr" rid="ref23">23</xref>]. Other T1D research focuses on issues such as predicting diabetes onset [<xref ref-type="bibr" rid="ref24">24</xref>], predicting changes in behavior, and evaluating the efficacy of treatment. These researchers stress the importance of data-driven methods and the shift toward tailored management of therapies. Research into AID data offers insights into glucose regulation in free-living conditions. Further advantages of AID data include more comprehensive and accurate datasets than manual treatment records, as well as more consistent, indefatigable, undistracted, emotionless, and replicable insulin dosing decision-making by an algorithm compared to human decision-making. However, open-source AID data collected in real-life conditions come with the challenges of irregularities, noneven sampling, and missing data, which make it hard to handle the data with current time series techniques. In this study, we use the OpenAPS Data Commons dataset, which is an extensive dataset collected in real-life conditions from 183 people with T1D who use an open-source AID system [<xref ref-type="bibr" rid="ref25">25</xref>]. From the AID device&#x2019;s extensive system logs, we are focusing on the insulin on board (IOB), carbohydrates on board (COB), and interstitial glucose (IG) information. The insulin and carbohydrates &#x201C;on board&#x201D; values are calculations of the AID to model how much insulin and carbohydrates are active at any point in time [<xref ref-type="bibr" rid="ref26">26</xref>,<xref ref-type="bibr" rid="ref27">27</xref>].</p><p>The goal of insulin dosing is euglycemia, the state when blood glucose levels are within the normal range. In clinical practice, carbohydrate intake is considered the most important factor in determining insulin needs [<xref ref-type="bibr" rid="ref2">2</xref>]. Insulin needs are estimated by monitoring glucose levels after carbohydrate intake or fasting. If glucose levels remain in the normal range, the insulin needs for that time are met; if glucose levels rise, the insulin dose is too small or late; and if glucose levels drop, the insulin dose is too high or early [<xref ref-type="bibr" rid="ref2">2</xref>,<xref ref-type="bibr" rid="ref28">28</xref>-<xref ref-type="bibr" rid="ref30">30</xref>]. This experimentation has been formalized&#x2014;for example, in the educational program called Dose Adjustment for Normal Eating&#x2014;and been shown to improve outcomes but with mixed long-term success [<xref ref-type="bibr" rid="ref31">31</xref>]. We know that euglycemia is the result of a complex interplay of metabolic processes that lower and increase blood glucose levels and change the effect that hormones like insulin have [<xref ref-type="bibr" rid="ref32">32</xref>-<xref ref-type="bibr" rid="ref34">34</xref>]. Unobserved confounding factors influencing insulin needs include other macronutrients, exercise, stress, and menstrual cycle. Fat and protein affect glucose levels by impacting carbohydrate absorption and being broken down into glucose [<xref ref-type="bibr" rid="ref35">35</xref>]. Exercise triggers a complex neuroendocrine response that is impaired in people with T1D and necessitates insulin adjustment [<xref ref-type="bibr" rid="ref36">36</xref>]. Stress alters glucose metabolism and insulin production [<xref ref-type="bibr" rid="ref37">37</xref>,<xref ref-type="bibr" rid="ref38">38</xref>], while the fluctuation in female hormones continuously changes insulin requirements [<xref ref-type="bibr" rid="ref39">39</xref>]. These factors lead to unexpected situations, for example, when eating carbohydrates does not lead to increased glucose levels, and glucose levels increasing in the absence of carbohydrate intake. Currently, these factors are not continuously measured and not systematically considered in insulin dosing [<xref ref-type="bibr" rid="ref1">1</xref>,<xref ref-type="bibr" rid="ref2">2</xref>,<xref ref-type="bibr" rid="ref30">30</xref>].</p><p>This study aims to identify and quantify expected and unexpected temporal patterns in insulin needs using AID data. AID data provides a novel opportunity to research the impact of unobserved confounding factors on blood glucose due to the automatic (albeit with a lag) insulin dose adjustment by the algorithm attempting to keep IG within a specified range. Our hypothesis is that unexpected temporal patterns in insulin needs are common in AID data. Our findings aim to encourage more research into less-explored factors that change insulin needs and to use this information to improve insulin dosing decision-making. We further hope to motivate more research into time series pattern-finding methods that can deal with this complex type of real-life system data.</p></sec><sec id="s2" sec-type="methods"><title>Methods</title><sec id="s2-1"><title>Overview</title><p>The methods and results are organized as follows: we describe the data and participants; explain how similar days were grouped; define the &#x201C;expected&#x201D; and &#x201C;unexpected&#x201D; patterns; analyze how common the patterns are for various time resolutions; investigate the relationship between pattern frequency and demographic factors; explore how IOB, COB, and IG compare across various temporal dichotomies; and finally study whether past values of IOB, COB, and IG can predict each other.</p></sec><sec id="s2-2"><title>Data and Population</title><p>We analyzed the OpenAPS Data Commons dataset, which consists of open-source AID data collected in free-living conditions from people with T1D and their self-reported demographic data [<xref ref-type="bibr" rid="ref25">25</xref>]. OpenAPS was selected (n=116), being the most frequently used system, excluding the AndroidAPS and Loop systems. From the OpenAPS device status files, the enacted time stamp and IOB, COB, and IG (called BG in the dataset) values were read and processed into regularly, hourly sampled and equal length daily segments for each person. The time stamps were made uniform by translating the different formats into UTC. Time stamps without time zone information were imputed with time zone information from previous time stamps and missing time stamp entries were dropped. The irregular time series were resampled into regular time series with an hourly frequency aggregating values into a mean value. To avoid resampling over periods without sufficient data points, days with less than 1 reading per hour were dropped. Note that this excludes days when the system was interrupted for more than an hour, such as when the CGM sensor was changed. To ensure we gained a representative picture of patterns for each participant, we excluded people with less than 30 days of data [<xref ref-type="bibr" rid="ref40">40</xref>]. The code to preprocess the OpenAPS Data Commons data into regularly, hourly sampled time series has been made available [<xref ref-type="bibr" rid="ref41">41</xref>]. The population whose patterns were analyzed in detail is group 1 (n=29). Demographic information was available for 26 of the individuals. <xref ref-type="fig" rid="figure1">Figure 1</xref> shows how the people were selected. Group 1 consists of the participants who have more than 29 days of data; group 2 (n=28) is the subgroup of them who have at least 3 days in each cluster; group 3 (n=28) is the subgroup with data from all 7 days of the week; group 4 (n=8) is the subgroup with data from at least 4 different months that include December, January, February, June, July, and August; and group 5 (n=16) is the subgroup with data from more than 1 year.</p><p>To describe the resulting data, we calculated the mean, SD, range, and amount of data for IOB, COB, and IG, as well as the demographic data for group 1. For individuals with multiple demographic reports, we used the report closest to the most current AID record. For IOB, COB, and IG, we investigated the distribution properties including kurtosis, skew, number of modes, and whether IOB, COB, and IG follow a normal distribution. We used Python for all analyses. To calculate the distribution properties, we used Pandas [<xref ref-type="bibr" rid="ref42">42</xref>] and NumPy [<xref ref-type="bibr" rid="ref43">43</xref>], while to test for normal distribution, we used SciPy [<xref ref-type="bibr" rid="ref44">44</xref>].</p><fig position="float" id="figure1"><label>Figure 1.</label><caption><p>Flowchart of the selection process for the 29 people whose data were used in this study. Groups 2&#x2010;5 are subgroups of the participants from group 1 with sufficient data for the different time resolutions.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="xmed_v5i1e44384_fig01.png"/></fig></sec><sec id="s2-3"><title>Clustering Similar Days</title><p>To group similar days, we used time series k-means clustering. To prevent bias from different measurement scales, we applied min-max scaling of IOB, COB, and IG values to a range of 0 to 10 for each participant. Min-max scaling does not change the distribution, but it ensures that IOB (measured in U) with a value range in the low tens, COB (measured in grams) with a value range in the tens, and IG (measured in mg/dL) with a value range in the low hundreds all have the same importance for the distance calculation [<xref ref-type="bibr" rid="ref45">45</xref>,<xref ref-type="bibr" rid="ref46">46</xref>]. K-means clustering requires specifying the number of clusters k. We determined k using silhouette analysis [<xref ref-type="bibr" rid="ref47">47</xref>,<xref ref-type="bibr" rid="ref48">48</xref>]. Silhouette analysis calculates the distance between all days and compares the average distance of days in the same cluster to those in other clusters. The resulting average silhouette score is a number between &#x2212;1 and 1. Higher silhouette scores indicate that the days in each cluster are similar and that the clusters are well separated. Negative scores convey that the days in a cluster are closer to days in other clusters. Both silhouette analysis and k-means clustering require an appropriate similarity measure to compare the time series. We evaluated Euclidean, dynamic time warping (DTW) [<xref ref-type="bibr" rid="ref49">49</xref>], and SoftDTW [<xref ref-type="bibr" rid="ref50">50</xref>] distances. The Euclidean distance is calculated by adding the difference between each hour of the day and dividing the total by 24. DTW and SoftDTW attempt to align similar elements between the time series by allowing the hours compared to warp. Despite DTW resulting in higher average silhouette scores, we used the Euclidean distance, as it allows us to compare the same hours of the day between the clusters. The optimal number of clusters for most participants was 2, which we used for everyone. We presented the time series clustering used in this study in more detail at the NeurIPS 2022 Time Series for Health Workshop [<xref ref-type="bibr" rid="ref51">51</xref>]. For clustering, we used TSLearn [<xref ref-type="bibr" rid="ref52">52</xref>]; for scaling, we used scikit-learn [<xref ref-type="bibr" rid="ref53">53</xref>].</p></sec><sec id="s2-4"><title>Pattern Definition</title><p>We defined the &#x201C;expected&#x201D; and &#x201C;unexpected&#x201D; patterns based on the logic of the standard trivariate model for IOB, COB, and IG typically used for insulin dosing, as shown in <xref ref-type="table" rid="table1">Table 1</xref>. The patterns are determined by sequentially setting the level of each of the 3 variables higher than usual and then assigning the expected or unexpected level of the variable considered causal to the higher levels observed in the first variable. This results in 3 &#x201C;expected&#x201D; patterns of insulin need for which the trivariate model works (E1-E3) and 3 &#x201C;unexpected&#x201D; patterns of insulin need in which unobserved confounders override the logic of the standard model (U1-U3). Expected pattern E1 describes situations when IOB is higher than usual, therefore COB is expected to be higher than usual, and IG is similar (IOB matches COB well), lower (too much IOB), or higher (too little IOB). In the unexpected form of this pattern U1, when IOB is higher, COB unexpectedly is similar or lower, and IG unexpectedly is similar (IOB matches confounders well) or higher (too little IOB to cover confounders). Expected pattern E2 describes situations when IG is higher than usual, therefore COB is expected to be higher than usual, and IOB is similar (too little IOB to cover more COB), lower (IOB mistakenly reduced), or higher (IOB not sufficiently increased). In the unexpected form of this pattern U2, when IG is higher, COB unexpectedly is similar or lower, and IOB unexpectedly is similar (too little IOB for confounders) or higher (IOB not sufficiently increased to cover confounders). Finally, expected pattern E3 describes the same situations as pattern E1 but the causal variable for higher COB this time is IOB. Therefore, in the unexpected form of this pattern U3, when COB is higher than usual, IOB unexpectedly is similar or lower, and IG unexpectedly is similar (COB matches confounders) or lower (too little COB to cover confounders).</p><table-wrap id="t1" position="float"><label>Table 1.</label><caption><p>Overview of expected (E1-E3) and unexpected (U1-U3) patterns of insulin needs in type 1 diabetes using the standard trivariate insulin on board (IOB), carbohydrates on board (COB), and interstitial glucose (IG) insulin dosing model. In each of the 3 expected and 3 unexpected patterns, we observed a significantly higher mean level than usual in 1 of the 3 variates for a specific time unit.<sup><xref ref-type="table-fn" rid="table1fn1">a</xref></sup> The mean observed level of the variate thought to be causing this change is marked with <sup><xref ref-type="table-fn" rid="table1fn2">b</xref></sup> and the mean observed level for the third variate with <sup><xref ref-type="table-fn" rid="table1fn3">c</xref></sup>. If the level of the causal variate and the third variate follow the model, it is an expected pattern; if not, it is an unexpected pattern.</p></caption><table id="table1" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom" colspan="3">Pattern description</td><td align="left" valign="bottom" colspan="3">Observed levels for variates</td></tr><tr><td align="left" valign="bottom" colspan="3"/><td align="left" valign="bottom">IOB</td><td align="left" valign="bottom">COB</td><td align="left" valign="bottom">IG</td></tr></thead><tbody><tr><td align="left" valign="top" colspan="6"><bold>Expected patterns of insulin needs (trivariate model works)</bold></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">E1</td><td align="left" valign="top">Higher IOB is needed for higher COB</td><td align="left" valign="top">Higher<sup><xref ref-type="table-fn" rid="table1fn1">a</xref></sup></td><td align="left" valign="top">Higher<sup><xref ref-type="table-fn" rid="table1fn2">b</xref></sup></td><td align="left" valign="top">Any<sup><xref ref-type="table-fn" rid="table1fn3">c</xref></sup></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">E2</td><td align="left" valign="top">Higher IG is due to higher COB</td><td align="left" valign="top">Any<sup><xref ref-type="table-fn" rid="table1fn3">c</xref></sup></td><td align="left" valign="top">Higher<sup><xref ref-type="table-fn" rid="table1fn2">b</xref></sup></td><td align="left" valign="top">Higher<sup><xref ref-type="table-fn" rid="table1fn1">a</xref></sup></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">E3</td><td align="left" valign="top">Higher COB needs higher IOB</td><td align="left" valign="top">Higher<sup><xref ref-type="table-fn" rid="table1fn2">b</xref></sup></td><td align="left" valign="top">Higher<sup><xref ref-type="table-fn" rid="table1fn1">a</xref></sup></td><td align="left" valign="top">Any<sup><xref ref-type="table-fn" rid="table1fn3">c</xref></sup></td></tr><tr><td align="left" valign="top" colspan="6"><bold>Unexpected patterns of insulin needs (confounding factors involved)</bold></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">U1</td><td align="left" valign="top">Higher IOB is not due to higher COB</td><td align="left" valign="top">Higher<sup><xref ref-type="table-fn" rid="table1fn1">a</xref></sup></td><td align="left" valign="top">Similar, lower<sup><xref ref-type="table-fn" rid="table1fn2">b</xref></sup></td><td align="left" valign="top">Similar, higher<sup><xref ref-type="table-fn" rid="table1fn3">c</xref></sup></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">U2</td><td align="left" valign="top">Higher IG is not due to higher COB</td><td align="left" valign="top">Similar, higher<sup><xref ref-type="table-fn" rid="table1fn3">c</xref></sup></td><td align="left" valign="top">Similar, lower<sup><xref ref-type="table-fn" rid="table1fn2">b</xref></sup></td><td align="left" valign="top">Higher<sup><xref ref-type="table-fn" rid="table1fn1">a</xref></sup></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">U3</td><td align="left" valign="top">Higher COB does not require higher IOB</td><td align="left" valign="top">Similar, lower<sup><xref ref-type="table-fn" rid="table1fn2">b</xref></sup></td><td align="left" valign="top">Higher<sup><xref ref-type="table-fn" rid="table1fn1">a</xref></sup></td><td align="left" valign="top">Similar, lower<sup><xref ref-type="table-fn" rid="table1fn3">c</xref></sup></td></tr></tbody></table><table-wrap-foot><fn id="table1fn1"><p><sup>a</sup>Variate for which a significantly higher mean level than usual is observed for a specific time unit.</p></fn><fn id="table1fn2"><p><sup>b</sup>Expected/unexpected mean level for the variate thought to be causing the difference in variate.</p></fn><fn id="table1fn3"><p><sup>c</sup>Expected/unexpected mean level observed for the leftover third variate.</p></fn></table-wrap-foot></table-wrap></sec><sec id="s2-5"><title>Frequency of Expected and Unexpected Patterns</title><p>To determine how often patterns occur, we counted the frequency of all patterns defined in <xref ref-type="table" rid="table1">Table 1</xref> for each participant by calculating the 95% CI of the differences in means between the different time units. We counted the patterns for the following time resolutions: comparing the hours of the day, the same hours of the day between the 2 clusters, the days of the week, and the months of the year. For each comparison, the means &#x03BC;<sub>1</sub> and &#x03BC;<sub>2</sub> were deemed similar when 0 was part of the CI, lower when CI&#x003C;0 (&#x03BC;<sub>1</sub>&#x003C;&#x03BC;<sub>2</sub>), and higher when CI&#x003E;0 (&#x03BC;<sub>1</sub>&#x003E;&#x03BC;<sub>2</sub>). We applied a Bonferroni correction to control the family-wise error rate at 5% for each time resolution. Therefore, for hours of the day, &#x03B1; was adjusted to .0002; for the clusters, &#x03B1; was adjusted to .0021; for days of the week, &#x03B1; was adjusted to .0024; and for months of the year, &#x03B1; was adjusted to .0008. Participants in group 1 were used for hours of the day, group 2 for clusters, group 3 for days of the week, and group 1 for months of the year (see <xref ref-type="fig" rid="figure1">Figure 1</xref> for a description of the groups). We calculated the empirical effect size <italic>d</italic> = (&#x03BC;<sub>1</sub> &#x2013; &#x03BC;<sub>2</sub>) / s<sub>p</sub> (Equation 1) using the pooled standard deviation s<sub>p</sub> = square root(((n<sub>1</sub> &#x2013; 1) s<sub>1</sub><sup>2</sup> + (n<sub>2</sub> &#x2013; 1) s<sub>2</sub><sup>2</sup>) / (n<sub>1</sub> + n<sub>2</sub> &#x2013; 2)) (Equation 2) [<xref ref-type="bibr" rid="ref54">54</xref>]. Note that n<sub>1</sub> and n<sub>2</sub> are the numbers of observations, and s<sub>1</sub> and s<sub>2</sub> are the standard deviations of the time units compared. Further, we calculated the number of observations n that would be required for a power of 80% using n = 2((z<sub>&#x03B1;/2</sub> + 0.84) / <italic>d</italic>)<sup>2</sup> (Equation 3) [<xref ref-type="bibr" rid="ref54">54</xref>], where z<sub>&#x03B1;/2</sub> is the critical value of the Bonferroni adjusted &#x03B1; for each time resolution.</p></sec><sec id="s2-6"><title>Relationships Between Pattern Frequency and Factors</title><p>Kendall &#x03C4; [<xref ref-type="bibr" rid="ref55">55</xref>] variant b (to allow for ties [<xref ref-type="bibr" rid="ref56">56</xref>]) was used to assess the relationships between pattern frequency and the self-reported demographics for the different participants, except for sex, for which we only had 2 females and 7 males. We selected Kendall &#x03C4; as it can relate continuous and ordinal variables and deals well with outliers [<xref ref-type="bibr" rid="ref57">57</xref>]. Further, unlike Pearson <italic>r</italic>, it can handle skewed variables [<xref ref-type="bibr" rid="ref57">57</xref>] and assess nonlinear relationships. Compared to Spearman &#x03C1;, Kendall &#x03C4; provides more protection against type I errors in severe conditions, requires smaller sample sizes, and is easy to interpret [<xref ref-type="bibr" rid="ref57">57</xref>]. We calculated both the strength of the relationship &#x03C4; and the statistical significance <italic>P</italic>. The null hypothesis stated that the 2 variables are not related (<italic>&#x03C4;</italic>=0) using the 2-tailed alternative hypothesis. Depending on the presence of ties, <italic>P</italic> is calculated using either the exact or asymptotic method [<xref ref-type="bibr" rid="ref56">56</xref>]. We calculated Kendall &#x03C4; using SciPy [<xref ref-type="bibr" rid="ref44">44</xref>], which offers an automatic option for the <italic>P</italic> calculation method. For relationships where <italic>P</italic>&#x003C;.05, we concluded that the relationship was statistically significant. Further, we calculated the number of participants that would be needed for a power of 80% as n = 4+0.437((z<sub>&#x03B1;/2</sub> + z<sub>&#x03B2;</sub>) / (z(&#x03C4;<sub>b1</sub>) &#x2013; z(&#x03C4;<sub>bo</sub>)))<sup>2</sup> (Equation 4) [<xref ref-type="bibr" rid="ref58">58</xref>], where z<sub>&#x03B1;/2</sub>=1.96, z<sub>&#x03B2;</sub>=0.84, z(&#x03C4;<sub>b1</sub>) is the Fisher <italic>z</italic> transformed value of &#x03C4;, and z(&#x03C4;<sub>b0</sub>) is the Fisher <italic>z</italic> transformed value for the null hypothesis <italic>&#x03C4;</italic>=0, which is 0.</p></sec><sec id="s2-7"><title>Comparison of IOB, COB, and IG</title><p>We compared IOB, COB, and IG across the following 4 temporal dichotomies: the clusters of similar days; workdays (Monday-Friday) versus weekends (Saturday and Sunday); winter (December-February) versus summer months (June-August); and first versus second year of AID data. This comparison was performed using the nonparametric 2-tailed Mann-Whitney <italic>U</italic> test [<xref ref-type="bibr" rid="ref59">59</xref>], where we rejected the null hypothesis that &#x03BC;<sub>1</sub>=&#x03BC;<sub>2</sub> when <italic>P</italic>&#x003C;.05. The empirical effect size <italic>d</italic> was calculated using Equation 1 but with the simple pooled standard deviation s<sub>p</sub> = square root((s<sub>1</sub><sup>2</sup> + s<sub>2</sub><sup>2</sup>) / 2). The number of participants required for a power of 80% for each temporal category was established using the empirical effect sizes and <italic>&#x03B1;</italic>=.05. We then grouped the participants with significant opposite effects by comparing the 95% CIs of mean differences. For this comparison, we applied a Bonferroni correction to control the family-wise error rate at 5%. Therefore, to compare the 2 clusters and the weekdays and weekends, &#x03B1; was adjusted to .0018; to compare winter and summer months, &#x03B1; was .0063; and to compare the first and the second year, &#x03B1; was .0031. The effect size <italic>d</italic> was calculated using Equation 1. Finally, to further compare the means between the 2 clusters, we visually inspected the clusters&#x2019; 95% CIs of mean IOB, COB, and IG, and calculated the Euclidean distance between these means. We used group 2 to compare clusters, group 3 to compare workdays and weekends, group 4 to compare winter and summer months, and group 5 to compare the first and second year of AID data. For the 3 people who had days from 3 different years in group 5, we used the 2 years with more data. Given that k-means clustering randomly assigned the cluster labels for each participant, we consistently labeled the clusters, calling the cluster with the lower mean IOB &#x201C;cluster 1.&#x201D; For the Mann-Whitney <italic>U</italic> tests, we used SciPy [<xref ref-type="bibr" rid="ref44">44</xref>]; for the power calculation, we used G*Power software (version 3.1.9.6; Erdfelder, Buchner, and Lang [<xref ref-type="bibr" rid="ref60">60</xref>]).</p></sec><sec id="s2-8"><title>Forecastability of IOB, COB, and IG</title><p>We explored whether IOB, COB, and IG can forecast each other for each cluster assessing Granger causality. Granger causality between 2 time series determines if 1 time series carries information about the other time series to forecast it at a certain lag (delay) [<xref ref-type="bibr" rid="ref61">61</xref>,<xref ref-type="bibr" rid="ref62">62</xref>]. We investigated a lag of 1 hour, 2 hours, and 3 hours. We concluded that the lag that achieves the lowest <italic>P</italic> value for the Granger causality works the best. The time series investigated need to be stationary. It is common practice to run an augmented Dickey-Fuller (ADF) unit root test to test for the stationarity of a time series [<xref ref-type="bibr" rid="ref63">63</xref>,<xref ref-type="bibr" rid="ref64">64</xref>]. If the mean of a cluster was not stationary, we took the derivative until we passed the ADF test for stationarity with <italic>P</italic>&#x003C;.05 for all variates. Note that in Granger causality, if variate 1 can be used to forecast variate 2, the opposite is not necessarily true. Therefore, we evaluated Granger causality for all pairwise permutations of IOB, COB, and IG. Statmodels [<xref ref-type="bibr" rid="ref65">65</xref>] was used to calculate Granger causality and for the ADF test. This method runs 4 different statistical tests, and we required all of them to have <italic>P</italic>&#x003C;.05 to infer Granger causality. We calculated the derivative using NumPy [<xref ref-type="bibr" rid="ref43">43</xref>].</p></sec><sec id="s2-9"><title>Ethical Considerations</title><p>The Faculty of Engineering Research Ethics Committee of the University of Bristol reviewed and approved this study. The ethics approval code is 11270. This ethics application included and extended the OpenAPS Data Commons research guidelines for working with the OpenAPS Data Commons dataset as set out by the community, which can be found on their website [<xref ref-type="bibr" rid="ref66">66</xref>]. The application also included the permission granted to research this data by the OpenAPS Data Commons administrator. The OpenAPS Data Commons data and the demographic data used in this study have been voluntarily donated via the Open Humans platform by people who use an open-source AID or their parents. The Open Humans platform guides the participants through the donation process and automatically deidentifies them using a numerical ID that must not be published. Participants can recall their data at any time, which forces us to delete their data from our copy of the data. The uploading of data is ongoing; we worked with a version of the dataset from April 2022. We have further improved the participants&#x2019; privacy by excluding their free-form notes sometimes present in the data and using UTC timestamps without geolocation information. The participants have not received compensation for donating their data.</p></sec></sec><sec id="s3" sec-type="results"><title>Results</title><sec id="s3-1"><title>Data and Population</title><p>A total of 29 participants had at least 30 days of data with at least 1 reading each hour. <xref ref-type="table" rid="table2">Table 2</xref> shows the number of participants (n), the mean (SD), and the range of values for all the characteristics. In addition, 21 of the 29 participants reported having T1D themselves, 5 are parents of a child with T1D, and we did not have this information for the remaining 3 participants. For 19 participants, sex was unknown; there were 7 reported to be male and 3 reported to be female.</p><table-wrap id="t2" position="float"><label>Table 2.</label><caption><p>Characteristics from automated insulin delivery device and accompanying demographic data for group 1 (n=29).</p></caption><table id="table2" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom" colspan="2">Characteristic</td><td align="left" valign="bottom">Participants, n</td><td align="left" valign="bottom">Mean (SD)</td><td align="left" valign="bottom">Range</td></tr></thead><tbody><tr><td align="left" valign="top" colspan="5"><bold>Automated insulin delivery device data<sup><xref ref-type="table-fn" rid="table2fn1">a</xref></sup></bold></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">Hours (count)</td><td align="left" valign="top">29</td><td align="left" valign="top">1923.3 (1807.9)</td><td align="left" valign="top">720&#x2010;9024</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">Days (count)</td><td align="left" valign="top">29</td><td align="left" valign="top">80.14 (75.3)</td><td align="left" valign="top">30&#x2010;376</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">Months (count)</td><td align="left" valign="top">29</td><td align="left" valign="top">6.38 (3.7)</td><td align="left" valign="top">3&#x2010;19</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">Years (count)</td><td align="left" valign="top">29</td><td align="left" valign="top">1.62 (0.6)</td><td align="left" valign="top">1&#x2010;3</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">Most recent year recorded (year)</td><td align="left" valign="top">29</td><td align="left" valign="top">2018.66 (1.2)</td><td align="left" valign="top">2017&#x2010;2021</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">Insulin on board (U)</td><td align="left" valign="top">29</td><td align="left" valign="top">1.66 (0.9)</td><td align="left" valign="top">0.41&#x2010;3.67</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">Carbohydrates on board (grams)</td><td align="left" valign="top">29</td><td align="left" valign="top">9.84 (5.3)</td><td align="left" valign="top">1.73&#x2010;24.08</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">Interstitial glucose (mg/dL)</td><td align="left" valign="top">29</td><td align="left" valign="top">133.92 (16.5)</td><td align="left" valign="top">98.15&#x2010;162.45</td></tr><tr><td align="left" valign="top" colspan="5"><bold>Demographics data<sup><xref ref-type="table-fn" rid="table2fn2">b</xref></sup></bold></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">Age (years)</td><td align="left" valign="top">25</td><td align="left" valign="top">36.4 (16.6)</td><td align="left" valign="top">8&#x2010;66</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">Duration with type 1 diabetes (years)</td><td align="left" valign="top">26</td><td align="left" valign="top">21.7 (14.7)</td><td align="left" valign="top">1&#x2010;56</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">Last lab-reported glycated hemoglobin A<sub>1c</sub> (mmol/mol)</td><td align="left" valign="top">25</td><td align="left" valign="top">46 (7.9)</td><td align="left" valign="top">34.4&#x2010;60.66</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">Average carbohydrates (grams/day)</td><td align="left" valign="top">25</td><td align="left" valign="top">156.7 (72.2)</td><td align="left" valign="top">20&#x2010;330</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">Average insulin (U/day)</td><td align="left" valign="top">23</td><td align="left" valign="top">41.1 (20.5)</td><td align="left" valign="top">14&#x2010;89</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">Average basal insulin (U/day)</td><td align="left" valign="top">24</td><td align="left" valign="top">22.6 (15.4)</td><td align="left" valign="top">8.6&#x2010;69.8</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">Pumping since (year)</td><td align="left" valign="top">25</td><td align="left" valign="top">2006.9 (8.8)</td><td align="left" valign="top">1980&#x2010;2018</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">Continuous glucose monitoring since (year)</td><td align="left" valign="top">25</td><td align="left" valign="top">2013.5 (3.5)</td><td align="left" valign="top">2006&#x2010;2018</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">Automated insulin delivery since (year)</td><td align="left" valign="top">25</td><td align="left" valign="top">2017.1 (0.9)</td><td align="left" valign="top">2016&#x2010;2020</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">Demographics reported (year)</td><td align="left" valign="top">26</td><td align="left" valign="top">2017.8 (1)</td><td align="left" valign="top">2017&#x2010;2020</td></tr></tbody></table><table-wrap-foot><fn id="table2fn1"><p><sup>a</sup>Automatically recorded.</p></fn><fn id="table2fn2"><p><sup>b</sup>Self-reported.</p></fn></table-wrap-foot></table-wrap><p>From <xref ref-type="table" rid="table2">Table 2</xref>, we can see that group 1 covers a good range of people regarding age and duration of T1D. The participants had excellent glucose control, with an average lab-reported glycated hemoglobin A<sub>1c</sub> (HbA<sub>1c</sub>) of 46 mmol/mol (SD 7.9). The National Institute for Health and Care Excellence recommends HbA<sub>1c</sub>&#x2264;48 mmol/mol, which in the United Kingdom, 9.8% of people with T1D achieve, and 19.5% achieve &#x003C;53 mmol/mol [<xref ref-type="bibr" rid="ref67">67</xref>,<xref ref-type="bibr" rid="ref68">68</xref>]. All the people lived in Western countries (19 in North America, 6 in Europe, 1 in Oceania, and 3 unknown). Further, the participants were early adopters of diabetes technology. On average, they started pumping in 2006, using a CGM in 2013, and using an AID system in 2017. In 2009, the uptake of insulin pumps in T1D in the USA was 43.2%, while the uptake of CGM was 10.5%; in 2019, insulin pumps were used by 54.4% (this percentage is lower for the United Kingdom) of people with T1D and and 40.9% used CGM [<xref ref-type="bibr" rid="ref69">69</xref>]. Open-source AID systems were the forerunners of commercially available AID systems, with over 100 users in 2016 [<xref ref-type="bibr" rid="ref70">70</xref>]. Commercial systems became available around 2017 [<xref ref-type="bibr" rid="ref4">4</xref>].</p><p>On average, the participants reported eating 156.7 grams (SD 72.2) of carbohydrates per day. A total of 10 people reported eating a standard amount of carbohydrates (&#x003E;130 grams/day), 17 people ate a low-carbohydrate diet (50&#x2010;130 grams/day), and 2 people ate a very low carbohydrate diet of &#x003C;50 grams/day [<xref ref-type="bibr" rid="ref71">71</xref>]. Only 1 person reported eating more than 266 grams/day. The total amount of daily insulin varied from person to person (mean 41.1 U, SD 20.5).</p><p>IOB, COB, and IG did not follow a normal distribution for any participant. We rejected the null hypothesis of the normal test with <italic>P</italic>&#x003C;.001. The distribution characteristics varied considerably between the individuals. The kurtosis results (range &#x2212;0.2 to 26.18) indicated that these distributions are more peaked than a normal distribution, with one exception where a single participant showed a flatter IG distribution. The skew results indicated that lower values are more frequent than higher values (range 0.06 to 4.9). Regarding the most frequent value (mode), only COB had a mode of 1 for everyone. IOB and IG were multimodal, IOB (range 1&#x2010;22) more so than IG (range 1&#x2010;3). A total of 21 people had 1 IG mode, 6 had 2, and 2 had 3. IOB had more variations: only 12 people had 1 mode, and 4 had 3 modes. One person had 22 modes, another had 21; for the others, the number of modes was &#x2264;10 (see Table S1 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref> for more details).</p></sec><sec id="s3-2"><title>Clustering Similar Days</title><p>The Euclidean distance achieved the lowest average silhouette scores (mean silhouette score 0.17, SD 0.09) and SoftDTW the highest (mean 0.32, SD 0.016; see Table S2 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>). Creating 2 clusters achieved the highest silhouette score for 21 of 29 participants in group 1. For the other 8 participants, the best cluster number k varied between 3 and 16, with Euclidean silhouette scores ranging from 0.07 to 0.19 (see Table S3 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>).</p></sec><sec id="s3-3"><title>Frequency of Expected and Unexpected Patterns</title><p>Our results found that unexpected patterns were as frequent as their expected counterparts. <xref ref-type="table" rid="table3">Table 3</xref> shows the number of participants with 1 or more occurrences of a specific pattern for a given time resolution. The number of participants with patterns varied for the different time resolutions. Averaging across patterns, 21 participants had expected patterns (E1-E3) for hours of the day, while 23 had unexpected patterns (U1-U3). For clusters, 8.67 had expected patterns and 11.7 had unexpected patterns; for the days of the week, 2.67 had expected patterns and 8 had unexpected patterns. For months of the year, 7.33 had expected patterns and 11.3 had unexpected patterns. Averaging across the different time resolutions and patterns, 9.9 participants had expected patterns and 13.5 participants had unexpected patterns. Note that the participants with patterns in one of the time resolutions are not necessarily the same individuals in another. Not all participants had patterns. When summing up all expected and unexpected patterns across all time resolutions, 3 participants had no expected pattern in any of the time resolutions. All participants had at least one unexpected pattern in 1 or more of the time resolutions. However, for hours of the day, 2 participants of 29 had no patterns; for clusters, 6 of 28; for days of the week, 15 of 29; and for months of the year, 10 of 29. For 1&#x2010;2 participants, the unexpected patterns continued to appear in the hours of the day and clusters in their most pronounced form for which the means of all 3 variates were forced to be significantly different in contradictory ways. The frequency of patterns varied greatly across the participants. The mean occurrence of the expected patterns was 76.1, SD 67.24, range 0&#x2010;265. For unexpected patterns, the mean occurrence was 47.14, SD 31.35, range 6&#x2010;127. The difference in occurrence between expected and unexpected patterns overall was not statistically significant (<italic>P</italic>=.08; 1-tailed Mann-Whitney <italic>U</italic> test with the alternative hypothesis that expected patterns are more frequent than unexpected patterns). Comparing the sum of the frequency of the expected forms of a pattern with their unexpected forms showed that expected pattern E1 was more frequent than unexpected pattern U1 (<italic>P</italic>=.046) and U3 (<italic>P</italic>&#x003C;.001) but expected pattern E2 was less frequent than its unexpected form U2 (<italic>P</italic>=.007), all 1-tailed Mann-Whitney <italic>U</italic> tests. Unexpected pattern U2 was the most common among participants; it describes situations when IG is higher but COB is not (see <xref ref-type="table" rid="table1">Table 1</xref> for a description of the patterns). The second most common pattern was U1, which describes situations where IOB is significantly higher but COB is not. The least common pattern was expected pattern E2, which describes situations when COB and IG are significantly higher. The latter indicates that the AID did a good job of reducing the impact of COB on IG. In general, patterns were most common in hours of the day, second most when comparing the same hours of the day between the 2 clusters, third most when comparing months of the year, and least common in days of the week. This suggests that these patterns occur in a circadian and seasonal rhythm, rather than a weekday rhythm. However, these results are also influenced by the amount of data available for each time resolution. U<italic>i</italic>&#x2019;, U<italic>i</italic>&#x2019;&#x2019;, and U<italic>i</italic>&#x2019;&#x2019;&#x2019; are stricter variations of the original pattern (<italic>i</italic>=1,2,3).</p><table-wrap id="t3" position="float"><label>Table 3.</label><caption><p>Number of participants with at least 1 occurrence of the expected or unexpected pattern, comparing hours of the day, the same hour of the day between clusters, days of the week, and months of the year.</p></caption><table id="table3" frame="hsides" rules="groups"><thead><tr><td align="left" valign="top" colspan="2">Pattern</td><td align="left" valign="top" colspan="3">Observed levels for variates</td><td align="left" valign="top" colspan="4">Number of people with the pattern n</td><td align="left" valign="top">Mean n (SD)</td></tr><tr><td align="left" valign="top" colspan="2"/><td align="left" valign="top">Insulin on board</td><td align="left" valign="top">Carbohydrates on board</td><td align="left" valign="top">Interstitial glucose</td><td align="left" valign="top">Hours of the day</td><td align="left" valign="top">Clusters</td><td align="left" valign="top">Days of the week</td><td align="left" valign="top">Months of the year</td><td align="left" valign="top"/></tr></thead><tbody><tr><td align="left" valign="top" colspan="10"><bold>Expected patterns of insulin needs</bold></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">Mean of E1-E3</td><td align="left" valign="top">&#x2014;<sup><xref ref-type="table-fn" rid="table3fn1">a</xref></sup></td><td align="left" valign="top">&#x2014;</td><td align="left" valign="top">&#x2014;</td><td align="left" valign="top">21</td><td align="left" valign="top">8.7</td><td align="left" valign="top">2.7</td><td align="left" valign="top">7.3</td><td align="left" valign="top">9.9 (7.82)</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">E1</td><td align="left" valign="top">Higher<sup><xref ref-type="table-fn" rid="table3fn2">b</xref></sup></td><td align="left" valign="top">Higher<sup><xref ref-type="table-fn" rid="table3fn3">c</xref></sup></td><td align="left" valign="top">Any<sup><xref ref-type="table-fn" rid="table3fn4">d</xref></sup></td><td align="left" valign="top">24</td><td align="left" valign="top">9</td><td align="left" valign="top">3</td><td align="left" valign="top">8</td><td align="left" valign="top">11 (9.06)</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">E2</td><td align="left" valign="top">Any<sup><xref ref-type="table-fn" rid="table3fn4">d</xref></sup></td><td align="left" valign="top">Higher<sup><xref ref-type="table-fn" rid="table3fn3">c</xref></sup></td><td align="left" valign="top">Higher<sup><xref ref-type="table-fn" rid="table3fn2">b</xref></sup></td><td align="left" valign="top">15</td><td align="left" valign="top">16</td><td align="left" valign="top">11</td><td align="left" valign="top">14</td><td align="left" valign="top">7.8 (5.44)</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">E3</td><td align="left" valign="top">Higher<sup><xref ref-type="table-fn" rid="table3fn3">c</xref></sup></td><td align="left" valign="top">Higher<sup><xref ref-type="table-fn" rid="table3fn2">b</xref></sup></td><td align="left" valign="top">Any<sup><xref ref-type="table-fn" rid="table3fn4">d</xref></sup></td><td align="left" valign="top">24</td><td align="left" valign="top">9</td><td align="left" valign="top">3</td><td align="left" valign="top">8</td><td align="left" valign="top">11 (9.06)</td></tr><tr><td align="left" valign="top" colspan="10"><bold>Unexpected patterns of insulin needs</bold></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">Mean of U1-U3</td><td align="left" valign="top">&#x2014;</td><td align="left" valign="top">&#x2014;</td><td align="left" valign="top">&#x2014;</td><td align="left" valign="top">23</td><td align="left" valign="top">11.7</td><td align="left" valign="top">8</td><td align="left" valign="top">11.3</td><td align="left" valign="top">13.5 (6.55)</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">U1</td><td align="left" valign="top">Higher<sup><xref ref-type="table-fn" rid="table3fn2">b</xref></sup></td><td align="left" valign="top">Similar, lower<sup><xref ref-type="table-fn" rid="table3fn3">c</xref></sup></td><td align="left" valign="top">Similar, higher<sup><xref ref-type="table-fn" rid="table3fn4">d</xref></sup></td><td align="left" valign="top">26</td><td align="left" valign="top">13</td><td align="left" valign="top">9</td><td align="left" valign="top">8</td><td align="left" valign="top">14 (8.29)</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">U2</td><td align="left" valign="top">Similar, higher<sup><xref ref-type="table-fn" rid="table3fn4">d</xref></sup></td><td align="left" valign="top">Similar, lower</td><td align="left" valign="top">Higher<sup><xref ref-type="table-fn" rid="table3fn2">b</xref></sup></td><td align="left" valign="top">23</td><td align="left" valign="top">16</td><td align="left" valign="top">11</td><td align="left" valign="top">14</td><td align="left" valign="top">16 (5.1)</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">U3</td><td align="left" valign="top">Similar, lower<sup><xref ref-type="table-fn" rid="table3fn3">c</xref></sup></td><td align="left" valign="top">Higher<sup><xref ref-type="table-fn" rid="table3fn2">b</xref></sup></td><td align="left" valign="top">Similar, lower<sup><xref ref-type="table-fn" rid="table3fn4">d</xref></sup></td><td align="left" valign="top">20</td><td align="left" valign="top">6</td><td align="left" valign="top">4</td><td align="left" valign="top">12</td><td align="left" valign="top">10.5 (7.19)</td></tr><tr><td align="left" valign="top" colspan="10"><bold>Unexpected patterns, most pronounced form</bold></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">U1&#x2019;</td><td align="left" valign="top">Higher<sup><xref ref-type="table-fn" rid="table3fn2">b</xref></sup></td><td align="left" valign="top">Lower<sup><xref ref-type="table-fn" rid="table3fn3">c</xref></sup></td><td align="left" valign="top">Higher<sup><xref ref-type="table-fn" rid="table3fn4">d</xref></sup></td><td align="left" valign="top">1</td><td align="left" valign="top">1</td><td align="left" valign="top">0</td><td align="left" valign="top">0</td><td align="left" valign="top">0.5 (0.58)</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">U2&#x2019;</td><td align="left" valign="top">Higher<sup><xref ref-type="table-fn" rid="table3fn4">d</xref></sup></td><td align="left" valign="top">Lower<sup><xref ref-type="table-fn" rid="table3fn3">c</xref></sup></td><td align="left" valign="top">Higher<sup><xref ref-type="table-fn" rid="table3fn2">b</xref></sup></td><td align="left" valign="top">1</td><td align="left" valign="top">1</td><td align="left" valign="top">0</td><td align="left" valign="top">0</td><td align="left" valign="top">0.5 (0.58)</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">U3&#x2019;</td><td align="left" valign="top">Lower<sup><xref ref-type="table-fn" rid="table3fn3">c</xref></sup></td><td align="left" valign="top">Higher<sup><xref ref-type="table-fn" rid="table3fn2">b</xref></sup></td><td align="left" valign="top">Lower<sup><xref ref-type="table-fn" rid="table3fn4">d</xref></sup></td><td align="left" valign="top">2</td><td align="left" valign="top">0</td><td align="left" valign="top">0</td><td align="left" valign="top">1</td><td align="left" valign="top">0.5 (0.58)</td></tr><tr><td align="left" valign="top" colspan="10"><bold>Unexpected patterns, not allowing similar in third variate<sup><xref ref-type="table-fn" rid="table3fn4">d</xref></sup></bold></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">U1&#x2019;&#x2019;</td><td align="left" valign="top">Higher<sup><xref ref-type="table-fn" rid="table3fn2">b</xref></sup></td><td align="left" valign="top">Similar, lower<sup><xref ref-type="table-fn" rid="table3fn3">c</xref></sup></td><td align="left" valign="top">Higher<sup><xref ref-type="table-fn" rid="table3fn4">d</xref></sup></td><td align="left" valign="top">19</td><td align="left" valign="top">12</td><td align="left" valign="top">5</td><td align="left" valign="top">4</td><td align="left" valign="top">10 (6.98)</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">U2&#x2019;&#x2019;</td><td align="left" valign="top">Higher<sup><xref ref-type="table-fn" rid="table3fn4">d</xref></sup></td><td align="left" valign="top">Similar, lower<sup><xref ref-type="table-fn" rid="table3fn3">c</xref></sup></td><td align="left" valign="top">Higher<sup><xref ref-type="table-fn" rid="table3fn2">b</xref></sup></td><td align="left" valign="top">19</td><td align="left" valign="top">12</td><td align="left" valign="top">5</td><td align="left" valign="top">4</td><td align="left" valign="top">10 (6.98)</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">U3&#x2019;&#x2019;</td><td align="left" valign="top">Similar, lower<sup><xref ref-type="table-fn" rid="table3fn3">c</xref></sup></td><td align="left" valign="top">Higher<sup><xref ref-type="table-fn" rid="table3fn2">b</xref></sup></td><td align="left" valign="top">Lower<sup><xref ref-type="table-fn" rid="table3fn4">d</xref></sup></td><td align="left" valign="top">8</td><td align="left" valign="top">1</td><td align="left" valign="top">0</td><td align="left" valign="top">3</td><td align="left" valign="top">3 (3.56)</td></tr><tr><td align="left" valign="top" colspan="10"><bold>Unexpected patterns, not allowing similar in &#x201C;causal&#x201D; variate<sup><xref ref-type="table-fn" rid="table3fn3">c</xref></sup></bold></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">U1&#x2019;&#x2019;&#x2019;</td><td align="left" valign="top">Higher<sup><xref ref-type="table-fn" rid="table3fn2">b</xref></sup></td><td align="left" valign="top">Lower<sup><xref ref-type="table-fn" rid="table3fn3">c</xref></sup></td><td align="left" valign="top">Similar, higher<sup><xref ref-type="table-fn" rid="table3fn4">d</xref></sup></td><td align="left" valign="top">1</td><td align="left" valign="top">1</td><td align="left" valign="top">0</td><td align="left" valign="top">1</td><td align="left" valign="top">0.75 (0.5)</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">U2&#x2019;&#x2019;&#x2019;</td><td align="left" valign="top">Similar, higher<sup><xref ref-type="table-fn" rid="table3fn4">d</xref></sup></td><td align="left" valign="top">Lower<sup><xref ref-type="table-fn" rid="table3fn3">c</xref></sup></td><td align="left" valign="top">Higher<sup><xref ref-type="table-fn" rid="table3fn2">b</xref></sup></td><td align="left" valign="top">9</td><td align="left" valign="top">3</td><td align="left" valign="top">3</td><td align="left" valign="top">0</td><td align="left" valign="top">3.75 (3.76)</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">U3&#x2019;&#x2019;&#x2019;</td><td align="left" valign="top">Lower<sup><xref ref-type="table-fn" rid="table3fn3">c</xref></sup></td><td align="left" valign="top">Higher<sup><xref ref-type="table-fn" rid="table3fn2">b</xref></sup></td><td align="left" valign="top">Similar, lower<sup><xref ref-type="table-fn" rid="table3fn4">d</xref></sup></td><td align="left" valign="top">2</td><td align="left" valign="top">0</td><td align="left" valign="top">0</td><td align="left" valign="top">1</td><td align="left" valign="top">0.75 (0.96)</td></tr></tbody></table><table-wrap-foot><fn id="table3fn1"><p><sup>a</sup>Not applicable.</p></fn><fn id="table3fn2"><p><sup>b</sup>Variate for which a significantly higher mean level than usual is observed for a specific time unit.</p></fn><fn id="table3fn3"><p><sup>c</sup>Expected/unexpected mean level for the variate thought to be causing the difference in variate.</p></fn><fn id="table3fn4"><p><sup>d</sup>Expected/unexpected mean level observed for the third variate.</p></fn></table-wrap-foot></table-wrap><p>The mean effect sizes ranged from 0.97 to 1.27 for hours of the day and clusters. Smaller mean effect sizes were observed for days of the week and months of the year (0.3&#x003C;<italic>d</italic>&#x003C;0.52; see <xref ref-type="table" rid="table4">Table 4</xref> for details). The number of observations varied for the 3 variates (IOB, COB, and IG) and the different time resolutions, resulting in a range of n<sub>1</sub> (number of observations for variate 1) and n<sub>2</sub> (number of observations for variate 2). Therefore, <xref ref-type="table" rid="table4">Table 4</xref> includes the 25% and 50% quantiles of the effect sizes and the number of observations for the variable with fewer observations min(n<sub>1</sub>, n<sub>2</sub>). To achieve a power of 80% for effect sizes &#x2265;0.8, a total of 66 observations for hours of the day would be required, 48 for clusters, 47 for days of the week, and 56 for months of the year. For an effect size of 0.5, we would need 169 observations for hours of the day, 123 for clusters, 121 for days of the week, and 142 for months of the year (see Table S4 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref> for other effect sizes). We achieved a power of 80% for the effect sizes at 50% quantiles, except for lower IG for clusters and higher COB for days of the week.</p><table-wrap id="t4" position="float"><label>Table 4.</label><caption><p>Mean, SD, range, 25% and 50% quantiles of empirical effect size <italic>d</italic>, and 25% and 50% quantiles for minimum number of observations in group 1 (n<sub>1</sub>) or 2 (n<sub>2</sub>) for significantly lower and higher differences in mean insulin on board (IOB), carbohydrates on board (COB), and interstitial glucose (IG) across the different time resolutions.</p></caption><table id="table4" frame="hsides" rules="groups"><thead><tr><td align="left" valign="top" colspan="2">Time resolution and variates</td><td align="left" valign="top" colspan="6">Lower differences</td><td align="left" valign="top" colspan="6">Higher differences</td></tr><tr><td align="left" valign="top" colspan="2"/><td align="left" valign="top" colspan="4">Cohen <italic>d</italic></td><td align="left" valign="top" colspan="2">min (n<sub>1</sub>,n<sub>2</sub>)</td><td align="left" valign="top" colspan="4">Cohen <italic>d</italic></td><td align="left" valign="top" colspan="2">min (n<sub>1</sub>,n<sub>2</sub>)</td></tr><tr><td align="left" valign="top" colspan="2"/><td align="left" valign="top">Mean (SD)</td><td align="left" valign="top">Range</td><td align="left" valign="top">25%</td><td align="left" valign="top">50%</td><td align="left" valign="top">25%</td><td align="left" valign="top">50%</td><td align="left" valign="top">Mean (SD)</td><td align="left" valign="top">Range</td><td align="left" valign="top">25%</td><td align="left" valign="top">50%</td><td align="left" valign="top">25%</td><td align="left" valign="top">50%</td></tr></thead><tbody><tr><td align="left" valign="top" colspan="14"><bold>Hours of the day</bold></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">IOB</td><td align="left" valign="top">1.27<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup> (0.54)</td><td align="left" valign="top">0.30&#x2010;3.65</td><td align="left" valign="top">0.90</td><td align="left" valign="top">1.16<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup></td><td align="left" valign="top">45</td><td align="left" valign="top">67</td><td align="left" valign="top">1.15<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup> (0.51)</td><td align="left" valign="top">0.27&#x2010;3.67</td><td align="left" valign="top">0.82</td><td align="left" valign="top">1.07<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup></td><td align="left" valign="top">45</td><td align="left" valign="top">74</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">COB</td><td align="left" valign="top">1.12<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup> (0.47)</td><td align="left" valign="top">0.29&#x2010;3.47</td><td align="left" valign="top">0.82</td><td align="left" valign="top">1.02<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup></td><td align="left" valign="top">45</td><td align="left" valign="top">67</td><td align="left" valign="top">1.09<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup> (0.45)</td><td align="left" valign="top">0.27&#x2010;2.89</td><td align="left" valign="top">0.80</td><td align="left" valign="top">1.00<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup></td><td align="left" valign="top">45</td><td align="left" valign="top">74</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">IG</td><td align="left" valign="top">0.97<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup> (0.41)</td><td align="left" valign="top">0.28&#x2010;3.15</td><td align="left" valign="top">0.70</td><td align="left" valign="top">0.90<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup></td><td align="left" valign="top">47</td><td align="left" valign="top">92</td><td align="left" valign="top">0.94<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup> (0.36)</td><td align="left" valign="top">0.27&#x2010;2.21</td><td align="left" valign="top">0.68</td><td align="left" valign="top">0.88<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup></td><td align="left" valign="top">53</td><td align="left" valign="top">92</td></tr><tr><td align="left" valign="top" colspan="14"><bold>Clusters</bold></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">IOB</td><td align="left" valign="top">1.41<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup> (0.87)</td><td align="left" valign="top">0.49&#x2010;5.59</td><td align="left" valign="top">0.93</td><td align="left" valign="top">1.11<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup></td><td align="left" valign="top">23</td><td align="left" valign="top">27</td><td align="left" valign="top">1.21<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup> (0.66)</td><td align="left" valign="top">0.44&#x2010;4.95</td><td align="left" valign="top">0.82</td><td align="left" valign="top">1.03<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup></td><td align="left" valign="top">31</td><td align="left" valign="top">57</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">COB</td><td align="left" valign="top">1.53<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup> (1.15)</td><td align="left" valign="top">0.52&#x2010;5.51</td><td align="left" valign="top">0.76</td><td align="left" valign="top">1.07<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup></td><td align="left" valign="top">14</td><td align="left" valign="top">28</td><td align="left" valign="top">1.30<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup> (1.36)</td><td align="left" valign="top">0.35&#x2010;8.19</td><td align="left" valign="top">0.75</td><td align="left" valign="top">0.92<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup></td><td align="left" valign="top">24</td><td align="left" valign="top">35</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">IG</td><td align="left" valign="top">1.26<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup> (0.42)</td><td align="left" valign="top">0.35&#x2010;2.21</td><td align="left" valign="top">1.02</td><td align="left" valign="top">1.19</td><td align="left" valign="top">23</td><td align="left" valign="top">26</td><td align="left" valign="top">1.08<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup> (0.44)</td><td align="left" valign="top">0.37&#x2010;3.16</td><td align="left" valign="top">0.82</td><td align="left" valign="top">1.02<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup></td><td align="left" valign="top">31</td><td align="left" valign="top">42</td></tr><tr><td align="left" valign="top" colspan="14"><bold>Days of the week</bold></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">IOB</td><td align="left" valign="top">0.41<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup> (0.24)</td><td align="left" valign="top">0.18&#x2010;1.60</td><td align="left" valign="top">0.25</td><td align="left" valign="top">0.38<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup></td><td align="left" valign="top">120</td><td align="left" valign="top">204</td><td align="left" valign="top">0.42<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup> (0.15)</td><td align="left" valign="top">0.13&#x2010;0.77</td><td align="left" valign="top">0.29</td><td align="left" valign="top">0.41<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup></td><td align="left" valign="top">102</td><td align="left" valign="top">264</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">COB</td><td align="left" valign="top">0.30<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup> (0.13)</td><td align="left" valign="top">0.12&#x2010;0.54</td><td align="left" valign="top">0.20</td><td align="left" valign="top">0.26<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup></td><td align="left" valign="top">96</td><td align="left" valign="top">504</td><td align="left" valign="top">0.38 (0.10)</td><td align="left" valign="top">0.23&#x2010;0.57</td><td align="left" valign="top">0.36</td><td align="left" valign="top">0.39</td><td align="left" valign="top">24</td><td align="left" valign="top">72</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">IG</td><td align="left" valign="top">0.41 (0.16)</td><td align="left" valign="top">0.14&#x2010;0.88</td><td align="left" valign="top">0.25</td><td align="left" valign="top">0.46<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup></td><td align="left" valign="top">96</td><td align="left" valign="top">168</td><td align="left" valign="top">0.41 (0.19)</td><td align="left" valign="top">0.14&#x2010;0.82</td><td align="left" valign="top">0.27</td><td align="left" valign="top">0.42<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup></td><td align="left" valign="top">144</td><td align="left" valign="top">216</td></tr><tr><td align="left" valign="top" colspan="14"><bold>Months</bold></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">IOB</td><td align="left" valign="top">0.40<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup> (0.17)</td><td align="left" valign="top">0.16&#x2010;0.97</td><td align="left" valign="top">0.28</td><td align="left" valign="top">0.33<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup></td><td align="left" valign="top">264</td><td align="left" valign="top">384</td><td align="left" valign="top">0.52<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup> (0.29)</td><td align="left" valign="top">0.18&#x2010;1.97</td><td align="left" valign="top">0.32</td><td align="left" valign="top">0.44<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup></td><td align="left" valign="top">312</td><td align="left" valign="top">384</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">COB</td><td align="left" valign="top">0.42<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup> (0.17)</td><td align="left" valign="top">0.25&#x2010;0.92</td><td align="left" valign="top">0.29</td><td align="left" valign="top">0.38<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup></td><td align="left" valign="top">144</td><td align="left" valign="top">336</td><td align="left" valign="top">0.38<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup> (0.16)</td><td align="left" valign="top">0.18&#x2010;0.92</td><td align="left" valign="top">0.27</td><td align="left" valign="top">0.34<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup></td><td align="left" valign="top">198</td><td align="left" valign="top">384</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">IG</td><td align="left" valign="top">0.40<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup> (0.16)</td><td align="left" valign="top">0.17&#x2010;1.22</td><td align="left" valign="top">0.29</td><td align="left" valign="top">0.35<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup></td><td align="left" valign="top">288</td><td align="left" valign="top">384</td><td align="left" valign="top">0.43<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup> (0.19)</td><td align="left" valign="top">0.19&#x2010;1.22</td><td align="left" valign="top">0.31</td><td align="left" valign="top">0.39<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup></td><td align="left" valign="top">216</td><td align="left" valign="top">336</td></tr></tbody></table><table-wrap-foot><fn id="table4fn1"><p><sup>a</sup>Effect sizes with a power of &#x2265;80%.</p></fn></table-wrap-foot></table-wrap></sec><sec id="s3-4"><title>Relationships Between Pattern Frequency and Factors</title><p>The demographic factors that were significantly associated with the frequency of patterns were the last lab-reported HbA<sub>1c</sub> (pattern E1 for days of the week, pattern E2 for months of the year, pattern U1 for hours of the day, pattern U2 for months of the year), average insulin (pattern U1 for hours of the day), and pumping since (pattern U2 for clusters and months of the year); see <xref ref-type="table" rid="table5">Table 5</xref> for more information. These associations were of medium strength &#x00B1;0.3&#x003C;&#x03C4;&#x003C;&#x00B1;0.5. Age, duration of T1D, average carbohydrates, average basal insulin, using CGM since, and using AID since were not significantly associated with the frequency of any pattern. Further, mean COB (pattern E1 for hours of the day) and mean IG (pattern E1 for clusters and days of the week, pattern E2 for clusters, pattern U1 for hours of the day), as well as number of hours, days, months, and years were also significantly associated with the frequency of some patterns. Mean IOB was not significantly associated with the frequency of any pattern. The significant associations between pattern frequency and the amount of data were all positive. This shows that the pattern frequency increases with more data (see <xref ref-type="table" rid="table2">Table 2</xref> for the mean amount of data). These relationships were not significant for all patterns and time resolutions. The number of factors with a significant association was similar for each pattern except for pattern U3, which was not significantly associated with any factor other than the amount of data (<xref ref-type="table" rid="table5">Table 5</xref>). Further, we found a significant relationship for the last lab-reported HbA<sub>1c</sub> with the frequency of pattern E1 (E1 increased as HbA<sub>1c</sub> decreased for days of the week), the frequency of pattern E2 (E2 increased with HbA<sub>1c</sub> for patterns in months of the year), and the same for pattern U1 in hours of the day and pattern U2 in months of the year. For self-reported average insulin, the frequency of pattern U1 increased as insulin decreased. Additionally, the frequency of pattern U2 increased when people used a pump less long in clusters and months of the year. Note that &#x201C;pump since&#x201D; was provided as a year, therefore higher numbers mean that a pump has been used for a shorter period. The frequency of pattern E1 increased when the AID device recorded higher mean COB in hours of the day. Finally, the lower the mean IG was, the higher the frequency of pattern E1 in clusters and days of the week. The same was noted for the frequency of pattern E1 in clusters. However, the frequency of pattern U1 increased when the mean IG in hours of the day was higher. Overall, pattern U3 had the weakest association with any factors and pattern U2 had the strongest. Patterns E1-E3 and U1 had similarly strong associations with factors. Differences in association strength between the time resolutions were not pronounced. Days of the week had the fewest significant associations and months of the year had the most. The latter, however, was most often associated with the amount of data. Unsurprisingly, patterns in months were only found in participants with more than 1 month of data.</p><table-wrap id="t5" position="float"><label>Table 5.</label><caption><p>Kendall &#x03C4; associations between expected (E1-E3) and unexpected (U1-U3) patterns and factors with significant associations for each time resolution. The results for all factors can be found in Table S5 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>.</p></caption><table id="table5" frame="hsides" rules="groups"><thead><tr><td align="left" valign="top" colspan="3">Pattern and time resolution</td><td align="left" valign="top">Last glycated hemoglobin A<sub>1c</sub></td><td align="left" valign="top">Average insulin</td><td align="left" valign="top">Pumping since</td><td align="left" valign="top">Mean COB<sup><xref ref-type="table-fn" rid="table5fn1">a</xref></sup></td><td align="left" valign="top">Mean IG<sup><xref ref-type="table-fn" rid="table5fn2">b</xref></sup></td><td align="left" valign="top">Hours count</td><td align="left" valign="top">Days count</td><td align="left" valign="top">Months count</td><td align="left" valign="top">Years count</td></tr></thead><tbody><tr><td align="left" valign="top" colspan="3">Participants for clusters</td><td align="left" valign="top">24</td><td align="left" valign="top">22</td><td align="left" valign="top">24</td><td align="left" valign="top">28</td><td align="left" valign="top">28</td><td align="left" valign="top">28</td><td align="left" valign="top">28</td><td align="left" valign="top">28</td><td align="left" valign="top">28</td></tr><tr><td align="left" valign="top" colspan="3">Participants for others</td><td align="left" valign="top">25</td><td align="left" valign="top">23</td><td align="left" valign="top">25</td><td align="left" valign="top">29</td><td align="left" valign="top">29</td><td align="left" valign="top">29</td><td align="left" valign="top">29</td><td align="left" valign="top">29</td><td align="left" valign="top">29</td></tr><tr><td align="left" valign="top" colspan="12"><bold>E1 (more IOB<sup><xref ref-type="table-fn" rid="table5fn3">c</xref></sup> is needed for more COB) and E3 (more COB is needed for more IOB)</bold></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top" colspan="11"><bold><italic>Hours of the day</italic></bold></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top">&#x03C4;</td><td align="left" valign="top">0.13</td><td align="left" valign="top">0</td><td align="left" valign="top">0</td><td align="left" valign="top">0.45<sup><xref ref-type="table-fn" rid="table5fn4">d</xref></sup><sup>,</sup><sup><xref ref-type="table-fn" rid="table5fn5">e</xref></sup></td><td align="left" valign="top">0.11</td><td align="left" valign="top">0.38<sup><xref ref-type="table-fn" rid="table5fn4">d</xref></sup><sup>,</sup><sup><xref ref-type="table-fn" rid="table5fn5">e</xref></sup></td><td align="left" valign="top">0.38<sup><xref ref-type="table-fn" rid="table5fn4">d</xref></sup><sup>,</sup><sup><xref ref-type="table-fn" rid="table5fn5">e</xref></sup></td><td align="left" valign="top">0.18</td><td align="left" valign="top">0.11</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"><italic>P</italic> value</td><td align="left" valign="top">.36</td><td align="left" valign="top">.98</td><td align="left" valign="top">.98</td><td align="left" valign="top">&#x003C;.001</td><td align="left" valign="top">.42</td><td align="left" valign="top">.005</td><td align="left" valign="top">.005</td><td align="left" valign="top">.20</td><td align="left" valign="top">.50</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top" colspan="11"><bold><italic>Clusters</italic></bold></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top">&#x03C4;</td><td align="left" valign="top">&#x2212;0.21</td><td align="left" valign="top">0.11</td><td align="left" valign="top">0.22</td><td align="left" valign="top">0.15</td><td align="left" valign="top">&#x2212;0.30<sup><xref ref-type="table-fn" rid="table5fn5">e</xref></sup></td><td align="left" valign="top">0.27</td><td align="left" valign="top">0.27</td><td align="left" valign="top">0.11</td><td align="left" valign="top">0.27</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"><italic>P</italic> value</td><td align="left" valign="top">.22</td><td align="left" valign="top">.51</td><td align="left" valign="top">.20</td><td align="left" valign="top">.31</td><td align="left" valign="top">.04</td><td align="left" valign="top">.07</td><td align="left" valign="top">.07</td><td align="left" valign="top">.50</td><td align="left" valign="top">.13</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top" colspan="11"><bold><italic>Days of the week</italic></bold></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top">&#x03C4;</td><td align="left" valign="top">&#x2212;0.41<sup><xref ref-type="table-fn" rid="table5fn4">d</xref></sup><sup>,</sup><sup><xref ref-type="table-fn" rid="table5fn5">e</xref></sup></td><td align="left" valign="top">0.14</td><td align="left" valign="top">&#x2212;0.06</td><td align="left" valign="top">&#x2212;0.02</td><td align="left" valign="top">&#x2212;0.38<sup><xref ref-type="table-fn" rid="table5fn4">d</xref></sup><sup>,</sup><sup><xref ref-type="table-fn" rid="table5fn5">e</xref></sup></td><td align="left" valign="top">0.01</td><td align="left" valign="top">0.01</td><td align="left" valign="top">&#x2212;0.02</td><td align="left" valign="top">0.06</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"><italic>P</italic> value</td><td align="left" valign="top">.02</td><td align="left" valign="top">.41</td><td align="left" valign="top">.71</td><td align="left" valign="top">.91</td><td align="left" valign="top">.01</td><td align="left" valign="top">.97</td><td align="left" valign="top">.97</td><td align="left" valign="top">.91</td><td align="left" valign="top">.75</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top" colspan="11"><bold><italic>Months of the year</italic></bold></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top">&#x03C4;</td><td align="left" valign="top">0.3</td><td align="left" valign="top">0.05</td><td align="left" valign="top">0.14</td><td align="left" valign="top">&#x2212;0.03</td><td align="left" valign="top">0.05</td><td align="left" valign="top">0.31<sup><xref ref-type="table-fn" rid="table5fn5">e</xref></sup></td><td align="left" valign="top">0.31<sup><xref ref-type="table-fn" rid="table5fn5">e</xref></sup></td><td align="left" valign="top">0.48<sup><xref ref-type="table-fn" rid="table5fn4">d</xref></sup><sup>,</sup><sup><xref ref-type="table-fn" rid="table5fn5">e</xref></sup></td><td align="left" valign="top">0.2</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"><italic>P</italic> value</td><td align="left" valign="top">.06</td><td align="left" valign="top">.77</td><td align="left" valign="top">.39</td><td align="left" valign="top">.85</td><td align="left" valign="top">.74</td><td align="left" valign="top">.04</td><td align="left" valign="top">.04</td><td align="left" valign="top">.002</td><td align="left" valign="top">.26</td></tr><tr><td align="left" valign="top" colspan="12"><bold>E2 (higher IG is due to more COB)</bold></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top" colspan="11"><bold><italic>Hours of the day</italic></bold></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top">&#x03C4;</td><td align="left" valign="top">0.15</td><td align="left" valign="top">&#x2212;0.05</td><td align="left" valign="top">0.14</td><td align="left" valign="top">0.08</td><td align="left" valign="top">0.19</td><td align="left" valign="top">0.35<sup><xref ref-type="table-fn" rid="table5fn5">e</xref></sup></td><td align="left" valign="top">0.35<sup><xref ref-type="table-fn" rid="table5fn5">e</xref></sup></td><td align="left" valign="top">0.17</td><td align="left" valign="top">0.18</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"><italic>P</italic> value</td><td align="left" valign="top">.30</td><td align="left" valign="top">.75</td><td align="left" valign="top">.35</td><td align="left" valign="top">.55</td><td align="left" valign="top">.15</td><td align="left" valign="top">.01</td><td align="left" valign="top">.01</td><td align="left" valign="top">.21</td><td align="left" valign="top">.26</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top" colspan="11"><bold><italic>Clusters</italic></bold></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top">&#x03C4;</td><td align="left" valign="top">&#x2212;0.24</td><td align="left" valign="top">0.14</td><td align="left" valign="top">0.20</td><td align="left" valign="top">0.02</td><td align="left" valign="top">&#x2212;0.35<sup><xref ref-type="table-fn" rid="table5fn5">e</xref></sup></td><td align="left" valign="top">0.22</td><td align="left" valign="top">0.22</td><td align="left" valign="top">0.08</td><td align="left" valign="top">0.24</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"><italic>P</italic> value</td><td align="left" valign="top">.16</td><td align="left" valign="top">.42</td><td align="left" valign="top">.25</td><td align="left" valign="top">.92</td><td align="left" valign="top">.02</td><td align="left" valign="top">.15</td><td align="left" valign="top">.15</td><td align="left" valign="top">.61</td><td align="left" valign="top">.19</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top" colspan="11"><bold><italic>Days of the week</italic></bold></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top">&#x03C4;</td><td align="left" valign="top">&#x2212;0.05</td><td align="left" valign="top">&#x2212;0.1</td><td align="left" valign="top">0.07</td><td align="left" valign="top">&#x2212;0.01</td><td align="left" valign="top">&#x2212;0.02</td><td align="left" valign="top">&#x2212;0.04</td><td align="left" valign="top">&#x2212;0.04</td><td align="left" valign="top">0.02</td><td align="left" valign="top">&#x2212;0.15</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"><italic>P</italic> value</td><td align="left" valign="top">.76</td><td align="left" valign="top">.55</td><td align="left" valign="top">.66</td><td align="left" valign="top">.95</td><td align="left" valign="top">.88</td><td align="left" valign="top">.78</td><td align="left" valign="top">.78</td><td align="left" valign="top">.90</td><td align="left" valign="top">.38</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top" colspan="11"><bold><italic>Months of the year</italic></bold></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top">&#x03C4;</td><td align="left" valign="top">0.35<sup><xref ref-type="table-fn" rid="table5fn5">e</xref></sup></td><td align="left" valign="top">&#x2212;0.05</td><td align="left" valign="top">0.16</td><td align="left" valign="top">&#x2212;0.05</td><td align="left" valign="top">0.15</td><td align="left" valign="top">0.34<sup><xref ref-type="table-fn" rid="table5fn5">e</xref></sup></td><td align="left" valign="top">0.34<sup><xref ref-type="table-fn" rid="table5fn5">e</xref></sup></td><td align="left" valign="top">0.38<sup><xref ref-type="table-fn" rid="table5fn4">d</xref></sup><sup>,</sup><sup><xref ref-type="table-fn" rid="table5fn5">e</xref></sup></td><td align="left" valign="top">0.13</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"><italic>P</italic> value</td><td align="left" valign="top">.03</td><td align="left" valign="top">.77</td><td align="left" valign="top">.33</td><td align="left" valign="top">.73</td><td align="left" valign="top">.32</td><td align="left" valign="top">.03</td><td align="left" valign="top">.03</td><td align="left" valign="top">.02</td><td align="left" valign="top">.46</td></tr><tr><td align="left" valign="top" colspan="12"><bold>U1 (more IOB is not due to more COB)</bold></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top" colspan="11"><italic><bold>H</bold></italic><bold><italic>ours of the day</italic></bold></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top">&#x03C4;</td><td align="left" valign="top">0.42<sup><xref ref-type="table-fn" rid="table5fn4">d</xref></sup><sup>,</sup><sup><xref ref-type="table-fn" rid="table5fn5">e</xref></sup></td><td align="left" valign="top">&#x2212;0.31<sup><xref ref-type="table-fn" rid="table5fn5">e</xref></sup></td><td align="left" valign="top">0.17</td><td align="left" valign="top">&#x2212;0.13</td><td align="left" valign="top">0.36<sup><xref ref-type="table-fn" rid="table5fn4">d</xref></sup><sup>,</sup><sup><xref ref-type="table-fn" rid="table5fn5">e</xref></sup></td><td align="left" valign="top">0.21</td><td align="left" valign="top">0.21</td><td align="left" valign="top">0.05</td><td align="left" valign="top">0.05</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"><italic>P</italic> value</td><td align="left" valign="top">.004</td><td align="left" valign="top">.04</td><td align="left" valign="top">.24</td><td align="left" valign="top">.34</td><td align="left" valign="top">.007</td><td align="left" valign="top">.12</td><td align="left" valign="top">.12</td><td align="left" valign="top">.70</td><td align="left" valign="top">.75</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top" colspan="11"><bold><italic>Clusters</italic></bold></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top">&#x03C4;</td><td align="left" valign="top">0.01</td><td align="left" valign="top">0.12</td><td align="left" valign="top">0.28</td><td align="left" valign="top">&#x2212;0.03</td><td align="left" valign="top">0.02</td><td align="left" valign="top">0.28</td><td align="left" valign="top">0.28</td><td align="left" valign="top">0.25</td><td align="left" valign="top">0.12</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"><italic>P</italic> value</td><td align="left" valign="top">.94</td><td align="left" valign="top">.46</td><td align="left" valign="top">.08</td><td align="left" valign="top">.86</td><td align="left" valign="top">.90</td><td align="left" valign="top">.05</td><td align="left" valign="top">.05</td><td align="left" valign="top">.10</td><td align="left" valign="top">.48</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top" colspan="11"><bold><italic>Days of the week</italic></bold></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top">&#x03C4;</td><td align="left" valign="top">0.04</td><td align="left" valign="top">0.05</td><td align="left" valign="top">0.18</td><td align="left" valign="top">&#x2212;0.21</td><td align="left" valign="top">0.01</td><td align="left" valign="top">0.16</td><td align="left" valign="top">0.16</td><td align="left" valign="top">0.36<sup><xref ref-type="table-fn" rid="table5fn4">d</xref></sup><sup>,</sup><sup><xref ref-type="table-fn" rid="table5fn5">e</xref></sup></td><td align="left" valign="top">0.14</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"><italic>P</italic> value</td><td align="left" valign="top">.80</td><td align="left" valign="top">.75</td><td align="left" valign="top">.27</td><td align="left" valign="top">.17</td><td align="left" valign="top">.96</td><td align="left" valign="top">.28</td><td align="left" valign="top">.28</td><td align="left" valign="top">.02</td><td align="left" valign="top">.42</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top" colspan="11"><bold><italic>Months of the year</italic></bold></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top">&#x03C4;</td><td align="left" valign="top">0.23</td><td align="left" valign="top">&#x2212;0.16</td><td align="left" valign="top">0.2</td><td align="left" valign="top">&#x2212;0.09</td><td align="left" valign="top">&#x2212;0.18</td><td align="left" valign="top">0.24</td><td align="left" valign="top">0.24</td><td align="left" valign="top">0.41<sup><xref ref-type="table-fn" rid="table5fn4">d</xref></sup><sup>,</sup><sup><xref ref-type="table-fn" rid="table5fn5">e</xref></sup></td><td align="left" valign="top">0.46<sup><xref ref-type="table-fn" rid="table5fn4">d</xref></sup><sup>,</sup><sup><xref ref-type="table-fn" rid="table5fn5">e</xref></sup></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"><italic>P</italic> value</td><td align="left" valign="top">.16</td><td align="left" valign="top">.33</td><td align="left" valign="top">.21</td><td align="left" valign="top">.57</td><td align="left" valign="top">.23</td><td align="left" valign="top">.11</td><td align="left" valign="top">.11</td><td align="left" valign="top">.008</td><td align="left" valign="top">.008</td></tr><tr><td align="left" valign="top" colspan="12"><bold>U2 (higher IG is not due to more COB)</bold></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top" colspan="11"><bold><italic>Hours of the day</italic></bold></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top">&#x03C4;</td><td align="left" valign="top">0.15</td><td align="left" valign="top">&#x2212;0.05</td><td align="left" valign="top">0.14</td><td align="left" valign="top">0.08</td><td align="left" valign="top">0.19</td><td align="left" valign="top">0.35<sup><xref ref-type="table-fn" rid="table5fn5">e</xref></sup></td><td align="left" valign="top">0.35<sup><xref ref-type="table-fn" rid="table5fn5">e</xref></sup></td><td align="left" valign="top">0.17</td><td align="left" valign="top">0.18</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"><italic>P</italic> value</td><td align="left" valign="top">.30</td><td align="left" valign="top">.75</td><td align="left" valign="top">.35</td><td align="left" valign="top">.55</td><td align="left" valign="top">.15</td><td align="left" valign="top">.01</td><td align="left" valign="top">.01</td><td align="left" valign="top">.21</td><td align="left" valign="top">.26</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top" colspan="11"><bold><italic>Clusters</italic></bold></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top">&#x03C4;</td><td align="left" valign="top">0.14</td><td align="left" valign="top">&#x2212;0.01</td><td align="left" valign="top">0.33<sup><xref ref-type="table-fn" rid="table5fn5">e</xref></sup></td><td align="left" valign="top">0.00</td><td align="left" valign="top">&#x2212;0.04</td><td align="left" valign="top">0.30<sup><xref ref-type="table-fn" rid="table5fn5">e</xref></sup></td><td align="left" valign="top">0.30<sup><xref ref-type="table-fn" rid="table5fn5">e</xref></sup></td><td align="left" valign="top">0.40<sup><xref ref-type="table-fn" rid="table5fn5">e</xref></sup></td><td align="left" valign="top">0.19</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"><italic>P</italic> value</td><td align="left" valign="top">.38</td><td align="left" valign="top">.98</td><td align="left" valign="top">.04</td><td align="left" valign="top">.98</td><td align="left" valign="top">.79</td><td align="left" valign="top">.04</td><td align="left" valign="top">.04</td><td align="left" valign="top">.01</td><td align="left" valign="top">.24</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top" colspan="11"><bold><italic>Days of the week</italic></bold></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top">&#x03C4;</td><td align="left" valign="top">&#x2212;0.05</td><td align="left" valign="top">&#x2212;0.1</td><td align="left" valign="top">0.07</td><td align="left" valign="top">&#x2212;0.01</td><td align="left" valign="top">&#x2212;0.02</td><td align="left" valign="top">&#x2212;0.04</td><td align="left" valign="top">&#x2212;0.04</td><td align="left" valign="top">0.02</td><td align="left" valign="top">&#x2212;0.15</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"><italic>P</italic> value</td><td align="left" valign="top">.76</td><td align="left" valign="top">.55</td><td align="left" valign="top">.66</td><td align="left" valign="top">.95</td><td align="left" valign="top">.88</td><td align="left" valign="top">.78</td><td align="left" valign="top">.78</td><td align="left" valign="top">.90</td><td align="left" valign="top">.38</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top" colspan="11"><bold><italic>Months of the year</italic></bold></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top">&#x03C4;</td><td align="left" valign="top">0.39<sup><xref ref-type="table-fn" rid="table5fn4">d</xref></sup><sup>,</sup><sup><xref ref-type="table-fn" rid="table5fn5">e</xref></sup></td><td align="left" valign="top">&#x2212;0.22</td><td align="left" valign="top">0.35<sup><xref ref-type="table-fn" rid="table5fn5">e</xref></sup></td><td align="left" valign="top">0.07</td><td align="left" valign="top">0.15</td><td align="left" valign="top">0.34<sup><xref ref-type="table-fn" rid="table5fn5">e</xref></sup></td><td align="left" valign="top">0.34<sup><xref ref-type="table-fn" rid="table5fn5">e</xref></sup></td><td align="left" valign="top">0.41<sup><xref ref-type="table-fn" rid="table5fn4">d</xref></sup><sup>,</sup><sup><xref ref-type="table-fn" rid="table5fn5">e</xref></sup></td><td align="left" valign="top">&#x2212;0.02</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"><italic>P</italic> value</td><td align="left" valign="top">.01</td><td align="left" valign="top">.18</td><td align="left" valign="top">.03</td><td align="left" valign="top">.61</td><td align="left" valign="top">.32</td><td align="left" valign="top">.02</td><td align="left" valign="top">.02</td><td align="left" valign="top">.008</td><td align="left" valign="top">.89</td></tr><tr><td align="left" valign="top" colspan="12"><bold>U3 (more COB does not require more IOB)</bold></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top" colspan="11"><bold><italic>Hours of the day</italic></bold></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top">&#x03C4;</td><td align="left" valign="top">&#x2212;0.03</td><td align="left" valign="top">0.21</td><td align="left" valign="top">&#x2212;0.19</td><td align="left" valign="top">0.21</td><td align="left" valign="top">0.07</td><td align="left" valign="top">0.06</td><td align="left" valign="top">0.06</td><td align="left" valign="top">&#x2212;0.02</td><td align="left" valign="top">&#x2212;0.01</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"><italic>P</italic> value</td><td align="left" valign="top">.85</td><td align="left" valign="top">.17</td><td align="left" valign="top">.19</td><td align="left" valign="top">.12</td><td align="left" valign="top">.61</td><td align="left" valign="top">.66</td><td align="left" valign="top">.66</td><td align="left" valign="top">.89</td><td align="left" valign="top">.93</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top" colspan="11"><bold><italic>Clusters</italic></bold></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top">&#x03C4;</td><td align="left" valign="top">&#x2212;0.16</td><td align="left" valign="top">0.19</td><td align="left" valign="top">&#x2212;0.01</td><td align="left" valign="top">&#x2212;0.04</td><td align="left" valign="top">&#x2212;0.03</td><td align="left" valign="top">0.07</td><td align="left" valign="top">0.07</td><td align="left" valign="top">&#x2212;0.11</td><td align="left" valign="top">0.08</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"><italic>P</italic> value</td><td align="left" valign="top">.34</td><td align="left" valign="top">.29</td><td align="left" valign="top">.95</td><td align="left" valign="top">.78</td><td align="left" valign="top">.82</td><td align="left" valign="top">.64</td><td align="left" valign="top">.64</td><td align="left" valign="top">.48</td><td align="left" valign="top">.66</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top" colspan="11"><bold><italic>Days of the week</italic></bold></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top">&#x03C4;</td><td align="left" valign="top">&#x2212;0.06</td><td align="left" valign="top">0.22</td><td align="left" valign="top">&#x2212;0.19</td><td align="left" valign="top">&#x2212;0.02</td><td align="left" valign="top">&#x2212;0.14</td><td align="left" valign="top">&#x2212;0.2</td><td align="left" valign="top">&#x2212;0.2</td><td align="left" valign="top">0.15</td><td align="left" valign="top">0.28</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"><italic>P</italic> value</td><td align="left" valign="top">.74</td><td align="left" valign="top">.20</td><td align="left" valign="top">.26</td><td align="left" valign="top">.87</td><td align="left" valign="top">.36</td><td align="left" valign="top">.20</td><td align="left" valign="top">.20</td><td align="left" valign="top">.36</td><td align="left" valign="top">.12</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top" colspan="11"><bold><italic>Months of the year</italic></bold></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top">&#x03C4;</td><td align="left" valign="top">0.18</td><td align="left" valign="top">&#x2212;0.07</td><td align="left" valign="top">0.24</td><td align="left" valign="top">&#x2212;0.07</td><td align="left" valign="top">0.12</td><td align="left" valign="top">0.41<sup><xref ref-type="table-fn" rid="table5fn4">d</xref></sup><sup>,</sup><sup><xref ref-type="table-fn" rid="table5fn5">e</xref></sup></td><td align="left" valign="top">0.41<sup><xref ref-type="table-fn" rid="table5fn4">d</xref></sup><sup>,</sup><sup><xref ref-type="table-fn" rid="table5fn5">e</xref></sup></td><td align="left" valign="top">0.45<sup><xref ref-type="table-fn" rid="table5fn4">d</xref></sup><sup>,</sup><sup><xref ref-type="table-fn" rid="table5fn5">e</xref></sup></td><td align="left" valign="top">0.34<sup><xref ref-type="table-fn" rid="table5fn4">d</xref></sup><sup>,</sup><sup><xref ref-type="table-fn" rid="table5fn5">e</xref></sup></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"><italic>P</italic> value</td><td align="left" valign="top">.27</td><td align="left" valign="top">.66</td><td align="left" valign="top">.14</td><td align="left" valign="top">.66</td><td align="left" valign="top">.41</td><td align="left" valign="top">.006</td><td align="left" valign="top">.006</td><td align="left" valign="top">.003</td><td align="left" valign="top">.048</td></tr></tbody></table><table-wrap-foot><fn id="table5fn1"><p><sup>a</sup>COB: carbohydrates on board.</p></fn><fn id="table5fn2"><p><sup>b</sup>IG: interstitial glucose.</p></fn><fn id="table5fn3"><p><sup>c</sup>IOB: insulin on board.</p></fn><fn id="table5fn4"><p><sup>d</sup>Power of &#x2265;80%.</p></fn><fn id="table5fn5"><p><sup>e</sup>Statistically significant association with <italic>P</italic>&#x003C;.05 where we can reject the null hypothesis <italic>&#x03C4;</italic>=0.</p></fn></table-wrap-foot></table-wrap><p>Our study achieved a power of 80% for associations with <italic>&#x03C4;</italic>&#x2265;0.36. For associations with 0.3&#x003C;&#x03C4;&#x003C;0.36, 2&#x2010;9 additional participants would be required. For <italic>&#x03C4;</italic>&#x2264;0.3, we could not reject the null hypothesis that <italic>&#x03C4;</italic>=0. A &#x03C4; of 0.3 would require 41 participants, a &#x03C4; of 0.24 would require 64 participants, a &#x03C4; of 0.2 would require 91 participants, and a &#x03C4; of 0.15 would require 163 participants.</p></sec><sec id="s3-5"><title>Comparison of IOB, COB, and IG</title><p>The comparison of IOB, COB, and IG across the 4 temporal dichotomies revealed varying results. For clusters of similar days, the Mann-Whitney <italic>U</italic> tests found significant differences for both IOB (<italic>P</italic>=.03, <italic>d</italic>=0.7) and IG (<italic>P</italic>=.02, <italic>d</italic>=0.67) but not COB (<italic>P</italic>=.08, <italic>d</italic>=0.55). For weekends versus workdays, no significant differences for IOB, COB, or IG were found (IOB <italic>P</italic>=.43, <italic>d</italic>=0.05; COB <italic>P</italic>=.45, <italic>d</italic>=0.15; IG <italic>P</italic>=.56, <italic>d</italic>=1.28). The same results were found for summer versus winter months (IOB <italic>P</italic>=.65, <italic>d</italic>=0.62; COB <italic>P</italic>=.19, <italic>d</italic>=1.09; IG <italic>P</italic>=.78, <italic>d</italic>=1.23) and year 1 versus year 2 (IOB <italic>P</italic>=.87, <italic>d</italic>=0.55; COB <italic>P</italic>=.53, <italic>d</italic>=0.48; IG <italic>P</italic>=.49, <italic>d</italic>=1.2). For all temporal dichotomies, the effect size <italic>d</italic> was larger for IG (0.67-1.28) than for IOB (0.43&#x2010;0.87) or COB (0.15&#x2010;0.55). Power analysis suggested that, for the clusters, we would need 27 (IOB), 30 (COB), and 44 (IG) participants to achieve a power of 80% (<italic>&#x03B1;</italic>=.05, 1-tailed). For the weekdays/weekends, we would need 13,696 (IOB), 1464 (COB), and 24 (IG). For the winter/summer months, we would need 88 (IOB), 30 (COB), and 26 (IG). Finally, for year 1/2, we would need 114 (IOB), 144 (COB), and 26 (IG). Therefore, most of these results are not conclusive for the number of participants included.</p><p>Grouping participants from these results by significant opposite differences highlighted the heterogeneity of the participants. Comparing the 2 clusters, 15 participants had lower IOB in cluster 1 (mean <italic>d</italic>=9.41, SD 5.47, range 3.56&#x2010;20.78), and 13 showed no significant differences. In addition, 13 participants had lower COB in cluster 1 (mean <italic>d</italic>=6.66, SD 2.99, range 3.1&#x2010;14.08), 3 had higher COB (mean <italic>d</italic>=5.07, SD 1.95, range 3.59&#x2010;7.27), and 12 showed no significant differences. A total of 15 participants had lower IG in cluster 1 (mean <italic>d</italic>=9.57, SD 5.06, range 3.23&#x2010;20.02), 2 had higher IG (mean <italic>d</italic>=3.75, SD 0.8, range 3.18&#x2010;4.31), and 11 showed no significant differences. Of the 15 people with lower IOB in cluster 1, one person had less IOB (difference in mean IOB of 0.86 U), while unexpectedly having significantly more COB (difference in mean COB of 5.33 grams), and their IG was also lower (difference in mean IG of 20.86 mg/dL) in cluster 1. Furthermore, 5 people had no significant differences in COB between clusters 1 and 2 despite having significantly lower IOB in 1 of them. Comparing weekdays and weekends revealed only 1 participant with lower IOB on weekends (<italic>d</italic>=3.27) and 1 individual with more IOB on weekends (<italic>d</italic>=4.21), while 26 showed no difference. No significant differences were observed for COB and IG. Comparing winter and summer months found 1 person with less IOB in summer (<italic>d</italic>=5.37), 2 individuals with more IOB in summer (mean <italic>d</italic>=7.78, SD 5.74, range 3.72&#x2010;11.84), and 5 people with no significant differences. No one had less COB in summer, 3 people had higher COB in summer (mean <italic>d</italic>=3.31, SD 0.28, range 3.12&#x2010;3.63), and for 5 people, there were no significant differences. Finally, no one had lower IG in summer, 2 participants had higher IG in summer (mean <italic>d</italic>=5.28, SD 2.49, range 3.52&#x2010;7.34), and for 6 people, there were no significant differences. Finally, comparing year 1 and 2 of AID use, we found that 5 participants had less IOB in year 2 (mean <italic>d</italic>=10.61, SD 5.58, range 4.35&#x2010;16.42), 2 people had more IOB (mean <italic>d</italic>=14.16, SD 1.54, range 13.07&#x2010;15.24), and for 9, there were no significant differences in IOB. For COB, 4 people had lower COB in year 2 (mean <italic>d</italic>=9.76, SD 3.59, range 6.36&#x2010;13.54), 3 people had higher COB (mean <italic>d</italic>=4.74, SD 1.39, range 3.62&#x2010;6.3), and for 9 people, there were no significant differences. For IG, 5 people had lower IG in year 2 (mean <italic>d</italic>=6.51, SD 2.22, range 3.87&#x2010;9.05), 4 individuals had higher IG (mean <italic>d</italic>=5.63, SD 1.31, range 3.71&#x2010;6.55), and 7 people had no significant differences.</p><p>Comparing the 2 clusters by visualizing the 95% CIs of mean IOB, COB, and IG for each cluster showed further interesting patterns, such as differences in the number of pronounced COB spikes, duration of hours with 0 COB, and days with flatter lines versus days with spikes. For 18 people, the number of pronounced COB spikes (presumably the main meals of the day) varied between the clusters (<xref ref-type="fig" rid="figure2">Figure 2B</xref>). Only 1 person had 3 COB spikes (presumably 3 big carbohydrate meals) in both clusters (<xref ref-type="fig" rid="figure2">Figure 2A</xref>), while 6 participants had no pronounced COB spikes in either cluster. Visually, COB varied more between the clusters (for 25 of the 28 people). This was perhaps due to COB forming distinct spikes, while IOB varied more frequently but subtly. For 24 people, the longest continuous hours of 0 COB were different between the 2 clusters. There were 18 people with 5 or more hours of 0 COB in at least 1 cluster, 8 in both, and 11 in neither.</p><fig position="float" id="figure2"><label>Figure 2.</label><caption><p>Cluster means (solid lines) and 95% CIs (bands) of (A) a participant with 3 meal spikes and an unexpected pattern of raised IG after meals and (B) another participant with flatter lines in cluster 1 compared to cluster 2. For (<bold>A</bold>), IOB matches COB more closely, while for (<bold>B</bold>), IOB matches IG more closely. COB: carbohydrates on board; IG: interstitial glucose; IOB: insulin on board.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="xmed_v5i1e44384_fig02.png"/></fig><p>In all, 12 participants had 1 cluster where IOB, COB, and IG varied more and another cluster with flatter lines. For 11 people, the cluster with flatter lines was more common (see <xref ref-type="fig" rid="figure2">Figure 2B</xref> for an example of this pattern). The most common unexpected pattern from visual inspections of the clustering results was a pattern where IG continues to rise after COB from meals has dropped (17 people; <xref ref-type="fig" rid="figure2">Figure 2A</xref>). Another common visually identifiable, unexpected pattern (11 people of 28) in the clustering results was higher IG during the night (see <xref ref-type="fig" rid="figure3">Figure 3</xref> for 2 examples). This pattern occurred especially in the early part of the night (<xref ref-type="fig" rid="figure3">Figure 3A</xref>) and in some people through the night (<xref ref-type="fig" rid="figure3">Figure 3B</xref>). In addition, 10 participants with this pattern also had higher IOB but the AID&#x2019;s correction was too small to avoid the higher IG. Finally, 3 people had higher IOB but not higher IG, and therefore the IOB correction matched their insulin needs well.</p><fig position="float" id="figure3"><label>Figure 3.</label><caption><p>Cluster means (solid lines) and 95% CIs (bands) from 2 different participants (A) and (B) with a different &#x201C;higher IG during the night despite significantly higher IOB&#x201D; pattern. The first 2 rows show the 3 variates in cluster 1 and cluster 2. The bottom 3 rows show cluster 1 and 2 for each variate. COB: carbohydrates on board; IG: interstitial glucose; IOB: insulin on board.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="xmed_v5i1e44384_fig03.png"/></fig><p>Looking into the similarities between the mean IOB, COB, and IG time series in the clusters, IOB and IG were most similar (mean distance 5.08, SD 2.25) and COB and IG were most different from each other (mean distance 11.43, SD 2.6). Interestingly, this changed for the first derivative of the means. In trend, IOB and COB were most similar (mean distance 1.48, SD 0.85) and COB and IG were still the most different from each other (mean distance 3.03, SD 1.51). <xref ref-type="fig" rid="figure2">Figure 2A</xref> shows an example of a person where IOB is visibly more like COB for both clusters, while <xref ref-type="fig" rid="figure2">Figure 2B</xref> shows another person where IOB and IG are visibly more like each other.</p></sec><sec id="s3-6"><title>Forecastability of IOB, COB, and IG</title><p>Testing which variate could forecast another revealed that at lag 1, IOB could forecast IG; COB could forecast IG; and IG could forecast COB most frequently. For 12 participants, this was true for both of their clusters; for another 12 participants, this was the case for 1 of their clusters; and for 4 participants, this was not the case. IG could forecast IOB least frequently (<xref ref-type="table" rid="table6">Table 6</xref>). A lag of 1 (meaning the value of variate 1 from 1 hour ago can be used to forecast the value of variate 2 now) gave the best result. For lags 2 and 3, fewer participants had Granger causalities between the variates. The mean derivative required to pass the ADF test for stationarity was 1.98 (SD 0.9, range 0&#x2010;3), indicating that momentum was most frequently stationary.</p><table-wrap id="t6" position="float"><label>Table 6.</label><caption><p>The number of people for which one variate can forecast the other variate with a lag of 1 hour in both clusters, 1 cluster, or never, and the mean (SD) of the number of derivatives of insulin on board (IOB), carbohydrates on board (COB), and interstitial glucose (IG) required to achieve stationarity.</p></caption><table id="table6" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom"/><td align="left" valign="bottom" colspan="3">Number of people</td><td align="left" valign="bottom">Mean (SD) derivative</td></tr><tr><td align="left" valign="bottom"/><td align="left" valign="bottom">For both clusters</td><td align="left" valign="bottom">For 1 cluster</td><td align="left" valign="bottom">Never</td><td align="left" valign="bottom"/></tr></thead><tbody><tr><td align="left" valign="top">IOB forecasts COB</td><td align="left" valign="top">10</td><td align="left" valign="top">12</td><td align="left" valign="top">6</td><td align="left" valign="top">2.2 (0.91)</td></tr><tr><td align="left" valign="top">COB forecasts IOB</td><td align="left" valign="top">10</td><td align="left" valign="top">13</td><td align="left" valign="top">5</td><td align="left" valign="top">2.1 (0.9)</td></tr><tr><td align="left" valign="top">IOB forecasts IG</td><td align="left" valign="top">12</td><td align="left" valign="top">12</td><td align="left" valign="top">4</td><td align="left" valign="top">2.0 (0.87)</td></tr><tr><td align="left" valign="top">IG forecasts IOB</td><td align="left" valign="top">9</td><td align="left" valign="top">11</td><td align="left" valign="top">8</td><td align="left" valign="top">2.0 (0.9)</td></tr><tr><td align="left" valign="top">COB forecasts IG</td><td align="left" valign="top">12</td><td align="left" valign="top">12</td><td align="left" valign="top">4</td><td align="left" valign="top">1.97 (0.9)</td></tr><tr><td align="left" valign="top">IG forecasts COB</td><td align="left" valign="top">12</td><td align="left" valign="top">12</td><td align="left" valign="top">4</td><td align="left" valign="top">2.0 (0.94)</td></tr></tbody></table></table-wrap><p>Surprisingly, Granger causality changed for most people (21 of the 28) for 1 or more of the 2-pair permutations of IOB, COB, and IG between the 2 clusters. For 7 people, there was no difference in Granger causality between the 2 clusters. For 5 people, all 6 pair permutations of IOB, COB, and IG in both clusters differed. There were 7 people who had 1 cluster where IOB, COB, and IG could not be used to forecast each other at lag 1; for 4 of these, this was also true for lag 2; and for 3 of them, for lag 3. <xref ref-type="fig" rid="figure4">Figure 4</xref> shows the cluster visualizations for the person for whom IOB, COB, and IG were best forecastable (<xref ref-type="fig" rid="figure4">Figure 4A</xref>) and the person for whom they were least forecastable (<xref ref-type="fig" rid="figure4">Figure 4B</xref>). For the best forecastable cluster means, IOB, COB, and IG could forecast each other in clusters 1 and 2 for lag 1 for all pairwise permutations. For cluster 1, this held for lag 2 and 3. For cluster 2, at lag 2 and 3, IG did not Granger cause IOB nor vice versa. For the least forecastable cluster means, in cluster 1, all IOB, COB, and IG permutations were not Granger causal for lag 1, 2, and 3. In cluster 2 COB, only Granger caused IOB at lag 1. No other Granger causalities were present for lag 1, 2, and 3.</p><fig position="float" id="figure4"><label>Figure 4.</label><caption><p>Cluster means (solid lines) and 95% CIs (bands) of (A) the participant with the top forecastable means and (B) the participant with the least forecastable means. COB: carbohydrates on board; IG: interstitial glucose; IOB: insulin on board.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="xmed_v5i1e44384_fig04.png"/></fig></sec></sec><sec id="s4" sec-type="discussion"><title>Discussion</title><sec id="s4-1"><title>Principal Results</title><p>We discovered interesting temporal patterns in the insulin needs of people with T1D that cannot be explained by carbohydrate intake alone. Our study analyzed automatically recorded IOB, COB, and IG time series data from the AID systems of 29 participants. Compared to national T1D statistics, our participants had a lower HbA<sub>1c</sub> (mean 46 mmol/mol) [<xref ref-type="bibr" rid="ref67">67</xref>,<xref ref-type="bibr" rid="ref68">68</xref>] and were early adopters [<xref ref-type="bibr" rid="ref69">69</xref>] of insulin pumps (mean started in 2006), CGMs (mean started in 2014), and AIDs (mean started in 2017). Remarkably, unexpected patterns, such as when more insulin and higher glucose levels did not coincide with more carbohydrates, were as frequent as their expected counterparts. Overall, 9.9 participants (range 2.67&#x2010;21) had expected patterns and 13.5 (range 8&#x2010;23) had unexpected patterns (<xref ref-type="table" rid="table3">Table 3</xref>). Both expected and unexpected patterns were more frequent, and their effect sizes were larger (<italic>d</italic>&#x003E;0.94), when comparing hours of the day and clusters of similar days compared to days of the week or months of the year (0.3&#x003C;<italic>d</italic>&#x003C;0.52). There was a considerable variety of patterns among the participants. For example, 3 participants did not have an expected pattern, while all participants had at least 1 unexpected pattern in at least 1 of the time resolutions. The number of observations and effect sizes of the patterns varied among the participants. A power of 80% was achieved for effect sizes around the median value and higher (<xref ref-type="table" rid="table4">Table 4</xref>).</p><p>Overall, the significant associations between demographic information and pattern frequency were of medium strength 0.31&#x2264;<italic>&#x03C4;</italic>&#x2264;0.48 (<italic>P</italic>&#x003C;.001 to .04; <xref ref-type="table" rid="table5">Table 5</xref>). Surprisingly, age, duration of T1D, average daily carbohydrates, basal insulin, and length of CGM and AID use were not significantly associated with the frequency of expected or unexpected patterns (0.01&#x2264;<italic>&#x03C4;</italic>&#x2264;0.31). A higher HbA<sub>1c</sub> increased the frequency of the expected pattern E2 (higher IG and higher COB) and unexpected patterns U1 (higher IOB but similar or lower COB) and U2 (higher IG but similar or lower COB), with 0.35&#x2264;<italic>&#x03C4;</italic>&#x2264;0.42; in addition, higher HbA<sub>1c</sub> decreased the frequency of expected pattern E1 (higher COB and higher IOB), with <italic>&#x03C4;</italic>=&#x2212;0.41. Participants who used an insulin pump for a shorter period had a higher frequency of the unexpected pattern U2 (higher IG but same or lower COB), with 0.33&#x2264;<italic>&#x03C4;</italic>&#x2264;0.35. Lower mean IG was associated with an increased frequency of the expected patterns E1 (higher IOB and higher COB) and E2 (higher IG and higher COB), with 0.38&#x2264;<italic>&#x03C4;</italic>&#x2264;0.3. Finally, higher mean IG was associated with an increase in the unexpected pattern U2 (higher IOB but same or lower COB), with <italic>&#x03C4;</italic>=0.36. Note that these relationships did not hold for all the time resolutions. Similarly to the frequency of patterns, days of the week had the fewest significant associations. For the significant associations where <italic>&#x03C4;</italic>&#x2265;0.36, the power was &#x2265;80% at <italic>&#x03B1;</italic>=.05.</p><p>Mean IOB and IG significantly differed between the 2 clusters (IOB <italic>P</italic>=.03, <italic>d</italic>=0.7; IG <italic>P</italic>=.02, <italic>d</italic>=0.67; COB <italic>P</italic>=.08, <italic>d</italic>=0.55). No significant differences were found between workdays and weekends, winter and summer months, and the first and second year of AID data. However, visual analysis of the clustered days showed 2 common examples of unexpected patterns: a pattern with higher IG overnight (11 of 29 people) alongside higher IOB (10 of these 11 people; <xref ref-type="fig" rid="figure3">Figure 3</xref>) and a pattern where IG continued to rise after COB from meals dropped (17 of 29 people; <xref ref-type="fig" rid="figure2">Figure 2</xref>). In the first pattern, the AID system correctly raised IOB to deal with the increased IG but not sufficiently to avoid IG rising. Given the AID system had no information about the cause of this rise in IG (there is no higher COB during these times), it increased IOB cautiously. Further, we found that, measured in Euclidean distance between the means of each cluster, IOB and IG were most similar (mean distance 5.08, SD 2.25), and COB and IG were most different from each other (mean distance 11.43, SD 2.6). This demonstrates the AID system utilizing insulin to control IG by counteracting COB and unobserved confounders.</p><p>IOB, COB, and IG were all able to forecast each other for some of the participants in some of their clusters (<xref ref-type="table" rid="table6">Table 6</xref>). Which variable could forecast another and at what lag varied. This variation in the ability to predict IG from IOB and COB provides further evidence that unobserved confounding factors influence glucose regulation.</p><p>From a methods perspective, using a temporal view aided our discovery of patterns. This is perhaps not surprising given the long-lasting and often delayed effects of different factors on IG [<xref ref-type="bibr" rid="ref35">35</xref>,<xref ref-type="bibr" rid="ref72">72</xref>]. Although time series k-means clustering of the days uncovered many interesting patterns between IOB, COB, and IG, the clustering quality achieved was unsatisfactory (mean average silhouette score for Euclidean distance was 0.17, SD 0.09, range 0.06&#x2010;0.43). Our results suggest that, even after grouping the days into 2 clusters, many differences remained. This can be explained by people varying when and how often they eat, sleep, and do other activities that impact insulin needs. The improved silhouette scores for the SoftDTW distance measure further support this explanation.</p></sec><sec id="s4-2"><title>Comparison With Prior Work</title><p>Many studies research various factors that impact blood glucose regulation. Potential explanations for the nighttime high glucose pattern could be the impact of quality of sleep on glycemia [<xref ref-type="bibr" rid="ref73">73</xref>] or the dawn phenomenon [<xref ref-type="bibr" rid="ref74">74</xref>]. The second pattern of rising glucose levels after the carbohydrates have dropped could be due to the AID system&#x2019;s method of calculating COB, which perhaps underestimates how long carbohydrates take to be fully absorbed either in general or for some meals where other nutritional components create a longer lasting or delayed rise of glucose. Again, there are studies available that suggest macronutrients [<xref ref-type="bibr" rid="ref35">35</xref>] should be considered for insulin dosing. Another reason for unexpected patterns could be varying insulin absorption due to various factors such as malfunctioning infusion systems, lipohypertrophy, and temperature changes, which are being researched [<xref ref-type="bibr" rid="ref72">72</xref>,<xref ref-type="bibr" rid="ref75">75</xref>]. Like our study, previous studies were not able to consistently observe effects across all participants.</p><p>Various studies have examined the accurate prediction of blood glucose levels in T1D using different algorithms [<xref ref-type="bibr" rid="ref7">7</xref>]. The researchers found that their algorithm works better on simulated patients. We conjecture that this is due to unexpected patterns not being simulated. Another study explored 12 learning algorithms and 13 feature sets to predict glucose levels [<xref ref-type="bibr" rid="ref76">76</xref>]. They concluded that manually recorded diary data did not provide accurate predictions and suggested that CGM data might improve the situation. We found that whether COB and IOB can be used to forecast IG varies. Our findings suggest that, in many situations, more information than IG from CGM, IOB, and COB is required.</p><p>The participants studied seemed to be mindful about how much and when they ate carbohydrates. This was evident by the relatively low mean amount of carbohydrate intake reported (156.7 grams/day, SD 72.2, range 20&#x2010;330), as well as in the clustering of the days where 18 people had 1 cluster with lower carbohydrates (<italic>P</italic>&#x003C;.001 to .02). Furthermore, 10 people reported eating a standard amount of carbohydrates per day (&#x003E;130 grams/day), 17 people ate a low-carbohydrate diet (50&#x2010;130 grams/day), and 2 people ate a very low carbohydrate diet of &#x003C;50 grams/day; measures for diet classification were obtained from [<xref ref-type="bibr" rid="ref71">71</xref>]. Only 1 person reported eating more than 266 grams/day. Overall, the carbohydrates eaten were lower than the recommended amount of carbohydrates for the general population (267 grams/day for females, 333 grams/day for males, guidelines taken from [<xref ref-type="bibr" rid="ref77">77</xref>]). Although carbohydrate counting and professional nutritional advice are part of the treatment guidelines for T1D, restricting carbohydrates is not recommended for people with T1D [<xref ref-type="bibr" rid="ref78">78</xref>]. However, reducing the amount of carbohydrates eaten seems to be a successful glucose management strategy for many. A total of 12 people had flat lines of IG and IOB on days where COB was also a flat line, while IG varied more on days with COB spikes. Our results showed that the people we studied seemed to be cautious about their carbohydrate intake and their IG outcomes were more stable on days with fewer carbohydrate spikes. However, a &#x201C;low&#x201D; or &#x201C;very low&#x201D; carbohydrate diet remains a controversial T1D intervention with unclear long-term effects [<xref ref-type="bibr" rid="ref2">2</xref>] and studies stress the importance of a professionally supported low-carbohydrate diet [<xref ref-type="bibr" rid="ref66">66</xref>].</p></sec><sec id="s4-3"><title>Limitations</title><p>There are a few important limitations to consider. The OpenAPS Data Commons dataset used in this study might be biased due to circumstances that have led to participants donating their data: donation happens on a volunteer basis; the participants need access and funding for an insulin pump and continuous glucose monitor; and the participants need to feel competent and confident to navigate the process of setting up and running their open-source AID device. The participants in this study are early technology adopters and live in Western countries (the majority in North America). More research on different cohorts is required to understand if and how these characteristics have influenced the results.</p><p>Given the data are donated ad hoc, the amount of data varies between participants (the range of number of hours is 720&#x2010;9024; <xref ref-type="table" rid="table2">Table 2</xref>). We have included only participants who have at least 30 days of data, and we selected methods that can cope with comparing means from varying group sizes. However, limitations still exist. For some people, the data might be from consecutive days, while others have gaps. Further, some people have data from 19 different months and some from 3 different months; there are similar discrepancies for years (<xref ref-type="table" rid="table2">Table 2</xref>). Therefore, we cannot tell if the lower frequency of patterns in months of the year is due to not having at least 12 full months of data for everyone or because these patterns happen less frequently monthly. This would need to be investigated in a future study with more consecutive data for everyone. The significant relationships found between the frequency of patterns and the amount of data (<xref ref-type="table" rid="table5">Table 5</xref>) further support this.</p><p>Having only 29 participants limited some analyses. We could not find a significant difference in overall mean IOB, COB, and IG between workdays and weekends, winter and summer months, and first and second year of AID data. These results were inconclusive, particularly where our study did not achieve a power of 80% for the participants and effect sizes we observed. We have provided the number of participants required for a power of 80% to help plan future studies.</p><p>Furthermore, the OpenAPS AID device offers configurations that impact the IOB and COB calculations. On top of this, the software is regularly updated. We have not assessed the impact of settings or software changes in this study.</p><p>The time series k-means algorithm requires regularly sampled data with no gaps, which led us to create the hourly sampled daily time series. On one hand, aggregating multiple readings into a mean hourly reading lessens the impact of outliers, while on the other hand, it hides patterns that happened within the hour. Time series analysis methods generally expect regularly sampled and close to equal-length data. More work needs to be done on algorithms that can handle data that are irregularly sampled, with varying sampling intervals between variates, as well as missing data.</p><p>During preprocessing of the data, we decided to translate all timestamps to UTC to avoid jumps in time that are common for people who live in countries with multiple time zones like the United States and countries that follow daylight saving time. UTC also provides better anonymization of the data. However, it also means that the &#x201C;hour of the day&#x201D; is different for people depending on where they live. This means we cannot compare the same &#x201C;hour of the day&#x201D; from one person to another, as it might be nighttime for one participant and lunchtime for another.</p><p>Last, this study did not examine the differences in demographics between individuals who have a pattern and those who do not, nor did it research which confounding factors caused a pattern due to the dataset lacking high-frequency recordings of such factors. This would be interesting for future research and could help to stratify people with similar patterns and shed light on what leads to unexpected patterns. Note that for the 29 individuals selected in this study, there are only 2 female data donors. More data would be needed for such a study.</p></sec><sec id="s4-4"><title>Conclusions</title><p>In conclusion, our results show that changes in insulin needs due to factors beyond carbohydrate intake occur frequently. The AID device adjusts insulin in unexpected ways, which seems required for the narrow range of HbA<sub>1c</sub> maintained (mean 46 mmol/mol, SD 7.9). This supports our hypothesis that factors beyond carbohydrates play a substantial role in euglycemia. For such factors to become more systematically included in clinical practice, we need to find a way to measure and utilize this information for insulin dosing decisions. This information could also help forecast IG, which we have shown is not consistently possible from IOB and COB alone. Our findings further demonstrate the heterogeneity of patterns in insulin needs among people with T1D and underline the need for personalized treatment approaches. Not only do people have different and often conflicting patterns, but some people also have no patterns. This increases the complexity of detecting such patterns and devising an approach for including them in insulin-dosing decisions. It also offers a potential explanation for why factors beyond carbohydrates are not yet systematically considered, measured, and quantified, and why adjusting insulin dosing for such factors is often left to the individual with T1D to decipher. We have not found characteristics that can predict which pattern people will follow, nor could we consistently relate their demographic information to their pattern frequency. Based on the relationships between pattern frequency and demographic information found, we can assume that HbA<sub>1c</sub>, the amount of carbohydrates eaten, and how long an insulin pump has been used impact the frequency of patterns. It remains to be seen if a cohort with less tech experience and higher HbA<sub>1c</sub> would have similar patterns. Based on our findings, we would like to stress the importance of including a variety of participants when researching T1D and anticipating that methods that work for some cohorts might not work for others.</p><p>Until we have measurable and quantifiable information about factors that drive changes in insulin needs in unexpected ways, AID systems are left to adjust IOB cautiously, with the effect of IG going outside of euglycemia. More research is required to gain measurable and quantified information about these factors. This would be an enormous contribution to a better understanding of T1D and its treatment.</p><p>From a methods perspective, clustering days is helpful but crude. Future research could investigate segmenting and clustering time series dynamically based on changes in the relationships between IOB, COB, and IG. Our results show that patterns are more commonly found in finer time resolutions, which require methods that support irregularly sampled multivariate time series data, inherent to AID data and medical data in general.</p><p>Finally, to support future research, we would welcome long-term, open-access AID datasets that include a wide range of sensor measurements of possible factors and a diverse cohort of people with T1D. Such data would also aid research into the causalities behind these patterns.</p></sec></sec></body><back><ack><p>We would like to thank UK Research and Innovation (UKRI), which is funding author ID's PhD research through the UKRI Doctoral Training in Interactive Artificial Intelligence (AI) under grant EP/S022937/1. We are grateful to everyone involved in the Interactive AI Centre for Doctoral Training at Bristol University for their support and guidance. We would like to thank Dana Lewis and the entire OpenAPS community, who have tirelessly worked on the open-source automated insulin delivery systems. We would also like to thank the OpenHumans platform for providing the mechanism to donate data, as well as the people with diabetes who have donated their data to research that formed the basis for this study. We used the generative AI tool Claude Sonnet 3.5 by Anthropic to help us plan the work required to address the reviewers&#x2019; comments in review round 2.</p></ack><notes><sec><title>Data Availability</title><p>The OpenAPS Data Commons dataset was downloaded in April 2022. This version included data from 183 individuals. Access to the dataset needs to be requested. Instructions on how to apply can be found on the OpenAPS Data Commons website [<xref ref-type="bibr" rid="ref79">79</xref>].</p></sec></notes><fn-group><fn fn-type="conflict"><p>None declared.</p></fn></fn-group><glossary><title>Abbreviations</title><def-list><def-item><term id="abb1">ADF</term><def><p>augmented Dickey-Fuller</p></def></def-item><def-item><term id="abb2">AID</term><def><p>automated insulin delivery</p></def></def-item><def-item><term id="abb3">CGM</term><def><p>continuous glucose monitoring</p></def></def-item><def-item><term id="abb4">COB</term><def><p>carbohydrates on board</p></def></def-item><def-item><term id="abb5">DTW</term><def><p>dynamic time warping</p></def></def-item><def-item><term id="abb6">HbA<sub>1c</sub></term><def><p>glycated hemoglobin A<sub>1c</sub></p></def></def-item><def-item><term id="abb7">IG</term><def><p>interstitial glucose</p></def></def-item><def-item><term id="abb8">IOB</term><def><p>insulin on board</p></def></def-item><def-item><term id="abb9">T1D</term><def><p>type 1 diabetes</p></def></def-item></def-list></glossary><ref-list><title>References</title><ref id="ref1"><label>1</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>DiMeglio</surname><given-names>LA</given-names> </name><name name-style="western"><surname>Evans-Molina</surname><given-names>C</given-names> </name><name name-style="western"><surname>Oram</surname><given-names>RA</given-names> </name></person-group><article-title>Type 1 diabetes</article-title><source>Lancet</source><year>2018</year><month>06</month><day>16</day><volume>391</volume><issue>10138</issue><fpage>2449</fpage><lpage>2462</lpage><pub-id pub-id-type="doi">10.1016/S0140-6736(18)31320-5</pub-id><pub-id pub-id-type="medline">29916386</pub-id></nlm-citation></ref><ref id="ref2"><label>2</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Holt</surname><given-names>RIG</given-names> </name><name name-style="western"><surname>DeVries</surname><given-names>JH</given-names> </name><name name-style="western"><surname>Hess-Fischl</surname><given-names>A</given-names> </name><etal/></person-group><article-title>The management of type 1 diabetes in adults. A consensus report by the American Diabetes Association (ADA) and the European Association for the Study of Diabetes (EASD)</article-title><source>Diabetologia</source><year>2021</year><month>12</month><volume>64</volume><issue>12</issue><fpage>2609</fpage><lpage>2652</lpage><pub-id pub-id-type="doi">10.1007/s00125-021-05568-3</pub-id><pub-id pub-id-type="medline">34590174</pub-id></nlm-citation></ref><ref id="ref3"><label>3</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Bertachi</surname><given-names>A</given-names> </name><name name-style="western"><surname>Ramkissoon</surname><given-names>CM</given-names> </name><name name-style="western"><surname>Bondia</surname><given-names>J</given-names> </name><name name-style="western"><surname>Veh&#x00ED;</surname><given-names>J</given-names> </name></person-group><article-title>Automated blood glucose control in type 1 diabetes: a review of progress and challenges</article-title><source>Endocrinol Diabet Nutr</source><year>2018</year><month>03</month><volume>65</volume><issue>3</issue><fpage>172</fpage><lpage>181</lpage><pub-id pub-id-type="doi">10.1016/j.endinu.2017.10.011</pub-id></nlm-citation></ref><ref id="ref4"><label>4</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Phillip</surname><given-names>M</given-names> </name><name name-style="western"><surname>Nimri</surname><given-names>R</given-names> </name><name name-style="western"><surname>Bergenstal</surname><given-names>RM</given-names> </name><etal/></person-group><article-title>Consensus recommendations for the use of automated insulin delivery technologies in clinical practice</article-title><source>Endocr Rev</source><year>2023</year><month>03</month><day>4</day><volume>44</volume><issue>2</issue><fpage>254</fpage><lpage>280</lpage><pub-id pub-id-type="doi">10.1210/endrev/bnac022</pub-id><pub-id pub-id-type="medline">36066457</pub-id></nlm-citation></ref><ref id="ref5"><label>5</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Crabtree</surname><given-names>TSJ</given-names> </name><name name-style="western"><surname>McLay</surname><given-names>A</given-names> </name><name name-style="western"><surname>Wilmot</surname><given-names>EG</given-names> </name></person-group><article-title>DIY artificial pancreas systems: here to stay?</article-title><source>Pract Diab</source><year>2019</year><month>03</month><access-date>2024-11-15</access-date><volume>36</volume><issue>2</issue><fpage>63</fpage><lpage>68</lpage><comment><ext-link ext-link-type="uri" xlink:href="https://wchh.onlinelibrary.wiley.com/toc/20472900/36/2">https://wchh.onlinelibrary.wiley.com/toc/20472900/36/2</ext-link></comment><pub-id pub-id-type="doi">10.1002/pdi.2216</pub-id></nlm-citation></ref><ref id="ref6"><label>6</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Contreras</surname><given-names>I</given-names> </name><name name-style="western"><surname>Vehi</surname><given-names>J</given-names> </name></person-group><article-title>Artificial intelligence for diabetes management and decision support: literature review</article-title><source>J Med Internet Res</source><year>2018</year><month>05</month><day>30</day><volume>20</volume><issue>5</issue><fpage>e10775</fpage><pub-id pub-id-type="doi">10.2196/10775</pub-id><pub-id pub-id-type="medline">29848472</pub-id></nlm-citation></ref><ref id="ref7"><label>7</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Munoz-Organero</surname><given-names>M</given-names> </name></person-group><article-title>Deep physiological model for blood glucose prediction in T1DM patients</article-title><source>Sensors (Basel)</source><year>2020</year><month>07</month><day>13</day><volume>20</volume><issue>14</issue><fpage>3896</fpage><pub-id pub-id-type="doi">10.3390/s20143896</pub-id><pub-id pub-id-type="medline">32668724</pub-id></nlm-citation></ref><ref id="ref8"><label>8</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Jaloli</surname><given-names>M</given-names> </name><name name-style="western"><surname>Cescon</surname><given-names>M</given-names> </name></person-group><article-title>Long-term prediction of blood glucose levels in type 1 diabetes using a CNN-LSTM-based deep neural network</article-title><source>J Diabetes Sci Technol</source><year>2023</year><month>11</month><volume>17</volume><issue>6</issue><fpage>1590</fpage><lpage>1601</lpage><pub-id pub-id-type="doi">10.1177/19322968221092785</pub-id><pub-id pub-id-type="medline">35466701</pub-id></nlm-citation></ref><ref id="ref9"><label>9</label><nlm-citation citation-type="confproc"><person-group person-group-type="author"><name name-style="western"><surname>San</surname><given-names>PP</given-names> </name><name name-style="western"><surname>Ling</surname><given-names>SH</given-names> </name><name name-style="western"><surname>Nguyen</surname><given-names>HT</given-names> </name></person-group><article-title>Deep learning framework for detection of hypoglycemic episodes in children with type 1 diabetes</article-title><conf-name>2016 38th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC)</conf-name><conf-date>Aug 16-20, 2016</conf-date><conf-loc>Orlando, FL, USA</conf-loc><fpage>3503</fpage><lpage>3506</lpage><pub-id pub-id-type="doi">10.1109/EMBC.2016.7591483</pub-id><pub-id pub-id-type="medline">28269053</pub-id></nlm-citation></ref><ref id="ref10"><label>10</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Cescon</surname><given-names>M</given-names> </name><name name-style="western"><surname>DeSalvo</surname><given-names>DJ</given-names> </name><name name-style="western"><surname>Ly</surname><given-names>TT</given-names> </name><etal/></person-group><article-title>Early detection of infusion set failure during insulin pump therapy in type 1 diabetes</article-title><source>J Diabetes Sci Technol</source><year>2016</year><month>11</month><volume>10</volume><issue>6</issue><fpage>1268</fpage><lpage>1276</lpage><pub-id pub-id-type="doi">10.1177/1932296816663962</pub-id><pub-id pub-id-type="medline">27621142</pub-id></nlm-citation></ref><ref id="ref11"><label>11</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Turksoy</surname><given-names>K</given-names> </name><name name-style="western"><surname>Roy</surname><given-names>A</given-names> </name><name name-style="western"><surname>Cinar</surname><given-names>A</given-names> </name></person-group><article-title>Real-time model-based fault detection of continuous glucose sensor measurements</article-title><source>IEEE Trans Biomed Eng</source><year>2017</year><month>07</month><volume>64</volume><issue>7</issue><fpage>1437</fpage><lpage>1445</lpage><pub-id pub-id-type="doi">10.1109/TBME.2016.2535412</pub-id><pub-id pub-id-type="medline">26930674</pub-id></nlm-citation></ref><ref id="ref12"><label>12</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Kavakiotis</surname><given-names>I</given-names> </name><name name-style="western"><surname>Tsave</surname><given-names>O</given-names> </name><name name-style="western"><surname>Salifoglou</surname><given-names>A</given-names> </name><name name-style="western"><surname>Maglaveras</surname><given-names>N</given-names> </name><name name-style="western"><surname>Vlahavas</surname><given-names>I</given-names> </name><name name-style="western"><surname>Chouvarda</surname><given-names>I</given-names> </name></person-group><article-title>Machine learning and data mining methods in diabetes research</article-title><source>Comput Struct Biotechnol J</source><year>2017</year><volume>15</volume><fpage>104</fpage><lpage>116</lpage><pub-id pub-id-type="doi">10.1016/j.csbj.2016.12.005</pub-id><pub-id pub-id-type="medline">28138367</pub-id></nlm-citation></ref><ref id="ref13"><label>13</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Hidalgo</surname><given-names>JI</given-names> </name><name name-style="western"><surname>Colmenar</surname><given-names>JM</given-names> </name><name name-style="western"><surname>Kronberger</surname><given-names>G</given-names> </name><name name-style="western"><surname>Winkler</surname><given-names>SM</given-names> </name><name name-style="western"><surname>Garnica</surname><given-names>O</given-names> </name><name name-style="western"><surname>Lanchares</surname><given-names>J</given-names> </name></person-group><article-title>Data based prediction of blood glucose concentrations using evolutionary methods</article-title><source>J Med Syst</source><year>2017</year><month>08</month><day>8</day><volume>41</volume><issue>9</issue><fpage>142</fpage><pub-id pub-id-type="doi">10.1007/s10916-017-0788-2</pub-id><pub-id pub-id-type="medline">28791547</pub-id></nlm-citation></ref><ref id="ref14"><label>14</label><nlm-citation citation-type="confproc"><person-group person-group-type="author"><name name-style="western"><surname>Georga</surname><given-names>EI</given-names> </name><name name-style="western"><surname>Protopappas</surname><given-names>VC</given-names> </name><name name-style="western"><surname>Polyzos</surname><given-names>D</given-names> </name><name name-style="western"><surname>Fotiadis</surname><given-names>DI</given-names> </name></person-group><article-title>A predictive model of subcutaneous glucose concentration in type 1 diabetes based on random forests</article-title><conf-name>2012 34th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC)</conf-name><conf-date>Aug 28, 2012 to Sep 1, 2023</conf-date><conf-loc>San Diego, CA</conf-loc><fpage>2889</fpage><lpage>2892</lpage><pub-id pub-id-type="doi">10.1109/EMBC.2012.6346567</pub-id></nlm-citation></ref><ref id="ref15"><label>15</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Visentin</surname><given-names>R</given-names> </name><name name-style="western"><surname>Campos-N&#x00E1;&#x00F1;ez</surname><given-names>E</given-names> </name><name name-style="western"><surname>Schiavon</surname><given-names>M</given-names> </name><etal/></person-group><article-title>The UVA/Padova type 1 diabetes simulator goes from single meal to single day</article-title><source>J Diabetes Sci Technol</source><year>2018</year><month>03</month><volume>12</volume><issue>2</issue><fpage>273</fpage><lpage>281</lpage><pub-id pub-id-type="doi">10.1177/1932296818757747</pub-id><pub-id pub-id-type="medline">29451021</pub-id></nlm-citation></ref><ref id="ref16"><label>16</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Weisman</surname><given-names>A</given-names> </name><name name-style="western"><surname>Bai</surname><given-names>JW</given-names> </name><name name-style="western"><surname>Cardinez</surname><given-names>M</given-names> </name><name name-style="western"><surname>Kramer</surname><given-names>CK</given-names> </name><name name-style="western"><surname>Perkins</surname><given-names>BA</given-names> </name></person-group><article-title>Effect of artificial pancreas systems on glycaemic control in patients with type 1 diabetes: a systematic review and meta-analysis of outpatient randomised controlled trials</article-title><source>Lancet Diabetes Endocrinol</source><year>2017</year><month>07</month><volume>5</volume><issue>7</issue><fpage>501</fpage><lpage>512</lpage><pub-id pub-id-type="doi">10.1016/S2213-8587(17)30167-5</pub-id><pub-id pub-id-type="medline">28533136</pub-id></nlm-citation></ref><ref id="ref17"><label>17</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>O&#x2019;Donnell</surname><given-names>S</given-names> </name><name name-style="western"><surname>Lewis</surname><given-names>D</given-names> </name><name name-style="western"><surname>Marchante Fern&#x00E1;ndez</surname><given-names>M</given-names> </name><etal/></person-group><article-title>Evidence on user-led innovation in diabetes technology (the OPEN project): protocol for a mixed methods study</article-title><source>JMIR Res Protoc</source><year>2019</year><month>11</month><day>19</day><volume>8</volume><issue>11</issue><fpage>e15368</fpage><pub-id pub-id-type="doi">10.2196/15368</pub-id><pub-id pub-id-type="medline">31742563</pub-id></nlm-citation></ref><ref id="ref18"><label>18</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Knoll</surname><given-names>C</given-names> </name><name name-style="western"><surname>Peacock</surname><given-names>S</given-names> </name><name name-style="western"><surname>W&#x00E4;ldchen</surname><given-names>M</given-names> </name><etal/></person-group><article-title>Real&#x2010;world evidence on clinical outcomes of people with type 1 diabetes using open&#x2010;source and commercial automated insulin dosing systems: a systematic review</article-title><source>Diabet Med</source><year>2022</year><month>05</month><volume>39</volume><issue>5</issue><fpage>e14741</fpage><pub-id pub-id-type="doi">10.1111/dme.14741</pub-id><pub-id pub-id-type="medline">34773301</pub-id></nlm-citation></ref><ref id="ref19"><label>19</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Braune</surname><given-names>K</given-names> </name><name name-style="western"><surname>O&#x2019;Donnell</surname><given-names>S</given-names> </name><name name-style="western"><surname>Cleal</surname><given-names>B</given-names> </name><etal/></person-group><article-title>Real-world use of do-it-yourself artificial pancreas systems in children and adolescents with type 1 diabetes: online survey and analysis of self-reported clinical outcomes</article-title><source>JMIR Mhealth Uhealth</source><year>2019</year><month>07</month><day>30</day><volume>7</volume><issue>7</issue><fpage>e14087</fpage><pub-id pub-id-type="doi">10.2196/14087</pub-id><pub-id pub-id-type="medline">31364599</pub-id></nlm-citation></ref><ref id="ref20"><label>20</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Petruzelkova</surname><given-names>L</given-names> </name><name name-style="western"><surname>Soupal</surname><given-names>J</given-names> </name><name name-style="western"><surname>Plasova</surname><given-names>V</given-names> </name><etal/></person-group><article-title>Excellent glycemic control maintained by open-source hybrid closed-loop AndroidAPS during and after sustained physical activity</article-title><source>Diabetes Technol Ther</source><year>2018</year><month>11</month><volume>20</volume><issue>11</issue><fpage>744</fpage><lpage>750</lpage><pub-id pub-id-type="doi">10.1089/dia.2018.0214</pub-id><pub-id pub-id-type="medline">30285476</pub-id></nlm-citation></ref><ref id="ref21"><label>21</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Lewis</surname><given-names>DM</given-names> </name><name name-style="western"><surname>Swain</surname><given-names>RS</given-names> </name><name name-style="western"><surname>Donner</surname><given-names>TW</given-names> </name></person-group><article-title>Improvements in A1C and time-in-range in DIY closed-loop (OpenAPS) users</article-title><source>Diabetes</source><year>2018</year><month>07</month><day>1</day><volume>67</volume><issue>Supplement_1</issue><pub-id pub-id-type="doi">10.2337/db18-352-OR</pub-id><pub-id pub-id-type="medline">29759973</pub-id></nlm-citation></ref><ref id="ref22"><label>22</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Oliver</surname><given-names>N</given-names> </name><name name-style="western"><surname>Reddy</surname><given-names>M</given-names> </name><name name-style="western"><surname>Marriott</surname><given-names>C</given-names> </name><name name-style="western"><surname>Walker</surname><given-names>T</given-names> </name><name name-style="western"><surname>Heinemann</surname><given-names>L</given-names> </name></person-group><article-title>Open source automated insulin delivery: addressing the challenge</article-title><source>NPJ Digit Med</source><year>2019</year><volume>2</volume><fpage>124</fpage><pub-id pub-id-type="doi">10.1038/s41746-019-0202-1</pub-id><pub-id pub-id-type="medline">31840095</pub-id></nlm-citation></ref><ref id="ref23"><label>23</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Shahid</surname><given-names>A</given-names> </name><name name-style="western"><surname>Lewis</surname><given-names>DM</given-names> </name></person-group><article-title>Large-scale data analysis for glucose variability outcomes with open-source automated insulin delivery systems</article-title><source>Nutrients</source><year>2022</year><month>05</month><day>2</day><volume>14</volume><issue>9</issue><fpage>1906</fpage><pub-id pub-id-type="doi">10.3390/nu14091906</pub-id><pub-id pub-id-type="medline">35565875</pub-id></nlm-citation></ref><ref id="ref24"><label>24</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Khan</surname><given-names>FA</given-names> </name><name name-style="western"><surname>Zeb</surname><given-names>K</given-names> </name><name name-style="western"><surname>Al-Rakhami</surname><given-names>M</given-names> </name><name name-style="western"><surname>Derhab</surname><given-names>A</given-names> </name><name name-style="western"><surname>Bukhari</surname><given-names>SAC</given-names> </name></person-group><article-title>Detection and prediction of diabetes using data mining: a comprehensive review</article-title><source>IEEE Access</source><year>2021</year><volume>9</volume><fpage>43711</fpage><lpage>43735</lpage><pub-id pub-id-type="doi">10.1109/ACCESS.2021.3059343</pub-id><pub-id pub-id-type="medline">34786317</pub-id></nlm-citation></ref><ref id="ref25"><label>25</label><nlm-citation citation-type="web"><person-group person-group-type="author"><name name-style="western"><surname>Lewis</surname><given-names>D</given-names> </name></person-group><source>#OpenAPS.org</source><access-date>2024-01-30</access-date><comment><ext-link ext-link-type="uri" xlink:href="https://openaps.org">https://openaps.org</ext-link></comment></nlm-citation></ref><ref id="ref26"><label>26</label><nlm-citation citation-type="web"><person-group person-group-type="author"><collab>#OpenAPS community</collab></person-group><source>Understanding the determine-basal logic &#x2014; OpenAPS 000 documentation</source><access-date>2024-01-30</access-date><comment><ext-link ext-link-type="uri" xlink:href="https://openaps.readthedocs.io/en/latest/docs/While%20You%20Wait%20For%20Gear/Understand-determine-basal.html">https://openaps.readthedocs.io/en/latest/docs/While%20You%20Wait%20For%20Gear/Understand-determine-basal.html</ext-link></comment></nlm-citation></ref><ref id="ref27"><label>27</label><nlm-citation citation-type="web"><person-group person-group-type="author"><collab>#OpenAPS community</collab></person-group><source>Understanding Insulin on Board (IOB) Calculations &#x2014; OpenAPS 000 documentation</source><access-date>2024-01-30</access-date><comment><ext-link ext-link-type="uri" xlink:href="https://openaps.readthedocs.io/en/latest/docs/While%20You%20Wait%20For%20Gear/understanding-insulin-on-board-calculations.html">https://openaps.readthedocs.io/en/latest/docs/While%20You%20Wait%20For%20Gear/understanding-insulin-on-board-calculations.html</ext-link></comment></nlm-citation></ref><ref id="ref28"><label>28</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Jane&#x017E;</surname><given-names>A</given-names> </name><name name-style="western"><surname>Guja</surname><given-names>C</given-names> </name><name name-style="western"><surname>Mitrakou</surname><given-names>A</given-names> </name><etal/></person-group><article-title>Insulin therapy in adults with type 1 diabetes mellitus: a narrative review</article-title><source>Diabetes Ther</source><year>2020</year><month>02</month><volume>11</volume><issue>2</issue><fpage>387</fpage><lpage>409</lpage><pub-id pub-id-type="doi">10.1007/s13300-019-00743-7</pub-id><pub-id pub-id-type="medline">31902063</pub-id></nlm-citation></ref><ref id="ref29"><label>29</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Bell</surname><given-names>KJ</given-names> </name><name name-style="western"><surname>Barclay</surname><given-names>AW</given-names> </name><name name-style="western"><surname>Petocz</surname><given-names>P</given-names> </name><name name-style="western"><surname>Colagiuri</surname><given-names>S</given-names> </name><name name-style="western"><surname>Brand-Miller</surname><given-names>JC</given-names> </name></person-group><article-title>Efficacy of carbohydrate counting in type 1 diabetes: a systematic review and meta-analysis</article-title><source>Lancet Diabetes Endocrinol</source><year>2014</year><month>02</month><volume>2</volume><issue>2</issue><fpage>133</fpage><lpage>140</lpage><pub-id pub-id-type="doi">10.1016/S2213-8587(13)70144-X</pub-id><pub-id pub-id-type="medline">24622717</pub-id></nlm-citation></ref><ref id="ref30"><label>30</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>McIntyre</surname><given-names>HD</given-names> </name></person-group><article-title>Dose adjustment for normal eating: a role for the expert patient?</article-title><source>Diabetes Metab J</source><year>2014</year><month>04</month><volume>38</volume><issue>2</issue><fpage>87</fpage><lpage>91</lpage><pub-id pub-id-type="doi">10.4093/dmj.2014.38.2.87</pub-id><pub-id pub-id-type="medline">24851201</pub-id></nlm-citation></ref><ref id="ref31"><label>31</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Heller</surname><given-names>S</given-names> </name><name name-style="western"><surname>Lawton</surname><given-names>J</given-names> </name><name name-style="western"><surname>Amiel</surname><given-names>S</given-names> </name><etal/></person-group><article-title>Improving management of type 1 diabetes in the UK: the Dose Adjustment For Normal Eating (DAFNE) programme as a research test-bed. A mixed-method analysis of the barriers to and facilitators of successful diabetes self-management, a health economic analysis, a cluster randomised controlled trial of different models of delivery of an educational intervention and the potential of insulin pumps and additional educator input to improve outcomes</article-title><source>Prog Grants for Appl Res</source><year>2014</year><volume>2</volume><issue>5</issue><fpage>1</fpage><lpage>188</lpage><pub-id pub-id-type="doi">10.3310/pgfar02050</pub-id></nlm-citation></ref><ref id="ref32"><label>32</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>R&#x00F6;der</surname><given-names>PV</given-names> </name><name name-style="western"><surname>Wu</surname><given-names>B</given-names> </name><name name-style="western"><surname>Liu</surname><given-names>Y</given-names> </name><name name-style="western"><surname>Han</surname><given-names>W</given-names> </name></person-group><article-title>Pancreatic regulation of glucose homeostasis</article-title><source>Exp Mol Med</source><year>2016</year><month>03</month><day>11</day><volume>48</volume><issue>3</issue><fpage>e219</fpage><pub-id pub-id-type="doi">10.1038/emm.2016.6</pub-id><pub-id pub-id-type="medline">26964835</pub-id></nlm-citation></ref><ref id="ref33"><label>33</label><nlm-citation citation-type="book"><person-group person-group-type="author"><name name-style="western"><surname>Nakrani</surname><given-names>MN</given-names> </name><name name-style="western"><surname>Wineland</surname><given-names>RH</given-names> </name><name name-style="western"><surname>Physiology</surname><given-names>AF</given-names> </name><name name-style="western"><surname>Metabolism</surname><given-names>G</given-names> </name></person-group><source>Physiology, Glucose Metabolism</source><year>2023</year><access-date>2024-01-30</access-date><publisher-name>StatPearls</publisher-name><comment><ext-link ext-link-type="uri" xlink:href="https://www.ncbi.nlm.nih.gov/books/NBK560599/">https://www.ncbi.nlm.nih.gov/books/NBK560599/</ext-link></comment><pub-id pub-id-type="medline">32809434</pub-id></nlm-citation></ref><ref id="ref34"><label>34</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Liu</surname><given-names>L</given-names> </name><name name-style="western"><surname>Dattaroy</surname><given-names>D</given-names> </name><name name-style="western"><surname>Simpson</surname><given-names>KF</given-names> </name><etal/></person-group><article-title>Gq signaling in &#x03B1; cells is critical for maintaining euglycemia</article-title><source>JCI Insight</source><year>2021</year><month>12</month><day>22</day><volume>6</volume><issue>24</issue><fpage>e152852</fpage><pub-id pub-id-type="doi">10.1172/jci.insight.152852</pub-id><pub-id pub-id-type="medline">34752420</pub-id></nlm-citation></ref><ref id="ref35"><label>35</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Evert</surname><given-names>AB</given-names> </name></person-group><article-title>Factors beyond carbohydrate to consider when determining meantime insulin doses: protein, fat, timing, and technology</article-title><source>Diabetes Spectr</source><year>2020</year><month>05</month><volume>33</volume><issue>2</issue><fpage>149</fpage><lpage>155</lpage><pub-id pub-id-type="doi">10.2337/ds20-0004</pub-id><pub-id pub-id-type="medline">32425452</pub-id></nlm-citation></ref><ref id="ref36"><label>36</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Riddell</surname><given-names>MC</given-names> </name><name name-style="western"><surname>Peters</surname><given-names>AL</given-names> </name></person-group><article-title>Exercise in adults with type 1 diabetes mellitus</article-title><source>Nat Rev Endocrinol</source><year>2023</year><month>02</month><volume>19</volume><issue>2</issue><fpage>98</fpage><lpage>111</lpage><pub-id pub-id-type="doi">10.1038/s41574-022-00756-6</pub-id><pub-id pub-id-type="medline">36316391</pub-id></nlm-citation></ref><ref id="ref37"><label>37</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Roep</surname><given-names>BO</given-names> </name><name name-style="western"><surname>Thomaidou</surname><given-names>S</given-names> </name><name name-style="western"><surname>van Tienhoven</surname><given-names>R</given-names> </name><name name-style="western"><surname>Zaldumbide</surname><given-names>A</given-names> </name></person-group><article-title>Type 1 diabetes mellitus as a disease of the &#x03B2;-cell (do not blame the immune system?)</article-title><source>Nat Rev Endocrinol</source><year>2021</year><month>03</month><volume>17</volume><issue>3</issue><fpage>150</fpage><lpage>161</lpage><pub-id pub-id-type="doi">10.1038/s41574-020-00443-4</pub-id><pub-id pub-id-type="medline">33293704</pub-id></nlm-citation></ref><ref id="ref38"><label>38</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Akl</surname><given-names>MG</given-names> </name><name name-style="western"><surname>Baccetto</surname><given-names>R</given-names> </name><name name-style="western"><surname>Stebbings</surname><given-names>BM</given-names> </name><name name-style="western"><surname>Li</surname><given-names>L</given-names> </name><name name-style="western"><surname>Widenmaier</surname><given-names>SB</given-names> </name></person-group><article-title>Euglycemia is affected by stress defense factor hepatocyte NRF1, but not NRF2</article-title><source>Biochem Biophys Res Commun</source><year>2023</year><month>08</month><day>6</day><volume>668</volume><fpage>96</fpage><lpage>103</lpage><pub-id pub-id-type="doi">10.1016/j.bbrc.2023.05.082</pub-id><pub-id pub-id-type="medline">37245295</pub-id></nlm-citation></ref><ref id="ref39"><label>39</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Toor</surname><given-names>S</given-names> </name><name name-style="western"><surname>Yardley</surname><given-names>JE</given-names> </name><name name-style="western"><surname>Momeni</surname><given-names>Z</given-names> </name></person-group><article-title>Type 1 diabetes and the menstrual cycle: where/how does exercise fit in?</article-title><source>Int J Environ Res Public Health</source><year>2023</year><month>02</month><day>4</day><volume>20</volume><issue>4</issue><fpage>2772</fpage><pub-id pub-id-type="doi">10.3390/ijerph20042772</pub-id><pub-id pub-id-type="medline">36833469</pub-id></nlm-citation></ref><ref id="ref40"><label>40</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Beck</surname><given-names>RW</given-names> </name><name name-style="western"><surname>Bergenstal</surname><given-names>RM</given-names> </name></person-group><article-title>Beyond A1C-standardization of continuous glucose monitoring reporting: why it is needed and how it continues to evolve</article-title><source>Diabetes Spectr</source><year>2021</year><month>05</month><volume>34</volume><issue>2</issue><fpage>102</fpage><lpage>108</lpage><pub-id pub-id-type="doi">10.2337/ds20-0090</pub-id><pub-id pub-id-type="medline">34149250</pub-id></nlm-citation></ref><ref id="ref41"><label>41</label><nlm-citation citation-type="web"><person-group person-group-type="author"><name name-style="western"><surname>Degen</surname><given-names>I</given-names> </name></person-group><article-title>Isabelladegen/insulin-need: find patterns in insulin need from the OpenAPS commons dataset. Code for NeurIPS TS4H workshop paper 2022</article-title><source>GitHub</source><year>2022</year><access-date>2024-01-30</access-date><comment><ext-link ext-link-type="uri" xlink:href="https://github.com/isabelladegen/insulin-need">https://github.com/isabelladegen/insulin-need</ext-link></comment></nlm-citation></ref><ref id="ref42"><label>42</label><nlm-citation citation-type="web"><article-title>Pandas-dev/pandas: pandas</article-title><source>Zenodo</source><year>2023</year><access-date>2024-11-04</access-date><comment><ext-link ext-link-type="uri" xlink:href="https://zenodo.org/records/7658911">https://zenodo.org/records/7658911</ext-link></comment></nlm-citation></ref><ref id="ref43"><label>43</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Harris</surname><given-names>CR</given-names> </name><name name-style="western"><surname>Millman</surname><given-names>KJ</given-names> </name><name name-style="western"><surname>van der Walt</surname><given-names>SJ</given-names> </name><etal/></person-group><article-title>Array programming with NumPy</article-title><source>Nat New Biol</source><year>2020</year><month>09</month><volume>585</volume><issue>7825</issue><fpage>357</fpage><lpage>362</lpage><pub-id pub-id-type="doi">10.1038/s41586-020-2649-2</pub-id><pub-id pub-id-type="medline">32939066</pub-id></nlm-citation></ref><ref id="ref44"><label>44</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Virtanen</surname><given-names>P</given-names> </name><name name-style="western"><surname>Gommers</surname><given-names>R</given-names> </name><name name-style="western"><surname>Oliphant</surname><given-names>TE</given-names> </name><etal/></person-group><article-title>SciPy 1.0: fundamental algorithms for scientific computing in Python</article-title><source>Nat Methods</source><year>2020</year><month>03</month><volume>17</volume><issue>3</issue><fpage>261</fpage><lpage>272</lpage><pub-id pub-id-type="doi">10.1038/s41592-019-0686-2</pub-id><pub-id pub-id-type="medline">32015543</pub-id></nlm-citation></ref><ref id="ref45"><label>45</label><nlm-citation citation-type="book"><person-group person-group-type="author"><name name-style="western"><surname>Asesh</surname><given-names>A</given-names> </name></person-group><person-group person-group-type="editor"><name name-style="western"><surname>Biele</surname><given-names>C</given-names> </name><name name-style="western"><surname>Kacprzyk</surname><given-names>J</given-names> </name><name name-style="western"><surname>Kope&#x0107;</surname><given-names>W</given-names> </name><name name-style="western"><surname>Owsi&#x0144;ski</surname><given-names>JW</given-names> </name><name name-style="western"><surname>Romanowski</surname><given-names>A</given-names> </name><name name-style="western"><surname>Sikorski</surname><given-names>M</given-names> </name></person-group><article-title>Normalization and bias in time series data</article-title><source>Digital Interaction and Machine Intelligence. MIDI&#x2019;2021. Lecture Notes in Networks and Systems</source><year>2022</year><volume>440</volume><publisher-name>Springer</publisher-name><fpage>88</fpage><lpage>97</lpage><pub-id pub-id-type="doi">10.1007/978-3-031-11432-8_8</pub-id></nlm-citation></ref><ref id="ref46"><label>46</label><nlm-citation citation-type="web"><article-title>Compare the effect of different scalers on data with outliers &#x2014; scikit-learn 140 documentation</article-title><source>Scikit-learn</source><access-date>2024-02-06</access-date><comment><ext-link ext-link-type="uri" xlink:href="https://scikit-learn.org/stable/auto_examples/preprocessing/plot_all_scaling.html#plot-all-scaling-minmax-scaler-section">https://scikit-learn.org/stable/auto_examples/preprocessing/plot_all_scaling.html#plot-all-scaling-minmax-scaler-section</ext-link></comment></nlm-citation></ref><ref id="ref47"><label>47</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Rousseeuw</surname><given-names>PJ</given-names> </name></person-group><article-title>Silhouettes: a graphical aid to the interpretation and validation of cluster analysis</article-title><source>J Comput Appl Math</source><year>1987</year><month>11</month><volume>20</volume><issue>C</issue><fpage>53</fpage><lpage>65</lpage><pub-id pub-id-type="doi">10.1016/0377-0427(87)90125-7</pub-id></nlm-citation></ref><ref id="ref48"><label>48</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Vendramin</surname><given-names>L</given-names> </name><name name-style="western"><surname>Campello</surname><given-names>R</given-names> </name><name name-style="western"><surname>Hruschka</surname><given-names>ER</given-names> </name></person-group><article-title>Relative clustering validity criteria: a comparative overview</article-title><source>Stat Anal</source><year>2010</year><month>08</month><volume>3</volume><issue>4</issue><fpage>209</fpage><lpage>235</lpage><pub-id pub-id-type="doi">10.1002/sam.10080</pub-id></nlm-citation></ref><ref id="ref49"><label>49</label><nlm-citation citation-type="confproc"><person-group person-group-type="author"><name name-style="western"><surname>Berndt</surname><given-names>DJ</given-names> </name><name name-style="western"><surname>Clifford</surname><given-names>J</given-names> </name></person-group><article-title>Using dynamic time warping to find patterns in time series</article-title><access-date>2024-11-12</access-date><conf-name>KDD-94: AAA1-94 Workshop on Knowledge Discovery in Databases</conf-name><conf-date>Jul 1994</conf-date><conf-loc>Seattle, Washington</conf-loc><comment><ext-link ext-link-type="uri" xlink:href="https://cdn.aaai.org/Workshops/1994/WS-94-03/WS94-03-031.pdf">https://cdn.aaai.org/Workshops/1994/WS-94-03/WS94-03-031.pdf</ext-link></comment></nlm-citation></ref><ref id="ref50"><label>50</label><nlm-citation citation-type="confproc"><person-group person-group-type="author"><name name-style="western"><surname>Cuturi</surname><given-names>M</given-names> </name><name name-style="western"><surname>Blondel</surname><given-names>M</given-names> </name></person-group><article-title>Soft-DTW: a differentiable loss function for time-series</article-title><conf-name>34th Int Conf Mach Learn ICML</conf-name><conf-date>Aug 6-12, 2014</conf-date><conf-loc>Sydney, Australia</conf-loc><fpage>1483</fpage><lpage>1505</lpage><pub-id pub-id-type="doi">10.5555/3305381.3305474</pub-id></nlm-citation></ref><ref id="ref51"><label>51</label><nlm-citation citation-type="preprint"><person-group person-group-type="author"><name name-style="western"><surname>Degen</surname><given-names>I</given-names> </name><name name-style="western"><surname>Abdallah</surname><given-names>ZS</given-names> </name></person-group><article-title>Temporal patterns in insulin needs for type 1 diabetes</article-title><source>arXiv</source><access-date>2024-11-04</access-date><comment>Preprint posted online on  Nov 14, 2022</comment><comment><ext-link ext-link-type="uri" xlink:href="https://arxiv.org/abs/2211.07393">https://arxiv.org/abs/2211.07393</ext-link></comment><pub-id pub-id-type="doi">10.48550/arxiv.2211.07393</pub-id></nlm-citation></ref><ref id="ref52"><label>52</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Tavenard</surname><given-names>R</given-names> </name><name name-style="western"><surname>Faouzi</surname><given-names>J</given-names> </name><name name-style="western"><surname>Vandewiele</surname><given-names>G</given-names> </name><etal/></person-group><article-title>Tslearn, a machine learning toolkit for time series data</article-title><source>J Mach Learn Res</source><year>2020</year><volume>21</volume><issue>118</issue><fpage>1</fpage><lpage>6</lpage><pub-id pub-id-type="doi">10.5555/3455716.3455834</pub-id></nlm-citation></ref><ref id="ref53"><label>53</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Pedregosa</surname><given-names>F</given-names> </name><name name-style="western"><surname>Michel</surname><given-names>V</given-names> </name><name name-style="western"><surname>Grisel</surname><given-names>O</given-names> </name><etal/></person-group><article-title>Scikit-learn: machine learning in Python</article-title><source>J Mach Learn Res</source><year>2011</year><volume>12</volume><fpage>2825</fpage><lpage>2830</lpage><pub-id pub-id-type="doi">10.5555/1953048.2078195</pub-id></nlm-citation></ref><ref id="ref54"><label>54</label><nlm-citation citation-type="book"><person-group person-group-type="author"><name name-style="western"><surname>Campbell</surname><given-names>MJ</given-names> </name></person-group><source>Statistics at Square One</source><year>2021</year><edition>12</edition><publisher-name>Wiley</publisher-name><pub-id pub-id-type="doi">10.1002/9781119402350</pub-id></nlm-citation></ref><ref id="ref55"><label>55</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Kendall</surname><given-names>MG</given-names> </name></person-group><article-title>A new measure of rank correlation</article-title><source>Biometrika</source><year>1938</year><month>06</month><volume>30</volume><issue>1/2</issue><fpage>81</fpage><pub-id pub-id-type="doi">10.2307/2332226</pub-id></nlm-citation></ref><ref id="ref56"><label>56</label><nlm-citation citation-type="book"><person-group person-group-type="author"><name name-style="western"><surname>Kendall</surname><given-names>MG</given-names> </name><name name-style="western"><surname>Gibbons</surname><given-names>JD</given-names> </name></person-group><source>Rank Correlation Methods</source><year>1990</year><edition>5</edition><publisher-name>Oxford University Press</publisher-name><pub-id pub-id-type="other">9780195208375</pub-id></nlm-citation></ref><ref id="ref57"><label>57</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Arndt</surname><given-names>S</given-names> </name><name name-style="western"><surname>Turvey</surname><given-names>C</given-names> </name><name name-style="western"><surname>Andreasen</surname><given-names>NC</given-names> </name></person-group><article-title>Correlating and predicting psychiatric symptom ratings: Spearmans r versus Kendalls tau correlation</article-title><source>J Psychiatr Res</source><year>1999</year><volume>33</volume><issue>2</issue><fpage>97</fpage><lpage>104</lpage><pub-id pub-id-type="doi">10.1016/s0022-3956(98)90046-2</pub-id><pub-id pub-id-type="medline">10221741</pub-id></nlm-citation></ref><ref id="ref58"><label>58</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>May</surname><given-names>JO</given-names> </name><name name-style="western"><surname>Looney</surname><given-names>SW</given-names> </name></person-group><article-title>Sample size charts for Spearman and Kendall coefficients</article-title><source>J Biom Biostat</source><year>2020</year><volume>11</volume><issue>6</issue><fpage>1</fpage><lpage>7</lpage><pub-id pub-id-type="doi">10.37421/2155-6180.2020.11.440</pub-id></nlm-citation></ref><ref id="ref59"><label>59</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Mann</surname><given-names>HB</given-names> </name><name name-style="western"><surname>Whitney</surname><given-names>DR</given-names> </name></person-group><article-title>On a test of whether one of two random variables is stochastically larger than the other</article-title><source>Ann Math Statist</source><year>1947</year><month>03</month><volume>18</volume><issue>1</issue><fpage>50</fpage><lpage>60</lpage><pub-id pub-id-type="doi">10.1214/aoms/1177730491</pub-id></nlm-citation></ref><ref id="ref60"><label>60</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Faul</surname><given-names>F</given-names> </name><name name-style="western"><surname>Erdfelder</surname><given-names>E</given-names> </name><name name-style="western"><surname>Lang</surname><given-names>AG</given-names> </name><name name-style="western"><surname>Buchner</surname><given-names>A</given-names> </name></person-group><article-title>G*Power 3: a flexible statistical power analysis program for the social, behavioral, and biomedical sciences</article-title><source>Behav Res Methods</source><year>2007</year><month>05</month><volume>39</volume><issue>2</issue><fpage>175</fpage><lpage>191</lpage><pub-id pub-id-type="doi">10.3758/bf03193146</pub-id><pub-id pub-id-type="medline">17695343</pub-id></nlm-citation></ref><ref id="ref61"><label>61</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Granger</surname><given-names>CWJ</given-names> </name></person-group><article-title>Investigating causal relations by econometric models and cross-spectral methods</article-title><source>Econometrica</source><year>1969</year><month>08</month><volume>37</volume><issue>3</issue><fpage>424</fpage><pub-id pub-id-type="doi">10.2307/1912791</pub-id></nlm-citation></ref><ref id="ref62"><label>62</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Shojaie</surname><given-names>A</given-names> </name><name name-style="western"><surname>Fox</surname><given-names>EB</given-names> </name></person-group><article-title>Granger causality: a review and recent advances</article-title><source>Annu Rev Stat Appl</source><year>2022</year><month>03</month><volume>9</volume><issue>1</issue><fpage>289</fpage><lpage>319</lpage><pub-id pub-id-type="doi">10.1146/annurev-statistics-040120-010930</pub-id><pub-id pub-id-type="medline">37840549</pub-id></nlm-citation></ref><ref id="ref63"><label>63</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Dickey</surname><given-names>DA</given-names> </name><name name-style="western"><surname>Fuller</surname><given-names>WA</given-names> </name></person-group><article-title>Distribution of the estimators for autoregressive time series with a unit root</article-title><source>J Am Stat Assoc</source><year>1979</year><month>06</month><volume>74</volume><issue>366</issue><fpage>427</fpage><pub-id pub-id-type="doi">10.2307/2286348</pub-id></nlm-citation></ref><ref id="ref64"><label>64</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Mushtaq</surname><given-names>R</given-names> </name></person-group><article-title>Augmented Dickey Fuller test</article-title><source>SSRN J</source><year>2011</year><volume>17</volume><pub-id pub-id-type="doi">10.2139/ssrn.1911068</pub-id></nlm-citation></ref><ref id="ref65"><label>65</label><nlm-citation citation-type="confproc"><person-group person-group-type="author"><name name-style="western"><surname>Seabold</surname><given-names>S</given-names> </name><name name-style="western"><surname>Perktold</surname><given-names>J</given-names> </name></person-group><article-title>Statsmodels: econometric and statistical modeling with Python</article-title><conf-name>Python in Science Conference</conf-name><conf-date>Jun 28 to Jul 3, 2010</conf-date><conf-loc>Austin, Texas</conf-loc><pub-id pub-id-type="doi">10.25080/Majora-92bf1922-011</pub-id></nlm-citation></ref><ref id="ref66"><label>66</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Turton</surname><given-names>JL</given-names> </name><name name-style="western"><surname>Brinkworth</surname><given-names>GD</given-names> </name><name name-style="western"><surname>Parker</surname><given-names>HM</given-names> </name><etal/></person-group><article-title>Effects of a low-carbohydrate diet in adults with type 1 diabetes management: a single arm non-randomised clinical trial</article-title><source>PLoS ONE</source><year>2023</year><volume>18</volume><issue>7</issue><fpage>e0288440</fpage><pub-id pub-id-type="doi">10.1371/journal.pone.0288440</pub-id><pub-id pub-id-type="medline">37432920</pub-id></nlm-citation></ref><ref id="ref67"><label>67</label><nlm-citation citation-type="web"><article-title>Type 1 diabetes in adults: diagnosis and management</article-title><source>National Institute for Health and Care Excellence</source><year>2017</year><access-date>2024-01-30</access-date><comment><ext-link ext-link-type="uri" xlink:href="https://www.nice.org.uk/guidance/ng17/">https://www.nice.org.uk/guidance/ng17/</ext-link></comment></nlm-citation></ref><ref id="ref68"><label>68</label><nlm-citation citation-type="web"><article-title>National Diabetes Audit 2021-22, Type 1 Diabetes - Overview</article-title><source>NHS Digital</source><access-date>2024-02-02</access-date><comment><ext-link ext-link-type="uri" xlink:href="https://digital.nhs.uk/data-and-information/publications/statistical/national-diabetes-audit-type-1-diabetes/nda-type-1-2021-22-overview">https://digital.nhs.uk/data-and-information/publications/statistical/national-diabetes-audit-type-1-diabetes/nda-type-1-2021-22-overview</ext-link></comment></nlm-citation></ref><ref id="ref69"><label>69</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Perez-Nieves</surname><given-names>M</given-names> </name><name name-style="western"><surname>Juneja</surname><given-names>R</given-names> </name><name name-style="western"><surname>Fan</surname><given-names>L</given-names> </name><name name-style="western"><surname>Meadows</surname><given-names>E</given-names> </name><name name-style="western"><surname>Lage</surname><given-names>MJ</given-names> </name><name name-style="western"><surname>Eby</surname><given-names>EL</given-names> </name></person-group><article-title>Trends in U.S. insulin use and glucose monitoring for people with diabetes: 2009-2018</article-title><source>J Diabetes Sci Technol</source><year>2022</year><month>11</month><volume>16</volume><issue>6</issue><fpage>1428</fpage><lpage>1435</lpage><pub-id pub-id-type="doi">10.1177/19322968211028268</pub-id><pub-id pub-id-type="medline">34218716</pub-id></nlm-citation></ref><ref id="ref70"><label>70</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Lewis</surname><given-names>D</given-names> </name><name name-style="western"><surname>Leibrand</surname><given-names>S</given-names> </name><collab>#OpenAPS Community</collab></person-group><article-title>Real-world use of open source artificial pancreas systems</article-title><source>J Diabetes Sci Technol</source><year>2016</year><month>11</month><volume>10</volume><issue>6</issue><fpage>1411</fpage><pub-id pub-id-type="doi">10.1177/1932296816665635</pub-id><pub-id pub-id-type="medline">27510442</pub-id></nlm-citation></ref><ref id="ref71"><label>71</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Ozoran</surname><given-names>H</given-names> </name><name name-style="western"><surname>Matheou</surname><given-names>M</given-names> </name><name name-style="western"><surname>Dyson</surname><given-names>P</given-names> </name><name name-style="western"><surname>Karpe</surname><given-names>F</given-names> </name><name name-style="western"><surname>Tan</surname><given-names>GD</given-names> </name></person-group><article-title>Type 1 diabetes and low carbohydrate diets&#x2014;Defining the degree of nutritional ketosis</article-title><source>Diabet Med</source><year>2023</year><month>10</month><volume>40</volume><issue>10</issue><fpage>e15178</fpage><pub-id pub-id-type="doi">10.1111/dme.15178</pub-id><pub-id pub-id-type="medline">37454371</pub-id></nlm-citation></ref><ref id="ref72"><label>72</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Gradel</surname><given-names>AKJ</given-names> </name><name name-style="western"><surname>Porsgaard</surname><given-names>T</given-names> </name><name name-style="western"><surname>Lykkesfeldt</surname><given-names>J</given-names> </name><etal/></person-group><article-title>Factors affecting the absorption of subcutaneously administered insulin: effect on variability</article-title><source>J Diabetes Res</source><year>2018</year><volume>2018</volume><fpage>1205121</fpage><pub-id pub-id-type="doi">10.1155/2018/1205121</pub-id><pub-id pub-id-type="medline">30116732</pub-id></nlm-citation></ref><ref id="ref73"><label>73</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Rechenberg</surname><given-names>K</given-names> </name><name name-style="western"><surname>Griggs</surname><given-names>S</given-names> </name><name name-style="western"><surname>Jeon</surname><given-names>S</given-names> </name><name name-style="western"><surname>Redeker</surname><given-names>N</given-names> </name><name name-style="western"><surname>Yaggi</surname><given-names>HK</given-names> </name><name name-style="western"><surname>Grey</surname><given-names>M</given-names> </name></person-group><article-title>Sleep and glycemia in youth with type 1 diabetes</article-title><source>J Pediatr Health Care</source><year>2020</year><volume>34</volume><issue>4</issue><fpage>315</fpage><lpage>324</lpage><pub-id pub-id-type="doi">10.1016/j.pedhc.2019.12.002</pub-id><pub-id pub-id-type="medline">32171612</pub-id></nlm-citation></ref><ref id="ref74"><label>74</label><nlm-citation citation-type="book"><person-group person-group-type="author"><name name-style="western"><surname>O&#x2019;Neal</surname><given-names>TB</given-names> </name><name name-style="western"><surname>Luther</surname><given-names>EE</given-names> </name></person-group><article-title>Dawn Phenomenon</article-title><source>StatPearls</source><year>2023</year><access-date>2024-01-31</access-date><fpage>1</fpage><lpage>7</lpage><comment><ext-link ext-link-type="uri" xlink:href="https://www.ncbi.nlm.nih.gov/books/NBK430893/">https://www.ncbi.nlm.nih.gov/books/NBK430893/</ext-link></comment></nlm-citation></ref><ref id="ref75"><label>75</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Hauzenberger</surname><given-names>JR</given-names> </name><name name-style="western"><surname>Hipszer</surname><given-names>BR</given-names> </name><name name-style="western"><surname>Loeum</surname><given-names>C</given-names> </name><etal/></person-group><article-title>Detailed analysis of insulin absorption variability and the tissue response to continuous subcutaneous insulin infusion catheter implantation in swine</article-title><source>Diabetes Technol Ther</source><year>2017</year><month>11</month><volume>19</volume><issue>11</issue><fpage>641</fpage><lpage>650</lpage><pub-id pub-id-type="doi">10.1089/dia.2017.0175</pub-id><pub-id pub-id-type="medline">28981324</pub-id></nlm-citation></ref><ref id="ref76"><label>76</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Borle</surname><given-names>NC</given-names> </name><name name-style="western"><surname>Ryan</surname><given-names>EA</given-names> </name><name name-style="western"><surname>Greiner</surname><given-names>R</given-names> </name></person-group><article-title>The challenge of predicting blood glucose concentration changes in patients with type I diabetes</article-title><source>Health Informatics J</source><year>2021</year><volume>27</volume><issue>1</issue><fpage>1460458220977584</fpage><pub-id pub-id-type="doi">10.1177/1460458220977584</pub-id><pub-id pub-id-type="medline">33504254</pub-id></nlm-citation></ref><ref id="ref77"><label>77</label><nlm-citation citation-type="report"><person-group person-group-type="author"><collab>Nutrition Science Team</collab></person-group><article-title>Government Dietary Recommendations for energy and nutrients for males and females aged 1-18 years and 19+ years</article-title><year>2016</year><access-date>2024-11-04</access-date><publisher-name>Public Health England</publisher-name><comment><ext-link ext-link-type="uri" xlink:href="https://assets.publishing.service.gov.uk/media/5a749fece5274a44083b82d8/government_dietary_recommendations.pdf">https://assets.publishing.service.gov.uk/media/5a749fece5274a44083b82d8/government_dietary_recommendations.pdf</ext-link></comment></nlm-citation></ref><ref id="ref78"><label>78</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Bolla</surname><given-names>AM</given-names> </name><name name-style="western"><surname>Caretto</surname><given-names>A</given-names> </name><name name-style="western"><surname>Laurenzi</surname><given-names>A</given-names> </name><name name-style="western"><surname>Scavini</surname><given-names>M</given-names> </name><name name-style="western"><surname>Piemonti</surname><given-names>L</given-names> </name></person-group><article-title>Low-carb and ketogenic diets in type 1 and type 2 diabetes</article-title><source>Nutrients</source><year>2019</year><month>04</month><day>26</day><volume>11</volume><issue>5</issue><fpage>962</fpage><pub-id pub-id-type="doi">10.3390/nu11050962</pub-id><pub-id pub-id-type="medline">31035514</pub-id></nlm-citation></ref><ref id="ref79"><label>79</label><nlm-citation citation-type="web"><person-group person-group-type="author"><name name-style="western"><surname>Lewis</surname><given-names>D</given-names> </name></person-group><article-title>Data commons</article-title><source>OpenAPS.org</source><access-date>2024-01-30</access-date><comment><ext-link ext-link-type="uri" xlink:href="https://openaps.org/outcomes/data-commons/">https://openaps.org/outcomes/data-commons/</ext-link></comment></nlm-citation></ref></ref-list><app-group><supplementary-material id="app1"><label>Multimedia Appendix 1</label><p>Additional results.</p><media xlink:href="xmed_v5i1e44384_app1.pdf" xlink:title="PDF File, 272 KB"/></supplementary-material></app-group></back></article>