<!DOCTYPE article
PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD with MathML3 v1.2 20190208//EN" "JATS-archivearticle1-mathml3.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" article-type="research-article"><?properties open_access?><?properties manuscript?><front><journal-meta><journal-id journal-id-type="nlm-journal-id">101262796</journal-id><journal-id journal-id-type="pubmed-jr-id">32819</journal-id><journal-id journal-id-type="nlm-ta">J Expo Sci Environ Epidemiol</journal-id><journal-id journal-id-type="iso-abbrev">J Expo Sci Environ Epidemiol</journal-id><journal-title-group><journal-title>Journal of exposure science &#x00026; environmental epidemiology</journal-title></journal-title-group><issn pub-type="ppub">1559-0631</issn><issn pub-type="epub">1559-064X</issn></journal-meta><article-meta><article-id pub-id-type="pmid">31937850</article-id><article-id pub-id-type="pmc">7358126</article-id><article-id pub-id-type="doi">10.1038/s41370-019-0198-2</article-id><article-id pub-id-type="manuscript">NIHMS1546221</article-id><article-categories><subj-group subj-group-type="heading"><subject>Article</subject></subj-group></article-categories><title-group><article-title>Dynamic classification of personal microenvironments using a suite of wearable, low-cost sensors</article-title></title-group><contrib-group><contrib contrib-type="author"><name><surname>Quinn</surname><given-names>Casey</given-names></name><degrees>PhD</degrees><xref ref-type="aff" rid="A1">1</xref></contrib><contrib contrib-type="author"><name><surname>Anderson</surname><given-names>G. Brooke</given-names></name><degrees>PhD</degrees><xref ref-type="aff" rid="A1">1</xref></contrib><contrib contrib-type="author"><name><surname>Magzamen</surname><given-names>Sheryl</given-names></name><degrees>PhD</degrees><xref ref-type="aff" rid="A1">1</xref></contrib><contrib contrib-type="author"><name><surname>Henry</surname><given-names>Charles S.</given-names></name><degrees>PhD</degrees><xref ref-type="aff" rid="A2">2</xref></contrib><contrib contrib-type="author"><name><surname>Volckens</surname><given-names>John</given-names></name><degrees>PhD</degrees><xref ref-type="aff" rid="A1">1</xref><xref ref-type="aff" rid="A3">3</xref></contrib></contrib-group><aff id="A1"><label>1</label>Department of Environmental and Radiological Health Sciences, Colorado State University, Fort Collins, Colorado, USA.</aff><aff id="A2"><label>2</label>Department of Chemistry, Colorado State University, Fort Collins, Colorado 80523, USA.</aff><aff id="A3"><label>3</label>Department of Mechanical Engineering, Colorado State University, Fort Collins, CO, USA.</aff><author-notes><corresp id="CR1"><bold>Correspondence</bold>: Name: John Volckens, Address: 1374 Campus Delivery, Colorado State University, Fort Collins, Colorado, USA, 80523-1301 Telephone: 970-491-6341. <email>john.volckens@colostate.edu</email></corresp></author-notes><pub-date pub-type="nihms-submitted"><day>17</day><month>12</month><year>2019</year></pub-date><pub-date pub-type="epub"><day>14</day><month>1</month><year>2020</year></pub-date><pub-date pub-type="ppub"><month>11</month><year>2020</year></pub-date><pub-date pub-type="pmc-release"><day>19</day><month>11</month><year>2020</year></pub-date><volume>30</volume><issue>6</issue><fpage>962</fpage><lpage>970</lpage><!--elocation-id from pubmed: 10.1038/s41370-019-0198-2--><permissions><license xlink:href="http://www.nature.com/authors/editorial_policies/license.html#terms"><license-p>Users may view, print, copy, and download text and data-mine the content in such documents, for the purposes of academic research, subject always to the full Conditions of use:<ext-link ext-link-type="uri" xlink:href="http://www.nature.com/authors/editorial_policies/license.html#terms">http://www.nature.com/authors/editorial_policies/license.html#terms</ext-link></license-p></license></permissions><abstract id="ABS1"><p id="P1">Human exposure to air pollution is associated with increased risk of morbidity and mortality. However, personal air pollution exposures can vary substantially depending on an individual&#x02019;s daily activity patterns and air quality within their residence and workplace. To develop and validate an adaptive buffer size (ABS) algorithm capable of dynamically classifying an individual&#x02019;s time spent in predefined microenvironments using data from global positioning systems (GPS), motion sensors, temperature sensors, and light sensors. Twenty-two participants in Fort Collins, CO were recruited to carry a personal air sampler for a 48-hour period. The personal sampler was retrofitted with a GPS and a pushbutton to complement the existing sensor measurements (temperature, motion, light). The pushbutton was used in conjunction with a traditional time-activity diary to note when the participant was located at &#x0201c;home&#x0201d;, &#x0201c;work&#x0201d;, or within an &#x0201c;other&#x0201d; microenvironment. The ABS algorithm predicted the amount of time spent in each microenvironment with a median accuracy of 99.1%, 98.9%, and 97.5% for the &#x0201c;home&#x0201d;, &#x0201c;work&#x0201d;, and &#x0201c;other&#x0201d; microenvironments. The ability to classify microenvironments dynamically in real-time can enable the development of new sampling and measurement technologies that classify personal exposure by microenvironment.</p></abstract></article-meta></front><body><sec id="S1"><title>Introduction</title><p id="P2">Exposure to air pollution has been shown to have deleterious effects on human health.(<xref rid="R1" ref-type="bibr">1</xref>&#x02013;<xref rid="R5" ref-type="bibr">5</xref>) Epidemiologic studies of air pollution have traditionally relied on exposure data reported by a central-site monitor. However, air pollution exposures are known to be spatially and temporally heterogeneous; thus, ambient air quality measures from a central-site monitor are not necessarily representative of an individual&#x02019;s exposure, particularly while indoors.(<xref rid="R6" ref-type="bibr">6</xref>&#x02013;<xref rid="R10" ref-type="bibr">10</xref>) Recent research has focused on characterizing air pollution exposures with greater spatial and temporal resolution, often with the intent to quantify (post-hoc) air pollution levels within distinct microenvironments (e.g. &#x0201c;home&#x0201d;, &#x0201c;work&#x0201d;, &#x0201c;transit&#x0201d;, etc.).(<xref rid="R11" ref-type="bibr">11</xref>&#x02013;<xref rid="R14" ref-type="bibr">14</xref>) These post-hoc evaluations have helped determine the timing, location (and source) of elevated exposures.(<xref rid="R15" ref-type="bibr">15</xref>) To estimate microenvironment exposures, studies have traditionally used surveys and diary methods. These methods are burdensome for study participants (particularly for children) and are subject to reporting bias and/or missing data.(<xref rid="R13" ref-type="bibr">13</xref>, <xref rid="R16" ref-type="bibr">16</xref>) To alleviate the burden of self-reporting, several studies have used handheld(<xref rid="R11" ref-type="bibr">11</xref>, <xref rid="R12" ref-type="bibr">12</xref>, <xref rid="R14" ref-type="bibr">14</xref>, <xref rid="R17" ref-type="bibr">17</xref>) or smartphone-based(<xref rid="R18" ref-type="bibr">18</xref>&#x02013;<xref rid="R21" ref-type="bibr">21</xref>) Global Positioning Systems (GPS) to estimate where participants spend their time. These studies have demonstrated that GPS sensors tend to provide accurate location data when outdoors. However, the positional accuracy is compromised by signal loss and drift in and around buildings. These GPS limitations create uncertainty and may also lead to exposure misclassification.</p><p id="P3">To account for GPS signal loss/drift, some studies define a spatially-explicit &#x0201c;buffer&#x0201d; around microenvironments such as &#x0201c;home&#x0201d; and &#x0201c;work&#x0201d; (rather than relying solely on geographic information system [GIS] geocoded building boundaries).(<xref rid="R11" ref-type="bibr">11</xref>, <xref rid="R12" ref-type="bibr">12</xref>) Other studies have utilized GPS-enabled buffers in conjunction with temperature (<xref rid="R11" ref-type="bibr">11</xref>, <xref rid="R22" ref-type="bibr">22</xref>, <xref rid="R23" ref-type="bibr">23</xref>), light (<xref rid="R24" ref-type="bibr">24</xref>&#x02013;<xref rid="R27" ref-type="bibr">27</xref>), or motion (<xref rid="R28" ref-type="bibr">28</xref>, <xref rid="R29" ref-type="bibr">29</xref>) data to detect a transition between microenvironments. The algorithms developed to date have relied on data collection from multiple sources to collect the exposure (e.g. central site monitors or continuous personal sampling devices) and microenvironment detection data (e.g. GPS, temperature, motion, light, etc.). These approaches are appropriate for analysis of microenvironment exposures in a post-hoc fashion (i.e., via post processing of data after collection); however, there are potential advantages to developing technologies and/or algorithms that can assist in dynamic (i.e., in real time) sampling and speciation of personal air pollution exposures as a function of microenvironment.(<xref rid="R30" ref-type="bibr">30</xref>&#x02013;<xref rid="R33" ref-type="bibr">33</xref>) For example, the Automated Microenvironment Aerosol Sampler (AMAS)(<xref rid="R34" ref-type="bibr">34</xref>) is a wearable device containing four separate filter channels for collecting fine particulate matter (PM<sub>2.5</sub>) with integrated GPS, motion, light, and temperature sensors. Devices such as the AMAS can use microenvironment-detection algorithms to dynamically adjust the flow of air through individual filters and collect PM<sub>2.5</sub> samples specific to a microenvironment.</p><p id="P4">The goal of this work was to develop an adaptive buffer size (ABS) algorithm capable of dynamically classifying an individual&#x02019;s location into one of three microenvironments: &#x0201c;home&#x0201d;, &#x0201c;work&#x0201d;, and &#x0201c;other&#x0201d; (a miscellaneous category encompassing all non-home and non-workplace activities). The ABS algorithm (<xref rid="F1" ref-type="fig">Figure 1</xref>, <xref rid="SD1" ref-type="supplementary-material">Figure S1</xref>) uses GPS, motion, temperature, and light sensor data to determine a transition between microenvironments. Rather than relying on buffers with fixed radii around each location, the algorithm employs a dynamic buffer that is adjusted, in real time, based on GPS signal quality and environmental sensor data. The algorithm identifies transitions between microenvironments by detecting changes in motion, temperature, light, and GPS signal strength. Performance of the ABS algorithm was evaluated using data collected by participants in Fort Collins, CO and verified using a traditional diary method combined with a user pushbutton method for digital logging. Results from this work demonstrate that the ABS algorithm can successfully classify microenvironments to further advance the science of personal exposure monitoring.</p></sec><sec id="S2"><title>Methods</title><p id="P5">The development and evaluation of the ABS algorithm involved four steps: 1) collection of a &#x0201c;reference&#x0201d; dataset of spatially and temporally resolved microenvironment transitions using a panel of volunteers, 2) data curation to address data entry errors (made by the participants) or gaps in the sensor data, 3) formulation of the ABS algorithm, and 4) evaluation of the ABS algorithm (and other, simpler algorithms) relative to the reference dataset.</p><sec id="S3"><title>Data Collection</title><p id="P6">Adult participants were recruited from Colorado State University in Fort Collins, CO over the course of a four-month period (Dec. 2015 &#x02013; Mar. 2016). The only requirements were that participants were working adults that did not live in the same residence as any of the other participants. Each participant provided their &#x0201c;home&#x0201d; and &#x0201c;work&#x0201d; addresses, which were used to determine a coordinate centroid (latitude, longitude) for these microenvironments using Google Maps. A Google Maps disclaimer states a maximum uncertainty of 15 m worldwide, and Goadarzi et. al(<xref rid="R35" ref-type="bibr">35</xref>) reported that Google maps has ~3 m accuracy in a major city, thus this method was deemed appropriate for the development and use of the microenvironment algorithm. Participants were asked to note the timing of each microenvironment transition (i.e., the times when they left or entered their &#x0201c;home&#x0201d; and &#x0201c;work&#x0201d; microenvironments) using a written diary. Participants were also asked to carry an Ultrasonic Personal Aerosol Sampler (UPAS)(<xref rid="R36" ref-type="bibr">36</xref>) for approximately 48 hours. The UPAS measured and recorded ultraviolet light intensity (Silicon Labs, SI1145), temperature, (Bosch Sensortech, BME280), and motion (ST Microelectronics, LSM303). The UPAS was further modified (<xref rid="SD1" ref-type="supplementary-material">Figure S2</xref>, <xref rid="SD1" ref-type="supplementary-material">Table S1</xref>) by adding a GPS sensor (Adafuit, 746) and a pushbutton recorder (Switchcraft Inc., ED913). The modified UPAS will be referred to as the personal monitor throughout the remainder of the manuscript. Due to the known limitations of the traditional diary method, participants were asked to depress the pushbutton during each microenvironment transition to serve as an additional source of reference data. The personal monitor logged all sensor data, including the pushbutton status, to non-volatile memory at a frequency of 0.2 Hz (every 5 sec). The number of satellites tracked by the GPS was logged, in addition to the latitude and longitude, in degrees decimal minutes (DDM). Linear acceleration was measured on a &#x000b1;2g full scale for all three primary axes and the total acceleration was calculated using <xref rid="SD1" ref-type="supplementary-material">Eqn. S1</xref>. Light intensity data were collected as 100&#x000d7; the ultraviolet (UV) index. Temperature was logged in Celsius. Battery voltage was logged in volts. All study procedures were approved by the Institutional Review Board at the Colorado State University and informed consent was obtained from all participants.</p></sec><sec id="S4"><title>Data Curating</title><p id="P7">Microenvironment transition data were curated to establish a reference dataset for evaluation of the ABS algorithm. The GPS latitude and longitude data were converted to decimal degree (DD) formatting and used to calculate the distances from the &#x0201c;home&#x0201d; and &#x0201c;work&#x0201d; centroid coordinates using the Haversine formula.(<xref rid="R37" ref-type="bibr">37</xref>) The pushbutton and diary data were used to determine each participant&#x02019;s duration within each microenvironment and the precise timing of when they transitioned between microenvironments (e.g., when the participant left &#x0201c;home&#x0201d; and entered the &#x0201c;other&#x0201d; microenvironment). If the transition time recorded by the pushbutton and diary methods coincided, the pushbutton event was used unless there was a diary entry that specifically noted an error in the pushbutton transition time. The pushbutton data were also used to estimate time spent in each microenvironment as participants tended to record rounded times in their diaries or had discrepancies between the clock on the personal monitor and the clock or watch they were using. Some participants pressed the pushbutton on the personal monitor multiple times upon entering or exiting a microenvironment. In these instances, only one (the first) button press was counted as a microenvironment transition. When the personal monitor logged a button press without a corresponding diary entry (occasionally or for the entire sample), the data were manually evaluated to determine the GPS distance from both microenvironment centroids. If the GPS distance was less than 500 m from a &#x0201c;home&#x0201d; or &#x0201c;work&#x0201d; microenvironment when the button was pressed, the event was included and coded appropriately; otherwise it was assumed that the button press was accidental and discarded. If the participant&#x02019;s diary included events that didn&#x02019;t have a corresponding pushbutton event, it was assumed that the participant made the microenvironment transition but forgot to press the button. Infrequently, participants failed to note a transition that caused an impossible result (i.e. a direct &#x0201c;home&#x0201d; to &#x0201c;work&#x0201d; transition). To estimate the time spent in each microenvironment for those datasets, the data were manually evaluated in an attempt to code the data based on GPS distances. Once the diary and pushbutton time-location data were compiled they were manually validated against the GPS data. For the reminder of the manuscript, the combined diary and pushbutton data are referred to as the reference dataset.</p></sec><sec id="S5"><title>Adaptive Buffer Size (ABS) Algorithm</title><p id="P8">The ABS algorithm dynamically adjusts the buffer size around both the &#x0201c;home&#x0201d; and &#x0201c;work&#x0201d; microenvironments to account for uncertainty in GPS positional accuracy. The ABS algorithm was formulated from the hypothesis that acute changes in GPS signal quality, acceleration, UV light intensity, and temperature are indicative of a transition between microenvironments (e.g., moving from indoors to outdoors). The ABS algorithm uses these triggers to adjust the buffer sizes in an attempt to optimize microenvironment classification (i.e., to maximize accuracy, sensitivity, and specificity as defined below). A detailed flow chart depicting the ABS algorithm operation is shown in <xref rid="SD1" ref-type="supplementary-material">Figure S1</xref>.</p><p id="P9">The ABS algorithm defines three circular buffers with varying radial distances from the centroid of the &#x0201c;work&#x0201d; and &#x0201c;home&#x0201d; microenvironments; 1) large buffer: 500 m for both the &#x0201c;home&#x0201d; and &#x0201c;work&#x0201d; microenvironment, 2) medium buffer: 185 m and 120 m for the &#x0201c;work&#x0201d; and &#x0201c;home&#x0201d; microenvironment respectively, and 3) small buffer: 115 m and 60 m for the &#x0201c;work&#x0201d; and &#x0201c;home&#x0201d; microenvironment respectively. Wu et al. demonstrated that variations in GPS signal accuracy are on the order of 500 m or greater for a number of different GPS models when located in indoor environments, largely due to signal bounce/degradation.(<xref rid="R38" ref-type="bibr">38</xref>) Evaluation of our GPS signal showed similar performance indoors at several locations. For this reason, we set our large buffer to 500m for periods when GPS signal quality was low. The medium and small buffers were set using the cumulative distributions of participant distance from &#x0201c;home&#x0201d; and &#x0201c;work&#x0201d; locations from the reference dataset (<xref rid="SD1" ref-type="supplementary-material">Figure S3</xref>). The medium buffer represents the 85<sup>th</sup> percentile and the small buffer represents the 75<sup>th</sup> percentile.</p><p id="P10">The ABS algorithm uses a combination of categorical and continuous variables as triggers for detecting microenvironment transitions: 1) GPS signal status, 2) motion and environmental triggers, and 3) personal monitor charging status. The first step (see <xref rid="SD1" ref-type="supplementary-material">Figure S1</xref> for a process diagram) was to determine if the personal monitor was plugged into a wall outlet and charging by monitoring the battery voltage. The personal monitor had to be charged overnight and thus while charging, no microenvironment transition could occur. The next step was to determine if there was a GPS signal available. If no GPS signal was available, the last known location and large buffer was used; otherwise motion and environmental triggers were used to check for microenvironment transitions. Motion and environmental trigger events are characterized as acute changes in acceleration, temperature, or light data that may be indicative of a transition between two microenvironments. To invoke a motion trigger, the absolute value of the change in total acceleration between each time step had to be greater than 0.37 g (95<sup>th</sup> percentile of cumulative distributions). A temperature trigger was defined as when the absolute value temperature change for a sixty second period was greater than 1 &#x000b0;C and the current change in temperature had a sign change (negative, positive, or zero) as compared to the prior temperature change measurement. A UV light trigger is activated when there is a UV index(<xref rid="R39" ref-type="bibr">39</xref>) greater than 0.03 (95<sup>th</sup> percentile of cumulative distributions). Once a motion, UV light, or temperature trigger is detected, an individual timer for each trigger is reset and continues to increment once every second until the next trigger of that type is detected. Finally, in order for a transition to occur, the microenvironment must be confirmed for 30 seconds (6 consecutive timestamps). This requirement helps reduce excessive &#x0201c;bouncing&#x0201d; in and out of microenvironments.</p><p id="P11">The ABS algorithm uses the status of the triggers to select one of the three radial buffers. If no transition triggers are active or the GPS signal quality is poor or unavailable, the default buffer with a radius of 500 m is used around each microenvironment. If motion and one of the environmental triggers is activated, the medium buffer is used. If triggers for motion, light, and temperature are all detected then the small buffer is used. This method allows the buffer size to be evaluated every 5 s and the radii to be reduced if the probability of a microenvironment transition increases.</p></sec><sec id="S6"><title>ABS Algorithm Evaluation</title><p id="P12">Our hypothesis (that environmental and motion triggers can aid microenvironment classification) was evaluated by comparing output from the ABS and static buffer algorithms to the curated reference data. To aid the comparison, the size of the static buffers were set to match the three buffer sets used in the ABS algorithm. These static buffer algorithms are referred to as &#x0201c;GPS-S&#x0201d; (115 m and 60 m, &#x0201c;work&#x0201d; and &#x0201c;home&#x0201d; buffers), &#x0201c;GPS-M&#x0201d; (185 m and 120 m, &#x0201c;work&#x0201d; and &#x0201c;home&#x0201d; buffers), and &#x0201c;GPS-L&#x0201d; (500 m and 500 m, &#x0201c;work&#x0201d; and &#x0201c;home&#x0201d; buffers). A fourth algorithm, referred to as the &#x0201c;Motion&#x0201d; algorithm, was identical to the ABS algorithm except only motion triggers were used (light and temperature data were excluded) to determine if the use of environmental sensor data enhances microenvironment classification.</p><p id="P13">The raw GPS data from the reference dataset was feed into all five of the algorithms. Performance of each algorithm was calculated by comparing the classification output (at five-second intervals) to the participant&#x02019;s known location (as determined from the curated reference data) to estimate the true positive, false positive, true negative, and false negative classifications for each microenvironment. For example, for the &#x0201c;home&#x0201d; microenvironment, a true positive indicates that an algorithm predicted the &#x0201c;home&#x0201d; microenvironment when the person was actually at &#x0201c;home&#x0201d;. A false negative indicates that an algorithm incorrectly predicted the &#x0201c;work&#x0201d; or &#x0201c;other&#x0201d; microenvironment when the person was actually at &#x0201c;home&#x0201d;. With these data, the sensitivity (<xref rid="SD1" ref-type="supplementary-material">Eqn. S2</xref>), specificity (<xref rid="SD1" ref-type="supplementary-material">Eqn. S3</xref>), and accuracy (<xref rid="SD1" ref-type="supplementary-material">Eqn. S4</xref>) of each algorithm were calculated by microenvironment. The sensitivity characterizes the degree to which an algorithm underestimates the amount time spent in each microenvironment. The specificity indicates how much an algorithm overestimated time in each microenvironment. Finally, the total algorithm accuracy was also evaluated to determine the effectiveness of each algorithm across all microenvironments. The Friedman and pairwise post-hoc Nemenyi tests (PMCMR package(<xref rid="R40" ref-type="bibr">40</xref>)) were used to test for significant differences between the ABS and reference algorithms. All analyses were performed using R 3.5.0 (R Core Team, Vienna, Austria) and code developed and used for these analyses are available upon request.</p></sec></sec><sec id="S7"><title>Results</title><p id="P14">A total of 22 participants were recruited into the study; these participants provided a total of 25 microenvironment transition datasets (three participants collected data twice) from December 2015 through March 2016, with median, standard deviation, minimum and maximum data collection times of 47.8, 7.7, 30.9, and 71.9 hours, respectively. These 25 datasets provided 274 microenvironment transitions (<xref rid="SD1" ref-type="supplementary-material">Table S2</xref>; 90 defined only by the traditional diary method, 5 required manual assignment using GPS coordinate data, and the remaining 186 were defined by the pushbutton or both the pushbutton and traditional diary method) into or out of 22 unique &#x0201c;home&#x0201d; and 4 &#x0201c;work&#x0201d; microenvironments (campus buildings at Colorado State University). Four of the participants failed to use the traditional diary method, but those participants did use the pushbutton to indicate their microenvironment transitions. The median (25<sup>th</sup>, 75<sup>th</sup> percentile) amount of time that participants spent in the &#x0201c;home&#x0201d;, &#x0201c;work&#x0201d;, and &#x0201c;other&#x0201d; microenvironments based on the reference dataset were 27.8 (24.3, 30.8), 11.5 (8.4, 14.9), and 4.6 (3.1, 9.2) hours. These results are shown in <xref rid="SD1" ref-type="supplementary-material">Figure S4</xref> and <xref rid="SD1" ref-type="supplementary-material">Table S3</xref>.</p><p id="P15">The number of predicted microenvironment transitions (<xref rid="SD1" ref-type="supplementary-material">Table S2</xref>) and median (25<sup>th</sup>, 75<sup>th</sup> percentile) amounts of time spent in the &#x0201c;home&#x0201d;, &#x0201c;work&#x0201d;, and &#x0201c;other&#x0201d; microenvironments (<xref rid="SD1" ref-type="supplementary-material">Figure S4</xref>, <xref rid="SD1" ref-type="supplementary-material">Table S3</xref>) were determined for each of the five algorithms. The ABS algorithm predicted 350 microenvironment transitions and the median (25<sup>th</sup>, 75<sup>th</sup> percentile) amounts of time spent in the &#x0201c;home&#x0201d;, &#x0201c;work&#x0201d;, and &#x0201c;other&#x0201d; microenvironments were 28.0 (24.8, 30.3), 12.1 (9.2, 14.4), and 4.0 (2.8, 9.2) hours respectively.</p><p id="P16">The accuracy, sensitivity, and specificity were calculated for all five algorithms by microenvironment using all 25 datasets (See <xref rid="SD1" ref-type="supplementary-material">SI</xref> .XLSX data file). The accuracy comparisons by microenvironment are shown in <xref rid="F2" ref-type="fig">Figure 2</xref> and the total accuracy for the microenvironments combined are shown in <xref rid="SD1" ref-type="supplementary-material">Figure S5</xref>. The median (25<sup>th</sup>, 75<sup>th</sup> percentile) accuracy values are summarized in <xref rid="SD1" ref-type="supplementary-material">Table S4</xref> and the pairwise post-hoc Nemenyi results are shown in <xref rid="SD1" ref-type="supplementary-material">Table S5</xref> and <xref rid="SD1" ref-type="supplementary-material">S6</xref>. The ABS had the highest median total accuracy of 0.975 (0.946, 0.980) of all the algorithms. The sensitivity and specificity by microenvironment are shown in <xref rid="F3" ref-type="fig">Figure 3</xref>. A summary of the median (25<sup>th</sup>, 75<sup>th</sup> percentile) data shown in <xref rid="SD1" ref-type="supplementary-material">Table S7</xref>, and the pairwise post-hoc Nemenyi results are shown in <xref rid="SD1" ref-type="supplementary-material">Table S8</xref> (Sensitivity) and <xref rid="SD1" ref-type="supplementary-material">Table S9</xref> (Specificity).</p></sec><sec id="S8"><title>Discussion</title><p id="P17">For microenvironments that are defined with a fixed buffer size (GPS-S, GPS-M, and GPS-L), the GPS-only algorithms show a positive trend between the size of the buffer and the classification accuracy for a given microenvironment (<xref rid="F2" ref-type="fig">Figure 2</xref>). However, there is a distinct tradeoff that occurs for the GPS-only algorithms; as the buffer size increases the increased accuracy for the &#x0201c;home&#x0201d; and &#x0201c;work&#x0201d; is gained through a loss of accuracy for the &#x0201c;other&#x0201d; microenvironment (i.e., the &#x0201c;home&#x0201d; and &#x0201c;work&#x0201d; buffers infringe upon the &#x0201c;other&#x0201d; microenvironment). The same tradeoff is also apparent with sensitivity: as the sensitivity for the &#x0201c;home&#x0201d; and &#x0201c;work&#x0201d; classifications increases, the sensitivity for the &#x0201c;other&#x0201d; classifications is negatively impacted leading to an underestimation of the amount of time spent outside of the &#x0201c;home&#x0201d; and &#x0201c;work&#x0201d; microenvironments. Inverse tradeoffs are also apparent for the specificity of the three GPS-only algorithms; the specificity for the &#x0201c;other&#x0201d; classifications increases as the buffer size increases, however, these increases are offset with decreases in the &#x0201c;home&#x0201d; and &#x0201c;work&#x0201d; classifications (<xref rid="F3" ref-type="fig">Figure 3</xref>). These tradeoffs can be seen in <xref rid="F1" ref-type="fig">Figure 1</xref> where the larger buffer encompasses the entire area around the &#x0201c;home&#x0201d; and &#x0201c;work&#x0201d; microenvironment. However, the large boundary also encompasses the majority of points that are logged during the transition between the &#x0201c;home&#x0201d; and &#x0201c;work&#x0201d; microenvironments leading to an underestimate of the time spent in the &#x0201c;other&#x0201d; microenvironment. Proper classification of the &#x0201c;other&#x0201d; microenvironment is critical; while the amount of time spent in the &#x0201c;other&#x0201d; microenvironment is typically lower, air pollution concentrations in the &#x0201c;other&#x0201d; microenvironment tend to be elevated (e.g., while in transit on roadways). Thus, exposures in the &#x0201c;other&#x0201d; microenvironment could potentially account for a substantial portion of a person&#x02019;s daily cumulative exposure(<xref rid="R41" ref-type="bibr">41</xref>, <xref rid="R42" ref-type="bibr">42</xref>). However, other studies have shown that &#x0201c;home&#x0201d; and indoor environments can be the majority source of exposure due to the amount of time one spends at &#x0201c;home&#x0201d;, &#x0201c;work&#x0201d;, or &#x0201c;school.(<xref rid="R43" ref-type="bibr">43</xref>, <xref rid="R44" ref-type="bibr">44</xref>)</p><p id="P18">Using trigger events to adjust the buffer size helps retain classification accuracy (<xref rid="F2" ref-type="fig">Figure 2</xref>) without loss of sensitivity and specificity (<xref rid="F3" ref-type="fig">Figure 3</xref>). The ABS algorithm showed greater total and microenvironment accuracies when compared to the three GPS-only and Motion algorithms; these improvements were statistically significant when the ABS algorithm were compared to the most accurate GPS-only (GPS-L) algorithm (<xref rid="SD1" ref-type="supplementary-material">Table S5</xref> and <xref rid="SD1" ref-type="supplementary-material">S6</xref>). Additionally, unlike the GPS-only algorithms, both the ABS and Motion algorithms were able to reduce the tradeoffs between the sensitivity and specificity; the sensitivity for the &#x0201c;other&#x0201d; classifications and the specificity for the &#x0201c;home&#x0201d; (with the exception of the Motion algorithm) and &#x0201c;work&#x0201d; classifications were improved and were statistically significant as compared to the GPS-L algorithm. While the ABS algorithm had determined more transitions (350) as compared to the Motion algorithm (332) the ABS algorithm had slightly better accuracies as seen in <xref rid="SD1" ref-type="supplementary-material">Table S4</xref>, and slight differences for the &#x0201c;other&#x0201d; sensitivity and &#x0201c;home&#x0201d; specificity (<xref rid="SD1" ref-type="supplementary-material">Table S7</xref>).</p><p id="P19">Previous work by Breen et al.(<xref rid="R12" ref-type="bibr">12</xref>) developed a microenvironment algorithm that was used to classify eight different microenvironments (inside and outside of the home, work, school; inside vehicles; other locations). They evaluated their algorithm and determined the sensitivity and accuracy for the Work (99.9% &#x00026; 99.6%), Work-Out (60.4% &#x00026; 99.7%), School (93.1% &#x00026; 99.9%), School-Out (73.5% &#x00026; 99.9%), Home (98.8% &#x00026; 98.9%), and Home-out (81.4% &#x00026; 98.9%) microenvironments. The &#x0201c;other&#x0201d; microenvironment described herein would encompass all of the microenvironments aside from the &#x0201c;work&#x0201d;, &#x0201c;home&#x0201d;, and &#x0201c;school&#x0201d;. Thus, a direct comparison is not easily made to the sensitivity and accuracy results published by Breen et al., but we can see the ABS algorithm provides similar results. Both algorithms provide a high accuracy and sensitivity for detecting the &#x0201c;home&#x0201d; and &#x0201c;work&#x0201d; microenvironments, but both have reduced sensitivity values with detecting when an individual is outside the &#x0201c;home&#x0201d; and &#x0201c;work&#x0201d; microenvironment. This comparison is notable as the performance of the ABS algorithm in detecting microenvironments in real time is comparable to the performance of a post-hoc analysis.</p><sec id="S9"><title>Strengths, Limitations, and Future Work</title><p id="P20">This work has several strengths worth noting. First, the reference dataset was collected by 22 volunteers who were not asked to change their daily routines and allowed for the evaluation of microenvironment transitions that occurred at random throughout the day. Second, this work demonstrates tradeoffs (between accuracy, sensitivity, and specificity) of various algorithms used to classify microenvironments. The primary concern is that a high accuracy for an algorithm can be achieved but at the cost of underestimating time spent in certain microenvironments. This type of tradeoff can impact health assessments if large exposures occur in microenvironments where people only spend a short amount of time during the day. Third, the ability to detect microenvironments accurately and in real time enables the use of emerging technologies that collect physical samples by microenvironment (such as the filter-based AMAS). Fourth, this study had 18% of the participants fail to use the diary method at all to record their daily habits. This further supports the challenges of using diary methods that have been previously published. (<xref rid="R13" ref-type="bibr">13</xref>, <xref rid="R16" ref-type="bibr">16</xref>).</p><p id="P21">There are several limitations worth noting. Circular buffers were used to define the &#x0201c;home&#x0201d; and &#x0201c;work&#x0201d; microenvironments rather than polygons or the actual building boundaries. This simplified approach was used (<xref rid="R1" ref-type="bibr">1</xref>) to accommodate memory limitations of the microcontroller within the personal monitor and (<xref rid="R2" ref-type="bibr">2</xref>) to simplify the implementation of the algorithm (i.e., requiring no prior knowledge of each microenvironment except the coordinate location). Future work could allow for adjustable radial buffer sizes for each microenvironment or could use a rectangular rather than circular bounding box, as most building footprints tend to be rectangular. Defining a microenvironment with a circular buffer and a centroid point rather than the building boundary can result in defining a portion of a &#x0201c;work&#x0201d; or &#x0201c;home&#x0201d; microenvironment as &#x0201c;other&#x0201d;. The use of a rectangular buffer, however, would require additional coordinate data.</p><p id="P22">To better account for issues caused by poor GPS signal quality or complete signal loss, future work should monitor GPS signal quality parameters such as horizontal dilution of precision (HDOP)(<xref rid="R45" ref-type="bibr">45</xref>). Another option that is becoming more cost-effective would be to incorporate advanced spatial tracking techniques such as dead reckoning that integrate motion and GPS sensors to account for GPS signal degradation.(<xref rid="R21" ref-type="bibr">21</xref>) While leveraging light detection and temperature data didn&#x02019;t provide a substantial benefit to the performance of ABS algorithm (beyond the inclusion of motion data), future work that combines these environmental data with enhanced motion data could lead to the development of algorithms that could potentially &#x0201c;learn&#x0201d; microenvironment boundaries. The light sensor used for this work could only measure UV light and thus could only help detect transitions during daylight hours. Also, UV light can be detected indoors, that is why the algorithm developed in this work required UV motion to be coupled with either temperature or acceleration motion. Future work should either replace the UV sensor with or add an additional light sensor capable of measuring both indoor low-level light and outdoor light.</p><p id="P23">This work included only four &#x0201c;work&#x0201d; locations within a single city (Fort Collins, CO) and during two seasons (Winter and Spring). Future improvements to the algorithm, such as those described above, should be validated with more extensive testing that spans a variety of locations and climates. Additionally, we hope to continue the development of the algorithm and one of the first items we would like to include is further classification of the &#x0201c;other&#x0201d; microenvironment. We would initially start with the detection of transit, including vehicular transit, walking, and biking. We would begin by leveraging the number of studies that have already evaluated transit classification using GPS and/or motion sensors (e.g., Brunauer(<xref rid="R46" ref-type="bibr">46</xref>), Ellis(<xref rid="R47" ref-type="bibr">47</xref>), Feng(<xref rid="R48" ref-type="bibr">48</xref>), etc.) and potentially including hardware with pre-installed firmware with this capability.</p><p id="P24">Finally, the accuracy, sensitivity, and specificity metrics can be biased particularly when comparing &#x0201c;home&#x0201d; and &#x0201c;work&#x0201d; microenvironment classifications to the &#x0201c;other&#x0201d; microenvironment. This bias occurs because people tend spend the majority of their time at &#x0201c;home&#x0201d; or &#x0201c;work&#x0201d; as compared to the &#x0201c;other&#x0201d; microenvironments. Future work should develop metrics that can provide an improved assessment of the accuracy of microenvironment transitions.</p></sec></sec><sec id="S10"><title>Conclusions</title><p id="P25">This work describes an algorithm that is capable of detecting pre-determined microenvironments in real-time using minimal user input. The ability to dynamically classify microenvironments in real-time can aid researchers by reducing the amount of post-processing work required to classify exposure by microenvironment, ease the integration of exposure data into spatial models, and potentially provide air quality notifications in real-time. Improvements to all of these areas 348 will help researchers better understand the links between air pollution exposure and health.</p></sec><sec sec-type="supplementary-material" id="SM1"><title>Supplementary Material</title><supplementary-material content-type="local-data" id="SD1"><label>1</label><media xlink:href="NIHMS1546221-supplement-1.pdf" orientation="portrait" xlink:type="simple" id="d39e526" position="anchor"/></supplementary-material></sec></body><back><ack id="S11"><title>Acknowledgments</title><p id="P26">This work was supported by grant ES24719 from the National Institute of Environmental Health Sciences and by grant OH010662 from the National Institute for Occupational Safety and Health. The authors wish to thank all of the participants who volunteered to help collect the samples. Finally, the authors would like to acknowledge those who helped with the development of the UPAS and AMAS: Daniel David Miller-Lionberg, Eric Wendt, Joshua Smith, Nathan Henry, and Nicholas Good.</p></ack><fn-group><fn fn-type="COI-statement" id="FN1"><p id="P27">Conflict of Interest.</p><p id="P28">The authors declare no competing financial interests.</p></fn><fn id="FN2"><p id="P29">Supporting Information</p><p id="P30">The following files are available free of charge.</p><p id="P31">One 18-page pdf document containing 5 figures, 4 equations, and 9 tables.</p><p id="P32">A xlsx file containing the true positive, true negative, false positive, false negative, accuracy, specificity, sensitivity, and total accuracy statistics for all five algorithms (ABS, Motion, GPS-S, GPS-M, and GPS-L).</p></fn></fn-group><ref-list><title>References</title><ref id="R1"><label>1.</label><mixed-citation publication-type="journal"><name><surname>Brook</surname><given-names>RD</given-names></name>, <name><surname>Rajagopalan</surname><given-names>S</given-names></name>, <name><surname>Pope</surname><given-names>CA</given-names></name>, <name><surname>Brook</surname><given-names>JR</given-names></name>, <name><surname>Bhatnagar</surname><given-names>A</given-names></name>, <name><surname>Diez-Roux</surname><given-names>AV</given-names></name>, <etal/>
<article-title>Particulate matter air pollution and cardiovascular disease: an update to the scientific statement from the American Heart Association</article-title>. <source>Circulation</source>. <year>2010</year>;<volume>121</volume>(<issue>21</issue>):<fpage>2331</fpage>&#x02013;<lpage>78</lpage>.<pub-id pub-id-type="pmid">20458016</pub-id></mixed-citation></ref><ref id="R2"><label>2.</label><mixed-citation publication-type="journal"><name><surname>Cohen</surname><given-names>AJ</given-names></name>, <name><surname>Brauer</surname><given-names>M</given-names></name>, <name><surname>Burnett</surname><given-names>R</given-names></name>, <name><surname>Anderson</surname><given-names>HR</given-names></name>, <name><surname>Frostad</surname><given-names>J</given-names></name>, <name><surname>Estep</surname><given-names>K</given-names></name>, <etal/>
<article-title>Estimates and 25-year trends of the global burden of disease attributable to ambient air pollution: an analysis of data from the Global Burden of Diseases Study 2015</article-title>. <source>The Lancet</source>. <year>2017</year>;<volume>389</volume>(<issue>10082</issue>):<fpage>1907</fpage>&#x02013;<lpage>18</lpage>.</mixed-citation></ref><ref id="R3"><label>3.</label><mixed-citation publication-type="journal"><name><surname>Mann</surname><given-names>JK</given-names></name>, <name><surname>Balmes</surname><given-names>JR</given-names></name>, <name><surname>Bruckner</surname><given-names>TA</given-names></name>, <name><surname>Mortimer</surname><given-names>KM</given-names></name>, <name><surname>Margolis</surname><given-names>HG</given-names></name>, <name><surname>Pratt</surname><given-names>B</given-names></name>, <etal/>
<article-title>Short-term effects of air pollution on wheeze in asthmatic children in Fresno, California</article-title>. <source>Environmental health perspectives</source>. <year>2010</year>;<volume>118</volume>(<issue>10</issue>):<fpage>1497</fpage>.<pub-id pub-id-type="pmid">20570778</pub-id></mixed-citation></ref><ref id="R4"><label>4.</label><mixed-citation publication-type="journal"><name><surname>Peel</surname><given-names>JL</given-names></name>, <name><surname>Tolbert</surname><given-names>PE</given-names></name>, <name><surname>Klein</surname><given-names>M</given-names></name>, <name><surname>Metzger</surname><given-names>KB</given-names></name>, <name><surname>Flanders</surname><given-names>WD</given-names></name>, <name><surname>Todd</surname><given-names>K</given-names></name>, <etal/>
<article-title>Ambient air pollution and respiratory emergency department visits</article-title>. <source>Epidemiology</source>. <year>2005</year>;<volume>16</volume>(<issue>2</issue>):<fpage>164</fpage>&#x02013;<lpage>74</lpage>.<pub-id pub-id-type="pmid">15703530</pub-id></mixed-citation></ref><ref id="R5"><label>5.</label><mixed-citation publication-type="journal"><name><surname>Pope</surname><given-names>CA</given-names><suffix>III</suffix></name>, <name><surname>Dockery</surname><given-names>DW</given-names></name>. <article-title>Health effects of fine particulate air pollution: lines that connect</article-title>. <source>Journal of the air &#x00026; waste management association</source>. <year>2006</year>;<volume>56</volume>(<issue>6</issue>):<fpage>709</fpage>&#x02013;<lpage>42</lpage>.<pub-id pub-id-type="pmid">16805397</pub-id></mixed-citation></ref><ref id="R6"><label>6.</label><mixed-citation publication-type="journal"><name><surname>Branco</surname><given-names>P</given-names></name>, <name><surname>Alvim-Ferraz</surname><given-names>M</given-names></name>, <name><surname>Martins</surname><given-names>F</given-names></name>, <name><surname>Sousa</surname><given-names>S</given-names></name>. <article-title>The microenvironmental modelling approach to assess children&#x02019;s exposure to air pollution&#x02013;A review</article-title>. <source>Environmental research</source>. <year>2014</year>;<volume>135</volume>:<fpage>317</fpage>&#x02013;<lpage>32</lpage>.<pub-id pub-id-type="pmid">25462682</pub-id></mixed-citation></ref><ref id="R7"><label>7.</label><mixed-citation publication-type="journal"><name><surname>Lim</surname><given-names>S</given-names></name>, <name><surname>Kim</surname><given-names>J</given-names></name>, <name><surname>Kim</surname><given-names>T</given-names></name>, <name><surname>Lee</surname><given-names>K</given-names></name>, <name><surname>Yang</surname><given-names>W</given-names></name>, <name><surname>Jun</surname><given-names>S</given-names></name>, <etal/>
<article-title>Personal exposures to PM 2.5 and their relationships with microenvironmental concentrations</article-title>. <source>Atmospheric environment</source>. <year>2012</year>;<volume>47</volume>:<fpage>407</fpage>&#x02013;<lpage>12</lpage>.</mixed-citation></ref><ref id="R8"><label>8.</label><mixed-citation publication-type="journal"><name><surname>Van Ryswyk</surname><given-names>K</given-names></name>, <name><surname>Wheeler</surname><given-names>AJ</given-names></name>, <name><surname>Wallace</surname><given-names>L</given-names></name>, <name><surname>Kearney</surname><given-names>J</given-names></name>, <name><surname>You</surname><given-names>H</given-names></name>, <name><surname>Kulka</surname><given-names>R</given-names></name>, <etal/>
<article-title>Impact of microenvironments and personal activities on personal PM 2.5 exposures among asthmatic children</article-title>. <source>Journal of Exposure Science and Environmental Epidemiology</source>. <year>2014</year>;<volume>24</volume>(<issue>3</issue>):<fpage>260</fpage>.<pub-id pub-id-type="pmid">23632991</pub-id></mixed-citation></ref><ref id="R9"><label>9.</label><mixed-citation publication-type="journal"><name><surname>Baxter</surname><given-names>LK</given-names></name>, <name><surname>Dionisio</surname><given-names>KL</given-names></name>, <name><surname>Burke</surname><given-names>J</given-names></name>, <name><surname>Sarnat</surname><given-names>SE</given-names></name>, <name><surname>Sarnat</surname><given-names>JA</given-names></name>, <name><surname>Hodas</surname><given-names>N</given-names></name>, <etal/>
<source>Exposure prediction approaches used in air pollution epidemiology studies: key findings and future recommendations</source>. <year>2013</year>;<volume>23</volume>(<issue>6</issue>):<fpage>654</fpage>.</mixed-citation></ref><ref id="R10"><label>10.</label><mixed-citation publication-type="journal"><name><surname>&#x000d6;zkaynak</surname><given-names>H</given-names></name>, <name><surname>Baxter</surname><given-names>LK</given-names></name>, <name><surname>Dionisio</surname><given-names>KL</given-names></name>, <name><surname>Burke</surname><given-names>JJJoES</given-names></name>, <name><surname>Epidemiology</surname><given-names>E</given-names></name>. <source>Air pollution exposure prediction approaches used in air pollution epidemiology studies</source>. <year>2013</year>;<volume>23</volume>(<issue>6</issue>):<fpage>566</fpage>.</mixed-citation></ref><ref id="R11"><label>11.</label><mixed-citation publication-type="journal"><name><surname>Adams</surname><given-names>C</given-names></name>, <name><surname>Riggs</surname><given-names>P</given-names></name>, <name><surname>Volckens</surname><given-names>J</given-names></name>. <article-title>Development of a method for personal, spatiotemporal exposure assessment</article-title>. <source>Journal of Environmental Monitoring</source>. <year>2009</year>;<volume>11</volume>(<issue>7</issue>):<fpage>1331</fpage>&#x02013;<lpage>9</lpage>.<pub-id pub-id-type="pmid">20449221</pub-id></mixed-citation></ref><ref id="R12"><label>12.</label><mixed-citation publication-type="journal"><name><surname>Breen</surname><given-names>MS</given-names></name>, <name><surname>Long</surname><given-names>TC</given-names></name>, <name><surname>Schultz</surname><given-names>BD</given-names></name>, <name><surname>Crooks</surname><given-names>J</given-names></name>, <name><surname>Breen</surname><given-names>M</given-names></name>, <name><surname>Langstaff</surname><given-names>JE</given-names></name>, <etal/>
<article-title>GPS-based microenvironment tracker (MicroTrac) model to estimate time&#x02013;location of individuals for air pollution exposure assessments: Model evaluation in central North Carolina</article-title>. <source>Journal of Exposure Science and Environmental Epidemiology</source>. <year>2014</year>;<volume>24</volume>(<issue>4</issue>):<fpage>412</fpage>.<pub-id pub-id-type="pmid">24619294</pub-id></mixed-citation></ref><ref id="R13"><label>13.</label><mixed-citation publication-type="journal"><name><surname>Elgethun</surname><given-names>K</given-names></name>, <name><surname>Yost</surname><given-names>MG</given-names></name>, <name><surname>Fitzpatrick</surname><given-names>CTE</given-names></name>, <name><surname>Nyerges</surname><given-names>TL</given-names></name>, <name><surname>Fenske</surname><given-names>RA</given-names></name>. <article-title>Comparison of global positioning system (GPS) tracking and parent-report diaries to characterize children&#x02019;s time&#x02013;location patterns</article-title>. <source>Journal Of Exposure Science And Environmental Epidemiology</source>. <year>2006</year>;<volume>17</volume>:<fpage>196</fpage>.<pub-id pub-id-type="pmid">16773123</pub-id></mixed-citation></ref><ref id="R14"><label>14.</label><mixed-citation publication-type="journal"><name><surname>Kim</surname><given-names>T</given-names></name>, <name><surname>Lee</surname><given-names>K</given-names></name>, <name><surname>Yang</surname><given-names>W</given-names></name>, <name><surname>Do Yu</surname><given-names>S</given-names></name>. <article-title>A new analytical method for the classification of time&#x02013;location data obtained from the global positioning system (GPS)</article-title>. <source>Journal of Environmental Monitoring</source>. <year>2012</year>;<volume>14</volume>(<issue>8</issue>):<fpage>2270</fpage>&#x02013;<lpage>4</lpage>.<pub-id pub-id-type="pmid">22739933</pub-id></mixed-citation></ref><ref id="R15"><label>15.</label><mixed-citation publication-type="journal"><name><surname>Steinle</surname><given-names>S</given-names></name>, <name><surname>Reis</surname><given-names>S</given-names></name>, <name><surname>Sabel</surname><given-names>CE</given-names></name>. <article-title>Quantifying human exposure to air pollution&#x02014;moving from static monitoring to spatio-temporally resolved personal exposure assessment</article-title>. <source>Science of the Total Environment</source>. <year>2013</year>;<volume>443</volume>:<fpage>184</fpage>&#x02013;<lpage>93</lpage>.</mixed-citation></ref><ref id="R16"><label>16.</label><mixed-citation publication-type="journal"><name><surname>Kelly</surname><given-names>P</given-names></name>, <name><surname>Krenn</surname><given-names>P</given-names></name>, <name><surname>Titze</surname><given-names>S</given-names></name>, <name><surname>Stopher</surname><given-names>P</given-names></name>, <name><surname>Foster</surname><given-names>C</given-names></name>. <article-title>Quantifying the difference between self-reported and global positioning systems-measured journey durations: a systematic review</article-title>. <source>Transport Reviews</source>. <year>2013</year>;<volume>33</volume>(<issue>4</issue>):<fpage>443</fpage>&#x02013;<lpage>59</lpage>.</mixed-citation></ref><ref id="R17"><label>17.</label><mixed-citation publication-type="journal"><name><surname>Wu</surname><given-names>J</given-names></name>, <name><surname>Jiang</surname><given-names>C</given-names></name>, <name><surname>Houston</surname><given-names>D</given-names></name>, <name><surname>Baker</surname><given-names>D</given-names></name>, <name><surname>Delfino</surname><given-names>R</given-names></name>. <article-title>Automated time activity classification based on global positioning system (GPS) tracking data</article-title>. <source>Environmental Health</source>. <year>2011</year>;<volume>10</volume>(<issue>1</issue>):<fpage>101</fpage>.<pub-id pub-id-type="pmid">22082316</pub-id></mixed-citation></ref><ref id="R18"><label>18.</label><mixed-citation publication-type="journal"><name><surname>Asimina</surname><given-names>S</given-names></name>, <name><surname>Chapizanis</surname><given-names>D</given-names></name>, <name><surname>Karakitsios</surname><given-names>S</given-names></name>, <name><surname>Kontoroupis</surname><given-names>P</given-names></name>, <name><surname>Asimakopoulos</surname><given-names>D</given-names></name>, <name><surname>Maggos</surname><given-names>T</given-names></name>, <etal/>
<article-title>Assessing and enhancing the utility of low-cost activity and location sensors for exposure studies</article-title>. <source>Environmental monitoring and assessment</source>. <year>2018</year>;<volume>190</volume>(<issue>3</issue>):<fpage>155</fpage>.<pub-id pub-id-type="pmid">29464404</pub-id></mixed-citation></ref><ref id="R19"><label>19.</label><mixed-citation publication-type="journal"><name><surname>Donaire-Gonzalez</surname><given-names>D</given-names></name>, <name><surname>Valent&#x000ed;n</surname><given-names>A</given-names></name>, <name><surname>de Nazelle</surname><given-names>A</given-names></name>, <name><surname>Ambros</surname><given-names>A</given-names></name>, <name><surname>Carrasco-Turigas</surname><given-names>G</given-names></name>, <name><surname>Seto</surname><given-names>E</given-names></name>, <etal/>
<article-title>Benefits of mobile phone technology for personal environmental monitoring</article-title>. <source>JMIR mHealth and uHealth</source>. <year>2016</year>;<volume>4</volume>(<issue>4</issue>).</mixed-citation></ref><ref id="R20"><label>20.</label><mixed-citation publication-type="journal"><name><surname>Glasgow</surname><given-names>ML</given-names></name>, <name><surname>Rudra</surname><given-names>CB</given-names></name>, <name><surname>Yoo</surname><given-names>E-H</given-names></name>, <name><surname>Demirbas</surname><given-names>M</given-names></name>, <name><surname>Merriman</surname><given-names>J</given-names></name>, <name><surname>Nayak</surname><given-names>P</given-names></name>, <etal/>
<article-title>Using smartphones to collect time&#x02013;activity data for long-term personal-level air pollution exposure assessment</article-title>. <source>Journal of Exposure Science and Environmental Epidemiology</source>. <year>2016</year>;<volume>26</volume>(<issue>4</issue>):<fpage>356</fpage>.<pub-id pub-id-type="pmid">25425137</pub-id></mixed-citation></ref><ref id="R21"><label>21.</label><mixed-citation publication-type="book"><name><surname>Langlois</surname><given-names>C</given-names></name>, <name><surname>Tiku</surname><given-names>S</given-names></name>, <name><surname>Pasricha</surname><given-names>S</given-names></name>. <source>Indoor localization with smartphones</source>. <comment>to appear</comment>, <publisher-name>IEEE Consumer Electronics</publisher-name>
<year>2017</year>.</mixed-citation></ref><ref id="R22"><label>22.</label><mixed-citation publication-type="journal"><name><surname>Nethery</surname><given-names>E</given-names></name>, <name><surname>Mallach</surname><given-names>G</given-names></name>, <name><surname>Rainham</surname><given-names>D</given-names></name>, <name><surname>Goldberg</surname><given-names>MS</given-names></name>, <name><surname>Wheeler</surname><given-names>AJ</given-names></name>. <article-title>Using Global Positioning Systems (GPS) and temperature data to generate time-activity classifications for estimating personal exposure in air monitoring studies: an automated method</article-title>. <source>Environmental Health</source>. <year>2014</year>;<volume>13</volume>(<issue>1</issue>):<fpage>33</fpage>.<pub-id pub-id-type="pmid">24885722</pub-id></mixed-citation></ref><ref id="R23"><label>23.</label><mixed-citation publication-type="journal"><name><surname>Lee</surname><given-names>B</given-names></name>, <name><surname>Lim</surname><given-names>C</given-names></name>, <name><surname>Lee</surname><given-names>K</given-names></name>. <article-title>Classification of indoor-outdoor location using combined global positioning system (GPS) and temperature data for personal exposure assessment</article-title>. <source>Environmental health and preventive medicine</source>. <year>2017</year>;<volume>22</volume>(<issue>1</issue>):<fpage>29</fpage>.<pub-id pub-id-type="pmid">29165131</pub-id></mixed-citation></ref><ref id="R24"><label>24.</label><mixed-citation publication-type="journal"><name><surname>Flynn</surname><given-names>JI</given-names></name>, <name><surname>Coe</surname><given-names>DP</given-names></name>, <name><surname>Larsen</surname><given-names>CA</given-names></name>, <name><surname>Rider</surname><given-names>BC</given-names></name>, <name><surname>Conger</surname><given-names>SA</given-names></name>, <name><surname>Bassett</surname><given-names>JD</given-names></name>. <article-title>Detecting indoor and outdoor environments using the ActiGraph GT3X+ light sensor in children</article-title>. <source>Medicine and science in sports and exercise</source>. <year>2014</year>;<volume>46</volume>(<issue>1</issue>):<fpage>201</fpage>&#x02013;<lpage>6</lpage>.<pub-id pub-id-type="pmid">23846164</pub-id></mixed-citation></ref><ref id="R25"><label>25.</label><mixed-citation publication-type="journal"><name><surname>Hu</surname><given-names>M</given-names></name>, <name><surname>Li</surname><given-names>W</given-names></name>, <name><surname>Li</surname><given-names>L</given-names></name>, <name><surname>Houston</surname><given-names>D</given-names></name>, <name><surname>Wu</surname><given-names>J</given-names></name>. <article-title>Refining time-activity classification of human subjects using the global positioning system</article-title>. <source>PloS one</source>. <year>2016</year>;<volume>11</volume>(<issue>2</issue>):<fpage>e0148875</fpage>.<pub-id pub-id-type="pmid">26919723</pub-id></mixed-citation></ref><ref id="R26"><label>26.</label><mixed-citation publication-type="journal"><name><surname>Tandon</surname><given-names>PS</given-names></name>, <name><surname>Saelens</surname><given-names>BE</given-names></name>, <name><surname>Zhou</surname><given-names>C</given-names></name>, <name><surname>Kerr</surname><given-names>J</given-names></name>, <name><surname>Christakis</surname><given-names>DA</given-names></name>. <article-title>Indoor versus outdoor time in preschoolers at child care</article-title>. <source>American journal of preventive medicine</source>. <year>2013</year>;<volume>44</volume>(<issue>1</issue>):<fpage>85</fpage>&#x02013;<lpage>8</lpage>.<pub-id pub-id-type="pmid">23253655</pub-id></mixed-citation></ref><ref id="R27"><label>27.</label><mixed-citation publication-type="journal"><name><surname>Pagels</surname><given-names>P</given-names></name>, <name><surname>Raustorp</surname><given-names>A</given-names></name>, <name><surname>Guban</surname><given-names>P</given-names></name>, <name><surname>Fr&#x000f6;berg</surname><given-names>A</given-names></name>, <name><surname>Boldemann</surname><given-names>C</given-names></name>. <article-title>Compulsory school in-and outdoors&#x02014;Implications for school children&#x02019;s physical activity and health during one academic year</article-title>. <source>International journal of environmental research and public health</source>. <year>2016</year>;<volume>13</volume>(<issue>7</issue>):<fpage>699</fpage>.</mixed-citation></ref><ref id="R28"><label>28.</label><mixed-citation publication-type="journal"><name><surname>Kestens</surname><given-names>Y</given-names></name>, <name><surname>Thierry</surname><given-names>B</given-names></name>, <name><surname>Chaix</surname><given-names>B</given-names></name>. <article-title>Re-creating daily mobility histories for health research from raw GPS tracks: Validation of a kernel-based algorithm using real-life data</article-title>. <source>Health &#x00026; place</source>. <year>2016</year>;<volume>40</volume>:<fpage>29</fpage>&#x02013;<lpage>33</lpage>.<pub-id pub-id-type="pmid">27164433</pub-id></mixed-citation></ref><ref id="R29"><label>29.</label><mixed-citation publication-type="journal"><name><surname>Dewulf</surname><given-names>B</given-names></name>, <name><surname>Neutens</surname><given-names>T</given-names></name>, <name><surname>Van Dyck</surname><given-names>D</given-names></name>, <name><surname>De Bourdeaudhuij</surname><given-names>I</given-names></name>, <name><surname>Panis</surname><given-names>LI</given-names></name>, <name><surname>Beckx</surname><given-names>C</given-names></name>, <etal/>
<article-title>Dynamic assessment of inhaled air pollution using GPS and accelerometer data</article-title>. <source>Journal of Transport &#x00026; Health</source>. <year>2016</year>;<volume>3</volume>(<issue>1</issue>):<fpage>114</fpage>&#x02013;<lpage>23</lpage>.</mixed-citation></ref><ref id="R30"><label>30.</label><mixed-citation publication-type="book"><name><surname>Council</surname><given-names>NR</given-names></name>. <chapter-title>Research priorities for airborne particulate matter: IV</chapter-title>
<source>Continuing research progress</source>: <publisher-name>National Academies Press</publisher-name>; <year>2004</year>.</mixed-citation></ref><ref id="R31"><label>31.</label><mixed-citation publication-type="journal"><name><surname>Bell</surname><given-names>ML</given-names></name>, <name><surname>Dominici</surname><given-names>F</given-names></name>, <name><surname>Ebisu</surname><given-names>K</given-names></name>, <name><surname>Zeger</surname><given-names>SL</given-names></name>, <name><surname>Samet</surname><given-names>JMJEhp</given-names></name>. <source>Spatial and temporal variation in PM2. 5 chemical composition in the United States for health effects studies</source>. <year>2007</year>;<volume>115</volume>(<issue>7</issue>):<fpage>989</fpage>.</mixed-citation></ref><ref id="R32"><label>32.</label><mixed-citation publication-type="journal"><name><surname>Kelly</surname><given-names>FJ</given-names></name>, <name><surname>Fussell</surname><given-names>JCJAE</given-names></name>. <source>Size, source and chemical composition as determinants of toxicity attributable to ambient particulate matter</source>. <year>2012</year>;<volume>60</volume>:<fpage>504</fpage>&#x02013;<lpage>26</lpage>.</mixed-citation></ref><ref id="R33"><label>33.</label><mixed-citation publication-type="journal"><name><surname>Valavanidis</surname><given-names>A</given-names></name>, <name><surname>Fiotakis</surname><given-names>K</given-names></name>, <name><surname>Vlachogianni</surname><given-names>TJJoES</given-names></name>, <name><surname>Health</surname><given-names>PC</given-names></name>. <source>Airborne particulate matter and human health: toxicological assessment and importance of size and composition of particles for oxidative damage and carcinogenic mechanisms</source>. <year>2008</year>;<volume>26</volume>(<issue>4</issue>):<fpage>339</fpage>&#x02013;<lpage>62</lpage>.</mixed-citation></ref><ref id="R34"><label>34.</label><mixed-citation publication-type="journal"><name><surname>Quinn</surname><given-names>C</given-names></name>, <name><surname>Miller-Lionberg</surname><given-names>DD</given-names></name>, <name><surname>Klunder</surname><given-names>KJ</given-names></name>, <name><surname>Kwon</surname><given-names>J</given-names></name>, <name><surname>Noth</surname><given-names>EM</given-names></name>, <name><surname>Mehaffy</surname><given-names>J</given-names></name>, <etal/>
<article-title>Personal Exposure to PM2.5 Black Carbon and Aerosol Oxidative Potential using an Automated Microenvironmental Aerosol Sampler (AMAS)</article-title>. <source>Environmental Science &#x00026; Technology</source>. <year>2018</year>;<volume>52</volume>(<issue>19</issue>):<fpage>11267</fpage>&#x02013;<lpage>75</lpage>.<pub-id pub-id-type="pmid">30200753</pub-id></mixed-citation></ref><ref id="R35"><label>35.</label><mixed-citation publication-type="journal"><name><surname>Goudarzi</surname><given-names>MA</given-names></name>, <name><surname>Landry</surname><given-names>RJ</given-names></name>. <article-title>Assessing horizontal positional accuracy of Google Earth imagery in the city of Montreal, Canada</article-title>. <source>Geodesy and Cartography</source>. <year>2017</year>;<volume>43</volume>(<issue>2</issue>):<fpage>56</fpage>&#x02013;<lpage>65</lpage>.</mixed-citation></ref><ref id="R36"><label>36.</label><mixed-citation publication-type="journal"><name><surname>Volckens</surname><given-names>J</given-names></name>, <name><surname>Quinn</surname><given-names>C</given-names></name>, <name><surname>Leith</surname><given-names>D</given-names></name>, <name><surname>Mehaffy</surname><given-names>J</given-names></name>, <name><surname>Henry</surname><given-names>CS</given-names></name>, <name><surname>Miller&#x02010;Lionberg</surname><given-names>D</given-names></name>. <article-title>Development and evaluation of an ultrasonic personal aerosol sampler</article-title>. <source>Indoor air</source>. <year>2017</year>;<volume>27</volume>(<issue>2</issue>):<fpage>409</fpage>&#x02013;<lpage>16</lpage>.<pub-id pub-id-type="pmid">27354176</pub-id></mixed-citation></ref><ref id="R37"><label>37.</label><mixed-citation publication-type="book"><name><surname>Sinnott</surname><given-names>RW</given-names></name>. <source>Virtues of the haversine</source>. <publisher-name>Sky Telesc</publisher-name>
<year>1984</year>;<volume>68</volume>:<fpage>159</fpage>.</mixed-citation></ref><ref id="R38"><label>38.</label><mixed-citation publication-type="journal"><name><surname>Wu</surname><given-names>J</given-names></name>, <name><surname>Jiang</surname><given-names>C</given-names></name>, <name><surname>Liu</surname><given-names>Z</given-names></name>, <name><surname>Houston</surname><given-names>D</given-names></name>, <name><surname>Jaimes</surname><given-names>G</given-names></name>, <name><surname>McConnell</surname><given-names>R</given-names></name>. <article-title>Performances of different global positioning system devices for time-location tracking in air pollution epidemiological studies</article-title>. <source>Environmental health insights</source>. <year>2010</year>;<volume>4</volume>:<comment>EHI. S6246.</comment></mixed-citation></ref><ref id="R39"><label>39.</label><mixed-citation publication-type="other"><collab>World Health Organization</collab>. <source>Global Solar UV index: A Practical Guide</source>. <year>2002</year>.</mixed-citation></ref><ref id="R40"><label>40.</label><mixed-citation publication-type="other"><name><surname>Pohlert</surname><given-names>T</given-names></name>
<source>PMCMR: Calculate pairwise multiple comparisons of mean rank sums</source>. <comment>R package version.</comment>
<year>2015</year>;<fpage>1</fpage>.</mixed-citation></ref><ref id="R41"><label>41.</label><mixed-citation publication-type="book"><collab>HEI</collab>. <source>Exposure Factors Handbook 2011 Edition (Final Report)</source>. <publisher-loc>Washington D.C.</publisher-loc>: <publisher-name>United States Environmental Protection Agency</publisher-name>; <year>2011</year>
<comment>Report No.: EPA/600/R-09/052F.</comment></mixed-citation></ref><ref id="R42"><label>42.</label><mixed-citation publication-type="journal"><name><surname>Wilson</surname><given-names>JG</given-names></name>, <name><surname>Kingham</surname><given-names>S</given-names></name>, <name><surname>Pearce</surname><given-names>J</given-names></name>, <name><surname>Sturman</surname><given-names>AP</given-names></name>. <article-title>A review of intraurban variations in particulate air pollution: Implications for epidemiological research</article-title>. <source>Atmospheric Environment</source>. <year>2005</year>;<volume>39</volume>(<issue>34</issue>):<fpage>6444</fpage>&#x02013;<lpage>62</lpage>.</mixed-citation></ref><ref id="R43"><label>43.</label><mixed-citation publication-type="journal"><name><surname>Bek&#x000f6;</surname><given-names>G</given-names></name>, <name><surname>Kjeldsen</surname><given-names>BU</given-names></name>, <name><surname>Olsen</surname><given-names>Y</given-names></name>, <name><surname>Schipperijn</surname><given-names>J</given-names></name>, <name><surname>Wierzbicka</surname><given-names>A</given-names></name>, <name><surname>Karottki</surname><given-names>DG</given-names></name>, <etal/>
<article-title>Contribution of various microenvironments to the daily personal exposure to ultrafine particles: Personal monitoring coupled with GPS tracking</article-title>. <source>Atmospheric Environment</source>. <year>2015</year>;<volume>110</volume>:<fpage>122</fpage>&#x02013;<lpage>9</lpage>.</mixed-citation></ref><ref id="R44"><label>44.</label><mixed-citation publication-type="journal"><name><surname>Koehler</surname><given-names>K</given-names></name>, <name><surname>Good</surname><given-names>N</given-names></name>, <name><surname>Wilson</surname><given-names>A</given-names></name>, <name><surname>M&#x000f6;lter</surname><given-names>A</given-names></name>, <name><surname>Moore</surname><given-names>BF</given-names></name>, <name><surname>Carpenter</surname><given-names>T</given-names></name>, <etal/>
<article-title>The Fort Collins commuter study: Variability in personal exposure to air pollutants by microenvironment</article-title>. <source>Indoor air</source>. <year>2019</year>;<volume>29</volume>(<issue>2</issue>):<fpage>231</fpage>&#x02013;<lpage>41</lpage>.<pub-id pub-id-type="pmid">30586194</pub-id></mixed-citation></ref><ref id="R45"><label>45.</label><mixed-citation publication-type="journal"><name><surname>Langley</surname><given-names>RB</given-names></name>. <article-title>Dilution of precision</article-title>. <source>GPS world</source>. <year>1999</year>;<volume>10</volume>(<issue>5</issue>):<fpage>52</fpage>&#x02013;<lpage>9</lpage>.</mixed-citation></ref><ref id="R46"><label>46.</label><mixed-citation publication-type="confproc"><name><surname>Brunauer</surname><given-names>R</given-names></name>, <name><surname>Hufnagl</surname><given-names>M</given-names></name>, <name><surname>Rehrl</surname><given-names>K</given-names></name>, <name><surname>Wagner</surname><given-names>A</given-names></name>, editors. <source>Motion pattern analysis enabling accurate travel mode detection from GPS data only</source>. <conf-name>16th International IEEE Conference on Intelligent Transportation Systems (ITSC 2013)</conf-name>; <year>2013</year>: <collab>IEEE</collab>.</mixed-citation></ref><ref id="R47"><label>47.</label><mixed-citation publication-type="journal"><name><surname>Ellis</surname><given-names>K</given-names></name>, <name><surname>Godbole</surname><given-names>S</given-names></name>, <name><surname>Marshall</surname><given-names>S</given-names></name>, <name><surname>Lanckriet</surname><given-names>G</given-names></name>, <name><surname>Staudenmayer</surname><given-names>J</given-names></name>, <name><surname>Kerr</surname><given-names>J</given-names></name>. <article-title>Identifying active travel behaviors in challenging environments using GPS, accelerometers, and machine learning algorithms</article-title>. <source>Frontiers in public health</source>. <year>2014</year>;<volume>2</volume>:<fpage>36</fpage>.<pub-id pub-id-type="pmid">24795875</pub-id></mixed-citation></ref><ref id="R48"><label>48.</label><mixed-citation publication-type="journal"><name><surname>Feng</surname><given-names>T</given-names></name>, <name><surname>Timmermans</surname><given-names>HJ</given-names></name>. <article-title>Transportation mode recognition using GPS and accelerometer data</article-title>. <source>Transportation Research Part C: Emerging Technologies</source>. <year>2013</year>;<volume>37</volume>:<fpage>118</fpage>&#x02013;<lpage>30</lpage>.</mixed-citation></ref></ref-list></back><floats-group><fig id="F1" orientation="portrait" position="float"><label>Figure 1:</label><caption><p id="P33">Overview of the adaptive buffer size (ABS) algorithm. When only GPS location data are available, a large (default) buffer is used. Buffer radii are reduced when motion/environmental sensor data trigger an increased probability that a microenvironment transition has occurred. The black dots represent when an algorithm correctly classified the microenvironment. The red dots demonstrate points that were misclassified. The white dots represent points when the GPS accuracy had drifted, but since there was no motion detected the points were correctly classified within the microenvironment.</p></caption><graphic xlink:href="nihms-1546221-f0001"/></fig><fig id="F2" orientation="portrait" position="float"><label>Figure 2:</label><caption><p id="P34">Microenvironment determination accuracy for each of the five algorithms compared against the participant reference dataset. Data points represent single volunteers (n = 25); triangles represent outliers that fall below the 0.7 cutoff indicated by the dashed grey line. GPS-S: location only with small buffer; GPS-M: location only with medium buffer; GPS-L: location only with large buffer.</p></caption><graphic xlink:href="nihms-1546221-f0002"/></fig><fig id="F3" orientation="portrait" position="float"><label>Figure 3:</label><caption><p id="P35">The sensitivity and specificity for each of the five algorithms by microenvironment. Data points represent single volunteers (n = 25); triangles represent outliers that fall below the 0.7 cutoff indicated by the dashed grey line. GPS-S: location only with small buffer; GPS-M: location only with medium buffer; GPS-L: location only with large buffer.</p></caption><graphic xlink:href="nihms-1546221-f0003"/></fig></floats-group></article>