<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.0 20040830//EN" "http://dtd.nlm.nih.gov/publishing/2.0/journalpublishing.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article" dtd-version="2.0">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">JMU</journal-id>
      <journal-id journal-id-type="nlm-ta">JMIR Mhealth Uhealth</journal-id>
      <journal-title>JMIR mHealth and uHealth</journal-title>
      <issn pub-type="epub">2291-5222</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">v5i10e137</article-id>
    <article-id pub-id-type="pmid">28982643</article-id>
    <article-id pub-id-type="doi">10.2196/mhealth.7820</article-id>
    <article-categories>
      <subj-group subj-group-type="heading">
        <subject>Original Paper</subject>
      </subj-group>
      <subj-group subj-group-type="article-type">
        <subject>Original Paper</subject>
      </subj-group>
    </article-categories>
    <title-group>
      <article-title>Well-Being Tracking via Smartphone-Measured Activity and Sleep: Cohort Study</article-title>
    </title-group>
    <contrib-group>
      <contrib contrib-type="editor">
        <name>
          <surname>Eysenbach</surname>
          <given-names>Gunther</given-names>
        </name>
      </contrib>
    </contrib-group>
    <contrib-group>
      <contrib contrib-type="reviewer">
        <name>
          <surname>Saeb</surname>
          <given-names>Sohrab</given-names>
        </name>
      </contrib>
      <contrib contrib-type="reviewer">
        <name>
          <surname>Jin</surname>
          <given-names>Haomiao</given-names>
        </name>
      </contrib>
    </contrib-group>
    <contrib-group>
      <contrib contrib-type="author" id="contrib1" corresp="yes">
      <name name-style="western">
        <surname>DeMasi</surname>
        <given-names>Orianna</given-names>
      </name>
      <degrees>BS</degrees>
      <xref rid="aff1" ref-type="aff">1</xref>
      <address>
        <institution>Department of Electrical Engineering and Computer Sciences</institution>
        <institution>University of California, Berkeley</institution>
        <addr-line>593-5 Soda Hall</addr-line>
        <addr-line>MC-1776</addr-line>
        <addr-line>Berkeley, CA, 94720</addr-line>
        <country>United States</country>
        <phone>1 5107769028</phone>
        <email>odemasi@eecs.berkeley.edu</email>
      </address>  
      <xref rid="aff2" ref-type="aff">2</xref>
      <ext-link ext-link-type="orcid">http://orcid.org/0000-0002-2101-6189</ext-link></contrib>
      <contrib contrib-type="author" id="contrib2">
        <name name-style="western">
          <surname>Feygin</surname>
          <given-names>Sidney</given-names>
        </name>
        <degrees>MS</degrees>
        <xref rid="aff3" ref-type="aff">3</xref>
        <ext-link ext-link-type="orcid">http://orcid.org/0000-0003-4626-4194</ext-link>
      </contrib>
      <contrib contrib-type="author" id="contrib3">
        <name name-style="western">
          <surname>Dembo</surname>
          <given-names>Aluma</given-names>
        </name>
        <degrees>PhD</degrees>
        <xref rid="aff4" ref-type="aff">4</xref>
        <ext-link ext-link-type="orcid">http://orcid.org/0000-0001-8096-0949</ext-link>
      </contrib>
      <contrib contrib-type="author" id="contrib4">
        <name name-style="western">
          <surname>Aguilera</surname>
          <given-names>Adrian</given-names>
        </name>
        <degrees>PhD</degrees>
        <xref rid="aff5" ref-type="aff">5</xref>
        <xref rid="aff6" ref-type="aff">6</xref>
        <ext-link ext-link-type="orcid">http://orcid.org/0000-0003-1773-8768</ext-link>
      </contrib>
      <contrib contrib-type="author" id="contrib5">
        <name name-style="western">
          <surname>Recht</surname>
          <given-names>Benjamin</given-names>
        </name>
        <degrees>PhD</degrees>
        <xref rid="aff1" ref-type="aff">1</xref>
        <ext-link ext-link-type="orcid">http://orcid.org/0000-0002-0293-593X</ext-link>
      </contrib>
    </contrib-group>
    <aff id="aff1">
    <sup>1</sup>
    <institution>Department of Electrical Engineering and Computer Sciences</institution>
    <institution>University of California, Berkeley</institution>  
    <addr-line>Berkeley, CA</addr-line>
    <country>United States</country></aff>
    <aff id="aff2">
    <sup>2</sup>
    <institution>Berkeley Institute of Data Science</institution>
    <institution>University of California, Berkeley</institution>  
    <addr-line>Berkeley, CA</addr-line>
    <country>United States</country></aff>
    <aff id="aff3">
    <sup>3</sup>
    <institution>Department of Civil and Environmental Engineering</institution>
    <institution>University of California, Berkeley</institution>  
    <addr-line>Berkeley, CA</addr-line>
    <country>United States</country></aff>
    <aff id="aff4">
    <sup>4</sup>
    <institution>Department of Agricultural and Resource Economics</institution>
    <institution>University of California, Berkeley</institution>  
    <addr-line>Berkeley, CA</addr-line>
    <country>United States</country></aff>
    <aff id="aff5">
    <sup>5</sup>
    <institution>School of Social Welfare</institution>
    <institution>University of California, Berkeley</institution>  
    <addr-line>Berkeley, CA</addr-line>
    <country>United States</country></aff>
    <aff id="aff6">
    <sup>6</sup>
    <institution>Zuckerberg San Francisco General Hospital</institution>
    <institution>Department of Psychiatry</institution>  
    <institution>University of California, San Francisco</institution>  
    <addr-line>San Francisco, CA</addr-line>
    <country>United States</country></aff>
    <author-notes>
      <corresp>Corresponding Author: Orianna DeMasi 
      <email>odemasi@eecs.berkeley.edu</email></corresp>
    </author-notes>
    <pub-date pub-type="collection"><month>10</month><year>2017</year></pub-date>
    <pub-date pub-type="epub">
      <day>05</day>
      <month>10</month>
      <year>2017</year>
    </pub-date>
    <volume>5</volume>
    <issue>10</issue>
    <elocation-id>e137</elocation-id>
    <!--history from ojs - api-xml-->
    <history>
      <date date-type="received">
        <day>4</day>
        <month>4</month>
        <year>2017</year>
      </date>
      <date date-type="rev-request">
        <day>4</day>
        <month>5</month>
        <year>2017</year>
      </date>
      <date date-type="rev-recd">
        <day>29</day>
        <month>6</month>
        <year>2017</year>
      </date>
      <date date-type="accepted">
        <day>28</day>
        <month>7</month>
        <year>2017</year>
      </date>
    </history>
    <!--(c) the authors - correct author names and publication date here if necessary. Date in form ', dd.mm.yyyy' after jmir.org-->
    <copyright-statement>©Orianna DeMasi, Sidney Feygin, Aluma Dembo, Adrian Aguilera, Benjamin Recht. Originally published in JMIR Mhealth and Uhealth (http://mhealth.jmir.org), 05.10.2017.</copyright-statement>
    <copyright-year>2017</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 (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in JMIR mhealth and uhealth, is properly cited. The complete bibliographic information, a link to the original publication on http://mhealth.jmir.org/, as well as this copyright and license information must be included.</p>
    </license>  
    <self-uri xlink:href="https://mhealth.jmir.org/2017/10/e137/" xlink:type="simple"/>
    <abstract>
      <sec sec-type="background">
        <title>Background</title>
        <p>Automatically tracking mental well-being could facilitate personalization of treatments for mood disorders such as depression and bipolar disorder. Smartphones present a novel and ubiquitous opportunity to track individuals’ behavior and may be useful for inferring and automatically monitoring mental well-being.</p>
      </sec>
      <sec sec-type="objective">
        <title>Objective</title>
        <p>The aim of this study was to assess the extent to which activity and sleep tracking with a smartphone can be used for monitoring individuals’ mental well-being.</p>
      </sec>
      <sec sec-type="methods">
        <title>Methods</title>
        <p>A cohort of 106 individuals was recruited to install an app on their smartphone that would track their well-being with daily surveys and track their behavior with activity inferences from their phone’s accelerometer data. Of the participants recruited, 53 had sufficient data to infer activity and sleep measures. For this subset of individuals, we related measures of activity and sleep to the individuals’ well-being and used these measures to predict their well-being.</p>
      </sec>
      <sec sec-type="results">
        <title>Results</title>
        <p>We found that smartphone-measured approximations for daily physical activity were positively correlated with both mood (<italic>P</italic>=.004) and perceived energy level (<italic>P</italic>&#60;.001). Sleep duration was positively correlated with mood (<italic>P</italic>=.02) but not energy. Our measure for sleep disturbance was not found to be significantly related to either mood or energy, which could imply too much noise in the measurement. Models predicting the well-being measures from the activity and sleep measures were found to be significantly better than naive baselines (<italic>P</italic>&#60;.01), despite modest overall improvements.</p>
      </sec>
      <sec sec-type="conclusions">
        <title>Conclusions</title>
        <p>Measures of activity and sleep inferred from smartphone activity were strongly related to and somewhat predictive of participants’ well-being. Whereas the improvement over naive models was modest, it reaffirms the importance of considering physical activity and sleep for predicting mood and for making automatic mood monitoring a reality.</p>
      </sec>
    </abstract>
    <kwd-group>
      <kwd>depression</kwd>
      <kwd>mobile health</kwd>
      <kwd>smartphones</kwd>
    </kwd-group></article-meta>
  </front>
  <body>
    <sec sec-type="introduction">
      <title>Introduction</title>
      <p>A goal of personalized medicine is to tailor treatments to individuals based on their needs. To aid the tailoring of treatments, it is necessary to monitor an individual’s state of well-being and to evaluate whether they are responding to a treatment [<xref ref-type="bibr" rid="ref1">1</xref>,<xref ref-type="bibr" rid="ref2">2</xref>]. However, monitoring can be a tedious and expensive process and, as a result, can yield low adherence [<xref ref-type="bibr" rid="ref3">3</xref>]. To overcome low patient adherence, automatic monitoring can be employed in the treatment of mental health disorders, such as depression and bipolar disorder, which benefit from monitoring symptoms over time to identify symptom relapse and to possibly prevent symptoms because of higher self-awareness [<xref ref-type="bibr" rid="ref4">4</xref>].</p>
      <p>The proliferation of personal electronics has enabled continuous personal monitoring [<xref ref-type="bibr" rid="ref5">5</xref>]. For example, activity recognition has enabled tracking to monitor physical exertion and sleep patterns [<xref ref-type="bibr" rid="ref6">6</xref>]. Recent studies have started examining whether these smartphone-measured behavioral patterns can be used to infer and then automatically track signals that are not explicitly measured by the smartphone, such as mental well-being.</p>
      <p>Many studies have looked at inferring measures of mental well-being from smartphone-measured behavioral patterns [<xref ref-type="bibr" rid="ref7">7</xref>]. In particular, researchers have considered using measures of location and mobility from global positioning system (GPS) logs to infer depression [<xref ref-type="bibr" rid="ref8">8</xref>-<xref ref-type="bibr" rid="ref10">10</xref>], bipolar state [<xref ref-type="bibr" rid="ref11">11</xref>], stress [<xref ref-type="bibr" rid="ref12">12</xref>], and well-being measures related to schizophrenia [<xref ref-type="bibr" rid="ref13">13</xref>]. These studies have shown that daily self-reported levels of stress are related to geospatial activity and sleep [<xref ref-type="bibr" rid="ref12">12</xref>] and that mobility data can improve predictions of whether a participant is happier or less depressed than usual [<xref ref-type="bibr" rid="ref8">8</xref>,<xref ref-type="bibr" rid="ref10">10</xref>] and their bipolar state or transition between states [<xref ref-type="bibr" rid="ref11">11</xref>]. Researchers have also found that regularity of an individual’s daily mobility is significant when predicting depression symptom severity [<xref ref-type="bibr" rid="ref9">9</xref>,<xref ref-type="bibr" rid="ref14">14</xref>].</p>
      <p>Additional studies have explored the relationships of social signals such as phone usage, call logs, and SMS (short message service) logs with well-being. Two recent studies found that phone usage measures were correlated with depressive symptom severity [<xref ref-type="bibr" rid="ref9">9</xref>,<xref ref-type="bibr" rid="ref14">14</xref>]. Another study found that using social signals such as emails, SMS and call logs, Internet usage, app usage, and location frequency was predictive of mood and energy when previous observations of mood and energy were included [<xref ref-type="bibr" rid="ref15">15</xref>]. However, a similar follow-up study was unable to reproduce these results. This follow-up study did not find sophisticated models considering high accelerometer activity, call and SMS logs, screen events, app usage, and number of images taken to be better than guessing each individual’s well-being [<xref ref-type="bibr" rid="ref16">16</xref>].</p>
      <p>Whereas this body of literature has established that relationships between measures of mental well-being and smartphone-measured behaviors may exist, the above literature has not focused extensively on physical activity in uncontrolled environments (ie, outside a lab without constraints on participants, such as where the phone must be located). For example, studies have explored predicting bipolar states and state transitions via accelerometers on small populations [<xref ref-type="bibr" rid="ref11">11</xref>] or mood in constrained environments where the phone had to be in a fixed position [<xref ref-type="bibr" rid="ref17">17</xref>,<xref ref-type="bibr" rid="ref18">18</xref>] or activities had to be performed in a lab [<xref ref-type="bibr" rid="ref19">19</xref>]. One study looked at a measure of total daily physical activity and sleep (as measured with multiple sensors)
but within the context of stress and not well-being more broadly, and it did not attempt to predict well-being [<xref ref-type="bibr" rid="ref12">12</xref>].</p>
      <p>Despite these few studies’ limited focus on activity and sleep, there is a body of literature external to mobile health (mHealth) that has established a strong relationship of better mood with increased activity [<xref ref-type="bibr" rid="ref20">20</xref>-<xref ref-type="bibr" rid="ref24">24</xref>] and sleep quality [<xref ref-type="bibr" rid="ref25">25</xref>,<xref ref-type="bibr" rid="ref26">26</xref>]. There is also mounting evidence that a smartphone accelerometer measures physical activity to a sufficient extent to be useful for monitoring well-being. Several studies have demonstrated that individuals’ sleep and physical activity can be somewhat accurately tracked with smartphones [<xref ref-type="bibr" rid="ref27">27</xref>] and activity recognition [<xref ref-type="bibr" rid="ref28">28</xref>-<xref ref-type="bibr" rid="ref30">30</xref>], respectively. As a result, it seems probable that an individual’s activity and sleep, as tracked by their smartphone’s accelerometer, could be related to and potentially predictive of their mood and well-being more broadly.</p>
      <p>If possible, tracking mental well-being with an accelerometer could have benefits over using other sensors. For example, an accelerometer could provide more privacy than previously considered sensors, such as GPS location [<xref ref-type="bibr" rid="ref8">8</xref>-<xref ref-type="bibr" rid="ref12">12</xref>] and call logs [<xref ref-type="bibr" rid="ref13">13</xref>,<xref ref-type="bibr" rid="ref15">15</xref>,<xref ref-type="bibr" rid="ref16">16</xref>]. Another advantage to using an accelerometer is that the sensor is always available when the phone is turned on, including when the individual’s phone is out of service or, for example, in a tunnel. Whereas accelerometers embedded in a wearable device might have more potential to accurately track activity, smartphones are more ubiquitous and thus more realistic for long-term tracking.</p>
      <p>Here, we are interested in focusing on and better understanding the relationships of physical activity and sleep, as measured by a smartphone accelerometer, with emotion for improving automatic mood tracking. We are particularly interested in understanding whether the relationships are predictive, especially from data collected with ordinary participant-owned smartphones in unconstrained environments (ie, not imposing constraints on participants about where they need to keep the phone or whether they need to have a special device with an accelerometer attached to their body). To explore these research questions, we conducted a field study, extracted measures of physical activity and sleep from smartphone accelerometer logs, related these measures to participants’ self-reported well-being, and attempted to infer participants’ well-being with classification and regression models. We expect that increased physical activity and better sleep quality will be related to improved self-reported mood and well-being.</p>
    </sec>
    <sec sec-type="methods">
      <title>Methods</title>
      <sec>
        <title>Field Study</title>
        <p>We recruited 106 participants from the university community through the Experimental Social Science Laboratory (XLab) for an 8-week field study to pilot methods. Participants were eligible if they owned an Android smartphone, were native English speakers, were undergraduate students, and agreed to the consent form. The study was approved by the University of California, Berkeley Internal Review Board. The participants were asked to take an entry survey, respond to daily well-being prompts on their smartphone, allow passive collection of sensor data from their smartphone, and take an exit survey.</p>
      </sec>
      <sec>
        <title>Data Collection</title>
        <p>Data were collected from participants through a custom Android app that used the Funf Open Sensing Framework [<xref ref-type="bibr" rid="ref31">31</xref>]. This app was installed by participants before the study period and collected both passive sensor data as well as daily participant input. The participants were instructed and reminded to uninstall the app at study completion.</p>
        <p>To quantify well-being, we followed prior studies and asked participants to repeatedly fill out a 2-question survey on their phone. Participants could enter information about their state on two 9-point Likert scales—one for energy and one for mood. Scales were labeled with opposite poles, such as unhappy to happy and unenergetic to energetic. Participants could select the specific words from short lists of relative synonyms for each pole, such as unhappy, negative, sad, bad versus happy, positive, good. Participants were queried for their state 4 times a day. Each of the four daily surveys occurred at a random time within a predefined period between 8 AM and 10 PM. The purpose of randomizing within periods was to ensure distribution of surveys throughout the day without having participants anticipate them. All responses given in a day were averaged into a daily level of perceived mood and energy.</p>
        <p>To measure activity, we sampled the smartphone’s accelerometer for intervals of 3 seconds every 5 minutes. These data were collected continuously from the time the app was installed. There were compatibility issues with phone models and network connections, hence, the amount of data collected on each subject varied. Quality of accelerometers also varied between phone models, which contributed to variance in the amount and quality of data collected on each individual. Some of the difficulties we encountered with sensor data collection included entirely missing observations, nonuniform readings during an observation interval, and insufficient duration of sampling, that is, less than 3 seconds. Participants were excluded from the analyses if they did not have complete data (well-being responses and activity readings) for at least 14 days of the study.</p>
      </sec>
      <sec>
        <title>Data Processing</title>
        <sec>
          <title>Preprocessing</title>
          <p>The smartphones’ 3-axis accelerometers measured the acceleration of the device in three directions. Following prior work, we considered the magnitude of the acceleration minus gravity [<xref ref-type="bibr" rid="ref32">32</xref>]. Gravity for each segment was estimated as the average of coordinates in each of the directions. To account for irregular sampling and to reduce noise in the sensor readings during a sampling interval, we interpolated the available data points and took regular sampling from the interpolation. Quadratic and cubic splines gave irregularities with missing readings; thus, a linear spline was identified as performing the best. This regular sampling allowed us to compute discrete Fourier transforms on the approximated signal and approximate the spectral density using Welch’s method, that is, averaging between Fourier transforms on multiple overlapping segments of the full observation window.</p>
        </sec>
        <sec>
          <title>Activity Inference</title>
          <p>We inferred activity from features summarizing the orientation-invariant magnitude of acceleration deviation and the spectral density of the magnitude of deviation of acceleration. The acceleration deviation was computed by subtracting the estimated gravity from all readings in the interval. This approach was taken to allow for more fine-grained analysis of movement than is presented here. Much prior work with accelerometers, predicting both mental well-being [<xref ref-type="bibr" rid="ref11">11</xref>,<xref ref-type="bibr" rid="ref17">17</xref>,<xref ref-type="bibr" rid="ref19">19</xref>] and activity [<xref ref-type="bibr" rid="ref28">28</xref>-<xref ref-type="bibr" rid="ref30">30</xref>], utilized features on coordinate-wise acceleration. However, such approaches were not applicable here, as our participants’ phones were not in a fixed position during the study. We followed prior work that considered features on the magnitude and power spectrum of the magnitude of acceleration during the sample period [<xref ref-type="bibr" rid="ref30">30</xref>]. The features we used were the average and standard deviation of the magnitude of acceleration and the dominant frequency, entropy of the normalized power spectrum, power in the high frequencies, medium frequencies, and low frequencies of the power spectrum of the magnitude of the acceleration. These eight features were used to fit two logistic regression classifiers. One classifier was trained to identify when the phone is <italic>still</italic> or set down; the second classifier identified <italic>activity</italic> such as walking, running, or pedaling a bicycle. We did not use a classifier to explicitly identify the phone being in a vehicle, such as a car, bus, or train. We did not find a classifier to be reliable enough, given the many states a vehicle can assume, for example, idling, accelerating, and traversing a smooth or bumpy road. Such a task was also of uncertain necessity because participants do not necessarily exert extra energy while riding in transportation and thus vehicle activity was less likely to correspond to elevated mood from physical exertion.. As a result, we focused this study on measures of physical activity and sleep. The goal of these two classifiers was to quantify how long the phone was set down at night, and the subject presumably sleeping, and how long the participant was physically active during the day. These classifiers were trained on an auxiliary activity-labeled dataset that was collected with the same smartphone app and data processing pipeline. The classifiers achieved 80% to 95% accuracy on held out subjects from the training dataset.</p>
        </sec>
      </sec>
      <sec>
        <title>Measure Extraction</title>
        <sec>
          <title>Sleep Duration</title>
          <p>Sleep duration was estimated as the length of the longest period during which the participant was not physically active, starting after 9 PM the prior evening. This period was calculated by looking at the longest contiguous series of observations when the accelerometer data predicted that the participant was <italic>not active</italic> and taking the duration of that period. Whereas this approach likely overestimates the duration of sleep, it should be representative of a period of passivity or evening rest and is preferable to the highly noisy alternative of considering the duration for which the phone was predicted to be still during the evening.</p>
        </sec>
        <sec>
          <title>Nighttime Stillness</title>
          <p>Sleep disturbance, or nighttime stillness, sought to capture sleep disturbance during the time when each participant’s phone was most likely to be set down and the participant presumably asleep, based on their typical behavior. This measure was considered to be the fraction of time that a participant was still during their median period of late evening or when their phone would typically be still, based on their behavior during the study. The period of late evening was defined for each participant by first considering the longest contiguous set of observations during which the phone was predicted to be set down, starting after 9 PM for each day of the study. The median time that this period started, or presumably the phone was set down, for each day of the study defined the beginning of period, and the median time that the contiguous <italic>still</italic> observations ended on each day of the study was considered the end of the period of late evening.</p>
          <table-wrap position="float" id="table1">
            <label>Table 1</label>
            <caption>
              <p>Daily measures of activity and sleep and how they were calculated.</p>
            </caption>
            <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
              <col width="130"/>
              <col width="175"/>
              <col width="690"/>
              <thead>
                <tr valign="top">
                  <td>Type of measure</td>
                  <td>Measure</td>
                  <td>How it was measured and calculated</td>
                </tr>
              </thead>
              <tbody>
                <tr valign="top">
                  <td rowspan="2">Time</td>
                  <td>Day of study (semester)</td>
                  <td>Coded as the number of days since the first day of the study.</td>
                </tr>
                <tr valign="top">
                  <td>Day of week</td>
                  <td>Ordinal variable coded Monday (0) through Sunday (6).</td>
                </tr>
                <tr valign="top">
                  <td>Sleep</td>
                  <td>Sleep duration</td>
                  <td>Longest contiguous time that the participant was not physically active starting after 9 PM.</td>
                </tr>
                <tr valign="top">
                  <td rowspan="2">Activity</td>
                  <td>Daytime activity</td>
                  <td>Fraction of time a participant was physically active during the median active period. The median active period is the time between the median hour the participant became physically active during each day of the study and the median hour that the participant stopped being active during the study.</td>
                </tr>
                <tr valign="top">
                  <td>Nighttime stillness</td>
                  <td>Fraction of time the phone was predicted to be still, that is, set down, during the median still period. The median still period was calculated over the course of the study to be the median hour that the longest contiguous still period started and the median hour it stopped.</td>
                </tr>
              </tbody>
            </table>
          </table-wrap>

          <p>The nighttime stillness measure for each day of the study was the fraction of observations on that day of the study, which occurred during the late evening period and was predicted to be <italic>still.</italic></p>
        </sec>
        <sec>
          <title>Daytime Activity</title>
          <p>For a measure of daily physical activity, we consider the daytime activity, which was the fraction of time that a participant was predicted to be physically active during their active period or the period of the day that we would expect each participant to be active, given their typical behavior during the study. The active period of the day was determined by first looking at the longest contiguous set of observations when the phone’s predicted behavior was <italic>not-physically active</italic>, starting after 9 PM. The median time across all the days of the study when this physically not-active period began was considered as the end of the active period, and the median end time of the not-active period was considered the beginning of the participant’s typical active period. The <italic>daytime activity</italic> measure for each day of the study was then the fraction of time that the participant’s phone predicted (with the models discussed previously) that the participant was <italic>physically active</italic> during the participant’s active period.</p>
        </sec>
        <sec>
          <title>Day of Study</title>
          <p>Following prior work, we coded the day of the study as the number of days that had elapsed since the first day of the study [<xref ref-type="bibr" rid="ref12">12</xref>]. This measure is important to account for potential participant fatigue, and also to represent the progression of the academic semester, which may have had an effect on the participants.</p>
        </sec>
        <sec>
          <title>Weekday</title>
          <p>The day of the week, and thus the potential effect of weekends, was accounted for by coding weekdays with an ordinal variable from 0 to 6, Monday through Sunday (<xref ref-type="table" rid="table1">Table 1</xref>).</p>

        </sec>
      </sec>
      <sec>
        <title>Analyses</title>
        <sec>
          <title>Relating Measures to Well-Being</title>
          <p>The first set of analyses sought to study the relationship of activity, sleep, and time on daily well-being. To account for the repeated measures design and missing data, we used mixed-effects linear models to relate reported average daily well-being measures to daily behavior measures [<xref ref-type="bibr" rid="ref33">33</xref>]. We started with a maximal random-effects structure for each well-being measure to allow for individual variation and increase generalizability. Due to lack of initial convergence of the model, we followed suggestions in prior work to look at the covariance of the partially converged model and remove the variable in minimum variance from the random-effects structure [<xref ref-type="bibr" rid="ref34">34</xref>]. Using this procedure, we removed the measure of sleep disturbance, <italic>nighttime stillness</italic>, from the random-effects structure when modeling mood and removed the scaled ordinal variable coding the day of the week when modeling energy. After this step, both models converged. Activity and sleep measures were centered and normalized within individuals, and time measures were scaled between 0 and 1 before fitting the models to compare the relative sizes of effects.</p>
          <p>To ensure the value of the model with maximally justified random-effects structure, we fit two additional models: (1) a model with only random intercepts and no additional random-effects or fixed-effects and (2) a model with fixed-effects and a random intercept only. Model fit was assessed with chi-square tests on the log likelihood values of different models. Model assumptions were visually checked. The linear mixed-effects models and analyses were carried out in the R programming language and environment [<xref ref-type="bibr" rid="ref35">35</xref>] using the lme4 [<xref ref-type="bibr" rid="ref36">36</xref>] and lmerTest [<xref ref-type="bibr" rid="ref37">37</xref>] software packages.</p>
        </sec>
        <sec>
          <title>Predicting Well-Being</title>
          <p>The second set of analyses assessed whether the relationships between daily mood and the activity, behavior, and time features were strong enough to be predictive. To do this, we attempted two tasks. The first task was to predict whether a participant was having a bad day, that is, whether their well-being was lower than their median-reported well-being. Only participants with sufficient observations of each class (at least 5 fine days and 5 bad days) were included in the analysis. The second task was to predict a participant’s level of well-being.</p>
        </sec>
        <sec>
          <title>Prediction Models</title>
          <p>For the first task, predicting whether a participant was having a worse-than-usual day, we used logistic regressions with an L1 and an L2 norm penalty as well as support vector machines (SVMs) and random forests [<xref ref-type="bibr" rid="ref38">38</xref>,<xref ref-type="bibr" rid="ref39">39</xref>]. For predicting the daily level of well-being, we used a linear regression model with the elastic net penalty [<xref ref-type="bibr" rid="ref40">40</xref>] in addition to an Epsilon-Support Vector Regression and random forests. These models were used on individuals’ data to build <italic>personal models</italic>, rather than pooling all individuals’ data into a <italic>global model</italic>. Personal models were used because they have been shown to be the most successful approach to predicting individuals’ responses [<xref ref-type="bibr" rid="ref13">13</xref>]. Mixed-effects models help to model behavior within the population as a whole while taking into account the fact that individuals have different behavior, but personal linear models are a best-case scenario for predicting individuals’ behavior from their own data.</p>
        </sec>
        <sec>
          <title>Prediction Framework</title>
          <p>For both prediction tasks, we evaluated prediction accuracy with leave-one-out cross-validation on personalized models, that is, we trained a model on all but one of a participant’s data points, evaluated the model accuracy on the held-out observation, and then averaged accuracy across observations. The penalty weights hyperparameters were set with leave-one-out cross-validation on the training data and scanning a variety of penalty weights. The predictive analysis was performed in Python with the scikit-learn library [<xref ref-type="bibr" rid="ref41">41</xref>].</p>
        </sec>
        <sec>
          <title>Model Evaluation: User Lift</title>
          <p>The accuracy of predicting whether an individual was having a good day was quantified by prediction error or the percentage of observations that were incorrectly predicted. The accuracy of predicting the level of well-being on a given day was quantified by root-mean-square error, which is the square root of the average squared distance of a prediction from the true value. We report the accuracy of predictions compared with the accuracy of predicting each participant to be at their most common state. This measure is called <italic>user lift</italic>; it is the increase in accuracy, or decrease in error, that the model has relative to always predicting an individual to be at their most common state [<xref ref-type="bibr" rid="ref42">42</xref>]. By comparing a model with each participant’s baseline, user lift reveals how much better a model is doing than guessing a participant to always be at their usual state. We then used permutation tests to assess whether user lift was significantly positive across the participants, that is, whether the models were significantly better than always guessing a participant to be at their most common state, as permutation tests are reported to be more reliable than paired nonparametric tests [<xref ref-type="bibr" rid="ref43">43</xref>,<xref ref-type="bibr" rid="ref44">44</xref>].</p>
        </sec>
      </sec>
    </sec>
    <sec sec-type="results">
      <title>Results</title>
      <sec>
        <title>Participation</title>
        <p>Of the 106 participants recruited, 87 installed our app; 57 completed the study, that is, completed the exit survey at the end of the 8-week study period. However, there were only sufficient data on 53 participants to include in the analyses. Baseline characteristics of individuals included and excluded from the analyses are shown in <xref ref-type="table" rid="table2">Table 2</xref> and indicate that similar populations were included and excluded from the analyses. Whereas some attrition was because of participation waning over the 8-week study period, there was also attrition as a result of technical difficulties and app compatibility issues on older phones.</p>
        <table-wrap position="float" id="table2">
          <label>Table 2</label>
          <caption>
            <p>Participant baseline characteristics. Averages across individuals are reported with standard deviations in parenthesis, except where indicated. Where appropriate, numbers represent the average across individuals of averages within individuals.</p>
          </caption>
          <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
            <col width="590"/>
            <col width="195"/>
            <col width="195"/>
            <col width="225"/>
            <thead>
              <tr valign="top">
                <td>Participant measure</td>
                <td>Included participants <break/>with exit survey <break/>(n=47)</td>
                <td>Included participants <break/>with no exit survey <break/>(n=6)</td>
                <td>Excluded participants <break/>because of insufficient data <break/>(n=53)</td>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td>Age<sup>a</sup></td>
                <td>19.83 (1.99)</td>
                <td>20.33 (1.60)</td>
                <td>20.80 (4.13)</td>
              </tr>
              <tr valign="top">
                <td>Female (number)<sup>a</sup></td>
                <td>26</td>
                <td>3</td>
                <td>28</td>
              </tr>
              <tr valign="top">
                <td>BDI-20<sup>b</sup> score (entry)<sup>a</sup></td>
                <td>11.14 (9.27)</td>
                <td>7.33 (3.54)</td>
                <td>12.61 (7.20)</td>
              </tr>
              <tr valign="top">
                <td>BDI-20<sup>b</sup> score (exit)<sup>a</sup></td>
                <td>11.98 (12.00)</td>
                <td>N/A</td>
                <td>N/A</td>
              </tr>
              <tr valign="top">
                <td>Median mood rating</td>
                <td>5.17 (1.63)</td>
                <td>5.83 (0.90)</td>
                <td>5.44 (1.44)</td>
              </tr>
              <tr valign="top">
                <td>Median energy rating</td>
                <td>5.60 (1.27)</td>
                <td>6.67 (0.94)</td>
                <td>5.98 (0.80)</td>
              </tr>
              <tr valign="top">
                <td>Number of emotion surveys completed</td>
                <td>160.51 (44.42)</td>
                <td>139.33 (55.01)</td>
                <td>30.25 (50.97)</td>
              </tr>
              <tr valign="top">
                <td>Number of days with emotion ratings</td>
                <td>49.45 (8.27)</td>
                <td>44.00 (11.06)</td>
                <td>10.49 (15.99)</td>
              </tr>
              <tr valign="top">
                <td>Reported typical sleep duration in hours (from exit survey)<sup>a</sup></td>
                <td>6.88 (1.35)</td>
                <td>N/A</td>
                <td>N/A</td>
              </tr>
              <tr valign="top">
                <td>Average duration of inactive period in hours (sensed <italic>sleep duration</italic>)</td>
                <td>8.79 (1.22)</td>
                <td>8.56 (0.48)</td>
                <td>N/A</td>
              </tr>
              <tr valign="top">
                <td>Number of times per month a participant exercised (from exit survey)<sup>a</sup></td>
                <td>4.24 (5.04)</td>
                <td>N/A</td>
                <td>N/A</td>
              </tr>
              <tr valign="top">
                <td>Average minutes active per day (sensed <italic>daytime activity</italic>)</td>
                <td>118.78 (32.67)</td>
                <td>151.25 (59.68)</td>
                <td>N/A</td>
              </tr>
              <tr valign="top">
                <td>Number of days with sensed activity and mood input</td>
                <td>38.60 (9.15)</td>
                <td>40.00 (9.64)</td>
                <td>3.36 (5.15)</td>
              </tr>
            </tbody>
          </table>
          <table-wrap-foot>
            <fn id="table2fn1">
              <p><sup>a</sup>Indicates measures averaged only over submitted responses, as entry and exit survey questions were optional.</p>
            </fn>
            <fn id="table2fn2">
              <p><sup>b</sup>BDI-20 indicates optional self-reports to 20 questions of the Beck’s Depression Inventory (the question related to suicidal ideation was omitted).</p>
            </fn>
          </table-wrap-foot>
        </table-wrap>
        <table-wrap position="float" id="table3">
          <label>Table 3</label>
          <caption>
            <p>Results of fixed-effects for linear mixed-effects model of mood level from smartphone-measured and time variables. The measure for nighttime stillness was excluded from the otherwise maximal random-effects structure.</p>
          </caption>
          <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
            <col width="530"/>
            <col width="100"/>
            <col width="125"/>
            <col width="170"/>
            <col width="70"/>
            <thead>
              <tr valign="top">
                <td>Fixed-effect</td>
                <td>Estimate</td>
                <td>Standard error</td>
                <td><italic>t</italic> value <break/>(degrees of freedom)</td>
                <td><italic>P</italic> value</td>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td>Mean mood (intercept)</td>
                <td>5.056</td>
                <td>0.174</td>
                <td>28.973 (49.0)</td>
                <td>&#60;.001</td>
              </tr>
              <tr valign="top">
                <td>Day of study (semester)</td>
                <td>−0.059</td>
                <td>0.261</td>
                <td>−0.226 (47.0)</td>
                <td>.82</td>
              </tr>
              <tr valign="top">
                <td>Day of week (coded 0-6, Monday-Sunday)</td>
                <td>0.040</td>
                <td>0.076</td>
                <td>0.528 (257.0)</td>
                <td>.60</td>
              </tr>
              <tr valign="top">
                <td>Sleep duration</td>
                <td>0.072</td>
                <td>0.030</td>
                <td>2.451 (52.0)</td>
                <td>.02</td>
              </tr>
              <tr valign="top">
                <td>Daytime activity</td>
                <td>0.097</td>
                <td>0.032</td>
                <td>3.062 (50.4)</td>
                <td>.004</td>
              </tr>
              <tr valign="top">
                <td>Nighttime stillness</td>
                <td>0.040</td>
                <td>0.026</td>
                <td>1.528 (1881.5)</td>
                <td>.13</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>

        <table-wrap position="float" id="table4">
          <label>Table 4</label>
          <caption>
            <p>Checking model fits for linear mixed-effects model of mood.</p>
          </caption>
          <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
            <col width="300"/>
            <col width="160"/>
            <col width="170"/>
            <col width="125"/>
            <col width="170"/>
            <col width="70"/>
            <thead>
              <tr valign="top">
                <td>Model name</td>
                <td>Akaike information <break/>criterion</td>
                <td>Bayesian information <break/>criterion</td>
                <td>Log likelihood</td>
                <td>Chi-square value <break/>(degrees of freedom)</td>
                <td><italic>P</italic> value</td>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td>Random intercept only</td>
                <td>6522.0</td>
                <td>6538.8</td>
                <td>−3258.0</td>
                <td><break/></td>
                <td><break/></td>
              </tr>
              <tr valign="top">
                <td>Fixed-effects with random intercept only</td>
                <td>6508.8</td>
                <td>6553.7</td>
                <td>−3246.4</td>
                <td>23.2 (5)</td>
                <td>&#60;.001</td>
              </tr>
              <tr valign="top">
                <td>Maximal random-effects structure</td>
                <td>6322.0</td>
                <td>6445.4</td>
                <td>−3139.0</td>
                <td>214.8 (14)</td>
                <td>&#60;.001</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>

      </sec>
      <sec>
        <title>Relationship of Sensor Data With Well-Being</title>
        <p>From linear mixed-effects models, we found significant positive relationships of daytime activity and sleep duration with daily mood; when participants get more sleep and more daily activity they tend to report better moods (<xref ref-type="table" rid="table3">Table 3</xref>). Daytime activity has a stronger relative effect than sleep duration. Of note is that nighttime stillness (sleep disturbance) is not significant. This lack of significance could imply that the measurement is too noisy and that more work is needed to reliably measure sleep disturbance with a smartphone. The model with the maximal random-effects structure better accounted for the variance across individual participants than the random intercept only model (<xref ref-type="table" rid="table4">Table 4</xref>). The main effects also remained significant, even when accounting for individual differences.</p>
        <p>We also found a significant positive relationship of daytime activity with daily perceived energy level (<xref ref-type="table" rid="table5">Table 5</xref>). The relation for sleep, though negative, is not significant, revealing a potentially different relationship between the two emotions (mood and energy) with sleep.</p>
        <p>Day of the week has a significant positive fixed-effect but had to be removed from the random-effects structure following prior suggestions about how to handle lack of model convergence [<xref ref-type="bibr" rid="ref33">33</xref>].</p>

        <table-wrap position="float" id="table5">
          <label>Table 5</label>
          <caption>
            <p>Fixed-effects for a mixed-effects linear model relating daily energy level from smartphone-measured and time variables. The ordinal variable for weekday was excluded from the near-maximal random-effects structure.</p>
          </caption>
          <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
            <col width="530"/>
            <col width="100"/>
            <col width="125"/>
            <col width="170"/>
            <col width="70"/>
            <thead>
              <tr valign="top">
                <td>Fixed-effect</td>
                <td>Estimate</td>
                <td>Standard error</td>
                <td><italic>t</italic> value <break/>(degrees of freedom)</td>
                <td><italic>P</italic> value</td>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td>Mean energy (intercept)</td>
                <td>5.686</td>
                <td>0.184</td>
                <td>30.857 (53.9)</td>
                <td>&#60;.001</td>
              </tr>
              <tr valign="top">
                <td>Day of study (semester)</td>
                <td>−0.304</td>
                <td>0.233</td>
                <td>−1.303 (49.4)</td>
                <td>.20</td>
              </tr>
              <tr valign="top">
                <td>Day of week (coded 0-6, Monday-Sunday)</td>
                <td>0.196</td>
                <td>0.067</td>
                <td>2.912 (1876.2)</td>
                <td>.004</td>
              </tr>
              <tr valign="top">
                <td>Sleep duration</td>
                <td>−0.027</td>
                <td>0.031</td>
                <td>−0.858 (57.7)</td>
                <td>.39</td>
              </tr>
              <tr valign="top">
                <td>Daytime activity</td>
                <td>0.182</td>
                <td>0.039</td>
                <td>4.673 (49.6)</td>
                <td>&#60;.001</td>
              </tr>
              <tr valign="top">
                <td>Nighttime stillness</td>
                <td>0.024</td>
                <td>0.030</td>
                <td>0.810 (50.4)</td>
                <td>.42</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>

        <table-wrap position="float" id="table6">
          <label>Table 6</label>
          <caption>
            <p>Checking model fits for linear mixed-effects model of energy.</p>
          </caption>
          <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
            <col width="300"/>
            <col width="160"/>
            <col width="170"/>
            <col width="125"/>
            <col width="170"/>
            <col width="70"/>
            <thead>
              <tr valign="top">
                <td>Model name</td>
                <td>Akaike information <break/>criterion</td>
                <td>Bayesian information <break/>criterion</td>
                <td>Log likelihood</td>
                <td>Chi-square value <break/>(degrees of freedom)</td>
                <td><italic>P</italic> value</td>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td>Random intercept only</td>
                <td>6284.2</td>
                <td>6301.0</td>
                <td>−3139.1</td>
                <td><break/></td>
                <td><break/></td>
              </tr>
              <tr valign="top">
                <td>Fixed-effects with random intercept only</td>
                <td>6196.1</td>
                <td>6240.9</td>
                <td>−3090.0</td>
                <td>98.1 (5)</td>
                <td>&#60;.001</td>
              </tr>
              <tr valign="top">
                <td>Maximal random-effects structure</td>
                <td>5972.5</td>
                <td>6095.9</td>
                <td>−2964.2</td>
                <td>251.6 (14)</td>
                <td>&#60;.001</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>

        <p>This effect for day of the week indicated that participants collectively felt more energy at the end of the week, and there is not sufficient evidence to support the idea that weekday affected participants differently.When we changed the variable encoding weekday to a binary variable indicating a fixed weekend of Saturday and Sunday versus the rest of the week, as has been suggested in related work [<xref ref-type="bibr" rid="ref14">14</xref>], this relationship did not remain significant. An interaction term between a weekend indicator and daily activity was similarly not found to be significant. This lack of significance as a binary variable could be a result of weekends being less defined in our undergraduate population, some of whom may or may not have classes on Friday and thus have had extended <italic>weekends</italic>. The lack of significance could alternatively result from insufficient observations of weekends for each participant. Again, sleep disturbance is not significant, further indicating that there might be too much noise in the variable measuring sleep quality. The model with the maximally justified random-effects structure accounted for significantly more variation across participants than having only a random intercept (<xref ref-type="table" rid="table6">Table 6</xref>).</p>

      </sec>
      <sec>
        <title>Predicting Well-Being From Sensor Data</title>
        <p>The activity, sleep, and time measures described above were also used to predict daily well-being scores. Whereas mixed-effects models were used to understand relationships of activity and sleep measures with well-being within the population, personal models (linear and nonlinear) were used
as a maximally personalized and thus somewhat best-case approach for predicting individuals’ well-being [<xref ref-type="bibr" rid="ref13">13</xref>]. The <italic>user lift</italic>, or improvement of model predictions over a baseline is reported (<xref ref-type="table" rid="table7">Table 7</xref>). The user lift is the increase in accuracy (or decrease in error) that a model has relative to always predicting an individual to be at their most common state. User lift compares a model’s accuracy with a participant’s baseline; thus, it quantifies how much better a model is performing than the most reasonable constant prediction for each participant.</p>
        <p>In general, it was difficult to predict individuals’ well-being on a daily basis with the given information only being about their activity and sleep (<xref ref-type="table" rid="table7">Table 7</xref>). On average, the best models were able to improve prediction of good and bad mood and energy by 5.44% and 4.92%, respectively. The model prediction performance presented in <xref ref-type="table" rid="table7">Table 7</xref> is for linear models (penalized logistic regression and elastic-net penalized linear regression), as those models were found to return higher accuracy than the nonlinear SVMs and random forests. Whereas there was considerable variation in predictability across individuals, permutation tests reveal that user lift was significantly greater than 0, that is, the models were better than naively always predicting each participant to always be at their most common state.</p>

        <table-wrap position="float" id="table7">
          <label>Table 7</label>
          <caption>
            <p>Statistics on linear models predicting daily well-being from activity measures. Whereas the models provide an improvement overall, there is a range in the ability to model individuals. The <italic>P</italic> values are for permutation tests, checking whether user lift is greater than 0, that is, whether models are significantly more accurate than always predicting each individual to be at their most frequent state.</p>
          </caption>
          <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
            <col width="360"/>
            <col width="225"/>
            <col width="110"/>
            <col width="110"/>
            <col width="110"/>
            <col width="75"/>
            <thead>
              <tr valign="top">
                <td>Problem (model)</td>
                <td>Well-being measure</td>
                <td>Average <break/>user lift</td>
                <td>Minimum <break/>user lift</td>
                <td>Maximum <break/>user lift</td>
                <td><italic>P</italic> value</td>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td rowspan="2">Good or bad day (penalized logistic regression)</td>
                <td>Mood (Prediction error)</td>
                <td>5.44%</td>
                <td>−21.74%</td>
                <td>35.00%</td>
                <td>.001</td>
              </tr>
              <tr valign="top">
                <td>Energy (Prediction error)</td>
                <td>4.92%</td>
                <td>−22.73%</td>
                <td>39.39%</td>
                <td>.008</td>
              </tr>
              <tr valign="top">
                <td rowspan="2">Daily average (linear regression with elastic net)</td>
                <td>Mood (RMSE<sup>a</sup>)</td>
                <td>0.026</td>
                <td>−0.232</td>
                <td>0.48</td>
                <td>.08</td>
              </tr>
              <tr valign="top">
                <td>Energy (RMSE)</td>
                <td>0.048</td>
                <td>−0.169</td>
                <td>0.575</td>
                <td>.01</td>
              </tr>
            </tbody>
          </table>
          <table-wrap-foot>
            <fn id="table7fn1">
              <p><sup>a</sup>RMSE: root-mean-square error.</p>
            </fn>
          </table-wrap-foot>
        </table-wrap>

      </sec>
    </sec>
    <sec sec-type="discussion">
      <title>Discussion</title>
      <sec>
        <title>Principal Findings</title>
        <p>We found that increased daily activity, as tracked with a smartphone’s accelerometer, positively correlated with participant-reported mental well-being over time. Whereas a positive correlation of activity and well-being has been substantiated in literature external to mHealth [<xref ref-type="bibr" rid="ref20">20</xref>-<xref ref-type="bibr" rid="ref24">24</xref>], we have shown that smartphones measure individuals’ daily activity to a sufficient level of accuracy to measure this relationship in everyday life. Although the potential for this result has been shown in environments where constraints were placed on the participants [<xref ref-type="bibr" rid="ref11">11</xref>,<xref ref-type="bibr" rid="ref17">17</xref>-<xref ref-type="bibr" rid="ref19">19</xref>], we found this relationship present when no constraints were placed on participants. Previous work did not find a significant correlation of the total activity in a 24-hour day with stress [<xref ref-type="bibr" rid="ref12">12</xref>], which could indicate the need for distinguishing daytime activity from nighttime activity, as we have done, or indicate that physical behavior has unique effects on different emotions, which we have observed by considering mood and energy separately.</p>
        <p>We also found that a simple measure of sleep duration derived solely from accelerometer data was significantly positively correlated with mood. However, it was not significantly correlated with perceived energy, which supports the idea that there are different relationships between different emotions and physical behaviors. We did not find a significant correlation of either mood or energy with our measure of smartphone-measured sleep disturbance. This may imply that the measure did not sufficiently describe sleep quality and that more work is needed to monitor sleep quality in a sustainable manner. It is possible that a more sophisticated method for predicting sleep, such as the method found in prior works, would allow for a finer measure of sleep disturbance [<xref ref-type="bibr" rid="ref27">27</xref>].</p>
        <p>When we used the activity, sleep, and time measures to predict individuals’ well-being, we found modest but significant improvement over naive baseline models. It is important to emphasize that there was a range in our ability to predict individuals’ well-being from their activity and sleep behavior. This range highlights the need for tracking approaches that tailor to the user. However, it is unclear whether this effect is the result of a range in how thoughtfully individuals responded with their state, phone usage, data quality and quantity, or the strength of well-being and activity relationship between individuals.</p>
      </sec>
      <sec>
        <title>Limitations</title>
        <p>A limitation of this study is that participants’ self-reported well-being is subjective, and the population was not clinically assessed. However, the measures of well-being that we used have been widely used and prior research has found simple single-scale measures to be related to longer clinical assessments [<xref ref-type="bibr" rid="ref45">45</xref>]. Whereas a better measure of well-being could be a longer survey, such a measure would incur significant participant fatigue and likely decrease the duration of participation.</p>
        <p>Whether all of the participants’ relevant activity was tracked with smartphones during the study is another concern. There are limitations to activity recognition, especially when the smartphone is not in a fixed position, a participant is performing a nonstandard activity, or the phone is set down, for example, left in a gym locker. However, the study cohort retrospectively reported little vigorous exercise during the study period (<xref ref-type="table" rid="table2">Table 2</xref>); thus, the underestimation of vigorous exercise is likely to be minor. Such limitations could possibly be partially mitigated with location tracking, but time at a location is not necessarily representative of activity, and poor GPS sensitivity would remain a challenge. Wearables may provide a better facsimile of an individual’s behavior when they are worn, but they have notorious compliance limitations that smartphones do not suffer.</p>
        <p>Another limitation was the sample size and lack of clinical population. Some of the individuals in our study cohort did report elevated levels of depressive symptoms in the entry and exit survey. However, the cohort is not necessarily representative of a population with clinically diagnosed mood disorders. Depressed individuals often are less active than the general population, but even small increases in physical activity can improve symptoms [<xref ref-type="bibr" rid="ref46">46</xref>].</p>
      </sec>
      <sec>
        <title>Conclusions</title>
        <p>This study examined the extent to which smartphones’ accelerometers can contribute to passively tracking individuals’ mental well-being in everyday life. We have found that smartphones measure activity and sleep with sufficient accuracy to reproduce prior findings of significant relationships between activity and sleep with mood. Whereas models have a modest, though significant, improvement over naive baseline models in general, the range in predictive capability implies that more work is needed to tailor mood- and depression-tracking apps to individuals.</p>
        <p>Our results support the promise for smartphones to be used in sophisticated and long-term monitoring of patients’ well-being. Because smartphone use is high and their presence ubiquitous, the ability to use a smartphone for tracking mental well-being could have a huge impact on mental health care. Smartphone monitoring may improve self-management via smartphone apps, thereby making care more affordable and thus accessible to individuals who currently do not have access to care. Passive monitoring could also be used as an adjunct to clinician-led treatment, thus increasing the quality of care and personalizing treatments.</p>
      </sec>
    </sec>
  </body>
  <back>
    <glossary>
      <title>Abbreviations</title>
      <def-list>
        <def-item>
          <term id="abb1">BDI</term>
          <def>
            <p>Beck’s Depression Inventory</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb2">BIDS</term>
          <def>
            <p>Berkeley Institute of Data Science</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb3">DARPA</term>
          <def>
            <p>Defense Advanced Research Projects Agency</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb4">GPS</term>
          <def>
            <p>global positioning system</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb5">mHealth</term>
          <def>
            <p>mobile health</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb6">RMSE</term>
          <def>
            <p>root-mean-square error</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb7">SMS</term>
          <def>
            <p>short message service</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb8">SVM</term>
          <def>
            <p>support vector machines</p>
          </def>
        </def-item>
      </def-list>
    </glossary>
    <ack>
      <p>This research was supported, in part, by Department of Homeland Security Award HSHQDC-16-3-00083, NSF CISE Expeditions Award CCF-1139158, Department of Energy Award SN10040 DE-SC0012463, Defense Advanced Research Projects Agency (DARPA) XData Award FA8750-12-2-0331, and gifts from Amazon Web Services, Google, IBM, SAP, The Thomas and Stacey Siebel Foundation, Apple Inc, Arimo, Blue Goji, Bosch, Cisco, Cray, Cloudera, Ericsson, Facebook, Fujitsu, HP, Huawei, Intel, Microsoft, Mitre, Pivotal, Samsung, Schlumberger, Splunk, State Farm, and VMware. Further support was provided by the Berkeley Institute of Data Science (BIDS). BR is generously funded by National Science Foundation award CCF-1359814, Office of Naval Research awards N00014-14-1-0024 and N00014-17-1-2191, the DARPA Fundamental Limits of Learning (Fun LoL) Program, a Sloan Research Fellowship, and a Google Faculty Award.</p>
    </ack>
    <fn-group>
      <fn fn-type="conflict">
        <p>None declared.</p>
      </fn>
    </fn-group>
    <ref-list>
      <ref id="ref1">
        <label>1</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Chambless</surname>
            <given-names>DL</given-names>
          </name>
          <name name-style="western">
            <surname>Hollon</surname>
            <given-names>SD</given-names>
          </name>
        </person-group>
        <article-title>Defining empirically supported therapies</article-title>
        <source>J Consult Clin Psychol</source>  
        <year>1998</year>  
        <month>02</month>  
        <volume>66</volume>  
        <issue>1</issue>  
        <fpage>7</fpage>  
        <lpage>18</lpage>  
        <pub-id pub-id-type="medline">9489259</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>Kazdin</surname>
            <given-names>AE</given-names>
          </name>
        </person-group>
        <article-title>Evidence-based treatment and practice: new opportunities to bridge clinical research and practice, enhance the knowledge base, and improve patient care</article-title>
        <source>Am Psychol</source>  
        <year>2008</year>  
        <month>04</month>  
        <volume>63</volume>  
        <issue>3</issue>  
        <fpage>146</fpage>  
        <lpage>59</lpage>  
        <pub-id pub-id-type="doi">10.1037/0003-066X.63.3.146</pub-id>
        <pub-id pub-id-type="medline">18377105</pub-id>
        <pub-id pub-id-type="pii">2008-03389-001</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>Korotitsch</surname>
            <given-names>WJ</given-names>
          </name>
          <name name-style="western">
            <surname>Nelson-Gray</surname>
            <given-names>RO</given-names>
          </name>
        </person-group>
        <article-title>An overview of self-monitoring research in assessment and treatment</article-title>
        <source>Psychol Assess</source>  
        <year>1999</year>  
        <volume>11</volume>  
        <issue>4</issue>  
        <fpage>415</fpage>  
        <lpage>425</lpage>  
        <pub-id pub-id-type="doi">10.1037/1040-3590.11.4.415</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>Kauer</surname>
            <given-names>SD</given-names>
          </name>
          <name name-style="western">
            <surname>Reid</surname>
            <given-names>SC</given-names>
          </name>
          <name name-style="western">
            <surname>Crooke</surname>
            <given-names>AH</given-names>
          </name>
          <name name-style="western">
            <surname>Khor</surname>
            <given-names>A</given-names>
          </name>
          <name name-style="western">
            <surname>Hearps</surname>
            <given-names>SJ</given-names>
          </name>
          <name name-style="western">
            <surname>Jorm</surname>
            <given-names>AF</given-names>
          </name>
          <name name-style="western">
            <surname>Sanci</surname>
            <given-names>L</given-names>
          </name>
          <name name-style="western">
            <surname>Patton</surname>
            <given-names>G</given-names>
          </name>
        </person-group>
        <article-title>Self-monitoring using mobile phones in the early stages of adolescent depression: randomized controlled trial</article-title>
        <source>J Med Internet Res</source>  
        <year>2012</year>  
        <month>06</month>  
        <day>25</day>  
        <volume>14</volume>  
        <issue>3</issue>  
        <fpage>e67</fpage>  
        <comment>
          <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://www.jmir.org/2012/3/e67/"/>
        </comment>  
        <pub-id pub-id-type="doi">10.2196/jmir.1858</pub-id>
        <pub-id pub-id-type="medline">22732135</pub-id>
        <pub-id pub-id-type="pii">v14i3e67</pub-id>
        <pub-id pub-id-type="pmcid">PMC3414872</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>Piwek</surname>
            <given-names>L</given-names>
          </name>
          <name name-style="western">
            <surname>Ellis</surname>
            <given-names>DA</given-names>
          </name>
          <name name-style="western">
            <surname>Andrews</surname>
            <given-names>S</given-names>
          </name>
          <name name-style="western">
            <surname>Joinson</surname>
            <given-names>A</given-names>
          </name>
        </person-group>
        <article-title>The rise of consumer health wearables: promises and barriers</article-title>
        <source>PLoS Med</source>  
        <year>2016</year>  
        <month>02</month>  
        <volume>13</volume>  
        <issue>2</issue>  
        <fpage>e1001953</fpage>  
        <comment>
          <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://dx.plos.org/10.1371/journal.pmed.1001953"/>
        </comment>  
        <pub-id pub-id-type="doi">10.1371/journal.pmed.1001953</pub-id>
        <pub-id pub-id-type="medline">26836780</pub-id>
        <pub-id pub-id-type="pii">PMEDICINE-D-15-00616</pub-id>
        <pub-id pub-id-type="pmcid">PMC4737495</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>Evenson</surname>
            <given-names>KR</given-names>
          </name>
          <name name-style="western">
            <surname>Goto</surname>
            <given-names>MM</given-names>
          </name>
          <name name-style="western">
            <surname>Furberg</surname>
            <given-names>RD</given-names>
          </name>
        </person-group>
        <article-title>Systematic review of the validity and reliability of consumer-wearable activity trackers</article-title>
        <source>Int J Behav Nutr Phys Act</source>  
        <year>2015</year>  
        <volume>12</volume>  
        <issue>1</issue>  
        <fpage>159</fpage>  
        <comment>
          <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://www.ijbnpa.org/content/12/1/159"/>
        </comment>  
        <pub-id pub-id-type="doi">10.1186/s12966-015-0314-1</pub-id>
        <pub-id pub-id-type="medline">26684758</pub-id>
        <pub-id pub-id-type="pii">10.1186/s12966-015-0314-1</pub-id>
        <pub-id pub-id-type="pmcid">PMC4683756</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>Mohr</surname>
            <given-names>DC</given-names>
          </name>
          <name name-style="western">
            <surname>Zhang</surname>
            <given-names>M</given-names>
          </name>
          <name name-style="western">
            <surname>Schueller</surname>
            <given-names>SM</given-names>
          </name>
        </person-group>
        <article-title>Personal sensing: understanding mental health using ubiquitous sensors and machine learning</article-title>
        <source>Annu Rev Clin Psychol</source>  
        <year>2017</year>  
        <month>05</month>  
        <day>08</day>  
        <volume>13</volume>  
        <fpage>23</fpage>  
        <lpage>47</lpage>  
        <pub-id pub-id-type="doi">10.1146/annurev-clinpsy-032816-044949</pub-id>
        <pub-id pub-id-type="medline">28375728</pub-id></nlm-citation>
      </ref>
      <ref id="ref8">
        <label>8</label>
        <nlm-citation citation-type="confproc">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Canzian</surname>
            <given-names>L</given-names>
          </name>
          <name name-style="western">
            <surname>Musolesi</surname>
            <given-names>M</given-names>
          </name>
        </person-group>
        <article-title>Trajectories of depression: unobtrusive monitoring of depressive states by means of smartphone mobility traces analysis</article-title>
        <year>2015</year>  
        <conf-name>Proc of the ACM International Joint Conference on Pervasive and Ubiquitous Computing</conf-name>
        <conf-date>2015</conf-date>
        <conf-loc>Osaka</conf-loc>
        <fpage>1293</fpage>  
        <lpage>1304</lpage> </nlm-citation>
      </ref>
      <ref id="ref9">
        <label>9</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Saeb</surname>
            <given-names>S</given-names>
          </name>
          <name name-style="western">
            <surname>Zhang</surname>
            <given-names>M</given-names>
          </name>
          <name name-style="western">
            <surname>Karr</surname>
            <given-names>CJ</given-names>
          </name>
          <name name-style="western">
            <surname>Schueller</surname>
            <given-names>SM</given-names>
          </name>
          <name name-style="western">
            <surname>Corden</surname>
            <given-names>ME</given-names>
          </name>
          <name name-style="western">
            <surname>Kording</surname>
            <given-names>KP</given-names>
          </name>
          <name name-style="western">
            <surname>Mohr</surname>
            <given-names>DC</given-names>
          </name>
        </person-group>
        <article-title>Mobile phone sensor correlates of depressive symptom severity in daily-life behavior: an exploratory study</article-title>
        <source>J Med Internet Res</source>  
        <year>2015</year>  
        <volume>17</volume>  
        <issue>7</issue>  
        <fpage>e175</fpage>  
        <comment>
          <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://www.jmir.org/2015/7/e175/"/>
        </comment>  
        <pub-id pub-id-type="doi">10.2196/jmir.4273</pub-id>
        <pub-id pub-id-type="medline">26180009</pub-id>
        <pub-id pub-id-type="pii">v17i7e175</pub-id>
        <pub-id pub-id-type="pmcid">PMC4526997</pub-id></nlm-citation>
      </ref>
      <ref id="ref10">
        <label>10</label>
        <nlm-citation citation-type="confproc">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Jaques</surname>
            <given-names>N</given-names>
          </name>
          <name name-style="western">
            <surname>Taylor</surname>
            <given-names>S</given-names>
          </name>
          <name name-style="western">
            <surname>Azaria</surname>
            <given-names>A</given-names>
          </name>
          <name name-style="western">
            <surname>Ghandeharioun</surname>
            <given-names>A</given-names>
          </name>
          <name name-style="western">
            <surname>Sano</surname>
            <given-names>A</given-names>
          </name>
          <name name-style="western">
            <surname>Picard</surname>
            <given-names>R</given-names>
          </name>
        </person-group>
        <article-title>Predicting students' happiness from physiology, phone, mobility, and behavioral data</article-title>
        <year>2015</year>  
        <conf-name>International Conference on Affective Computing and Intelligent Interaction (ACII)</conf-name>
        <conf-date>2015</conf-date>
        <conf-loc>Xi'an</conf-loc>
        <fpage>222</fpage>  
        <lpage>228</lpage> </nlm-citation>
      </ref>
      <ref id="ref11">
        <label>11</label>
        <nlm-citation citation-type="confproc">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Gruenerbl</surname>
            <given-names>A</given-names>
          </name>
          <name name-style="western">
            <surname>Osmani</surname>
            <given-names>V</given-names>
          </name>
          <name name-style="western">
            <surname>Bahle</surname>
            <given-names>G</given-names>
          </name>
          <name name-style="western">
            <surname>Carrasco</surname>
            <given-names>J</given-names>
          </name>
          <name name-style="western">
            <surname>Oehler</surname>
            <given-names>S</given-names>
          </name>
          <name name-style="western">
            <surname>Mayora</surname>
            <given-names>O</given-names>
          </name>
          <name name-style="western">
            <surname>Haring</surname>
            <given-names>C</given-names>
          </name>
          <name name-style="western">
            <surname>Lukowicz</surname>
            <given-names>P</given-names>
          </name>
        </person-group>
        <article-title>Using smart phone mobility traces for the diagnosis of depressive and manic episodes in bipolar patients</article-title>
        <year>2014</year>  
        <conf-name>Proc of the 5th Augmented Human International Conference</conf-name>
        <conf-date>2014</conf-date>
        <conf-loc>Kobe</conf-loc></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>Ben-Zeev</surname>
            <given-names>D</given-names>
          </name>
          <name name-style="western">
            <surname>Scherer</surname>
            <given-names>EA</given-names>
          </name>
          <name name-style="western">
            <surname>Wang</surname>
            <given-names>R</given-names>
          </name>
          <name name-style="western">
            <surname>Xie</surname>
            <given-names>H</given-names>
          </name>
          <name name-style="western">
            <surname>Campbell</surname>
            <given-names>AT</given-names>
          </name>
        </person-group>
        <article-title>Next-generation psychiatric assessment: using smartphone sensors to monitor behavior and mental health</article-title>
        <source>Psychiatr Rehabil J</source>  
        <year>2015</year>  
        <month>09</month>  
        <volume>38</volume>  
        <issue>3</issue>  
        <fpage>218</fpage>  
        <lpage>26</lpage>  
        <comment>
          <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://europepmc.org/abstract/MED/25844912"/>
        </comment>  
        <pub-id pub-id-type="doi">10.1037/prj0000130</pub-id>
        <pub-id pub-id-type="medline">25844912</pub-id>
        <pub-id pub-id-type="pii">2015-14736-001</pub-id>
        <pub-id pub-id-type="pmcid">PMC4564327</pub-id></nlm-citation>
      </ref>
      <ref id="ref13">
        <label>13</label>
        <nlm-citation citation-type="confproc">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Wang</surname>
            <given-names>R</given-names>
          </name>
          <name name-style="western">
            <surname>Aung</surname>
            <given-names>MS</given-names>
          </name>
          <name name-style="western">
            <surname>Abdullah</surname>
            <given-names>S</given-names>
          </name>
          <name name-style="western">
            <surname>Brian</surname>
            <given-names>R</given-names>
          </name>
          <name name-style="western">
            <surname>Campbell</surname>
            <given-names>AT</given-names>
          </name>
          <name name-style="western">
            <surname>Choudhury</surname>
            <given-names>T</given-names>
          </name>
          <name name-style="western">
            <surname>Hauser</surname>
            <given-names>M</given-names>
          </name>
          <name name-style="western">
            <surname>Kane</surname>
            <given-names>J</given-names>
          </name>
          <name name-style="western">
            <surname>Merrill</surname>
            <given-names>M</given-names>
          </name>
          <name name-style="western">
            <surname>Scherer</surname>
            <given-names>EA</given-names>
          </name>
        </person-group>
        <article-title>Crosscheck: Toward passive sensing and detection of mental health changes in people with schizophrenia</article-title>
        <year>2016</year>  
        <conf-name>Proc of the ACM International Joint Conference on Pervasive and Ubiquitous Computing</conf-name>
        <conf-date>2016</conf-date>
        <conf-loc>Heidelberg</conf-loc>
        <fpage>886</fpage>  
        <lpage>897</lpage> </nlm-citation>
      </ref>
      <ref id="ref14">
        <label>14</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Saeb</surname>
            <given-names>S</given-names>
          </name>
          <name name-style="western">
            <surname>Zhang</surname>
            <given-names>M</given-names>
          </name>
          <name name-style="western">
            <surname>Karr</surname>
            <given-names>CJ</given-names>
          </name>
          <name name-style="western">
            <surname>Schueller</surname>
            <given-names>SM</given-names>
          </name>
          <name name-style="western">
            <surname>Corden</surname>
            <given-names>ME</given-names>
          </name>
          <name name-style="western">
            <surname>Kording</surname>
            <given-names>KP</given-names>
          </name>
          <name name-style="western">
            <surname>Mohr</surname>
            <given-names>DC</given-names>
          </name>
        </person-group>
        <article-title>Mobile phone sensor correlates of depressive symptom severity in daily-life behavior: an exploratory study</article-title>
        <source>J Med Internet Res</source>  
        <year>2015</year>  
        <volume>17</volume>  
        <issue>7</issue>  
        <fpage>e175</fpage>  
        <comment>
          <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://www.jmir.org/2015/7/e175/"/>
        </comment>  
        <pub-id pub-id-type="doi">10.2196/jmir.4273</pub-id>
        <pub-id pub-id-type="medline">26180009</pub-id>
        <pub-id pub-id-type="pii">v17i7e175</pub-id>
        <pub-id pub-id-type="pmcid">PMC4526997</pub-id></nlm-citation>
      </ref>
      <ref id="ref15">
        <label>15</label>
        <nlm-citation citation-type="confproc">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>LiKamWa</surname>
            <given-names>R</given-names>
          </name>
          <name name-style="western">
            <surname>Liu</surname>
            <given-names>Y</given-names>
          </name>
          <name name-style="western">
            <surname>Lane</surname>
            <given-names>ND</given-names>
          </name>
          <name name-style="western">
            <surname>Zhong</surname>
            <given-names>L</given-names>
          </name>
        </person-group>
        <article-title>Moodscope: building a mood sensor from smartphone usage patterns</article-title>
        <year>2013</year>  
        <conf-name>Proc of the 11th Annual International Conference on Mobile Systems, Applications, and Services</conf-name>
        <conf-date>2013</conf-date>
        <conf-loc>Taipei</conf-loc>
        <fpage>389</fpage>  
        <lpage>402</lpage> </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>Asselbergs</surname>
            <given-names>J</given-names>
          </name>
          <name name-style="western">
            <surname>Ruwaard</surname>
            <given-names>J</given-names>
          </name>
          <name name-style="western">
            <surname>Ejdys</surname>
            <given-names>M</given-names>
          </name>
          <name name-style="western">
            <surname>Schrader</surname>
            <given-names>N</given-names>
          </name>
          <name name-style="western">
            <surname>Sijbrandij</surname>
            <given-names>M</given-names>
          </name>
          <name name-style="western">
            <surname>Riper</surname>
            <given-names>H</given-names>
          </name>
        </person-group>
        <article-title>Mobile phone-based unobtrusive ecological momentary assessment of day-to-day mood: an explorative study</article-title>
        <source>J Med Internet Res</source>  
        <year>2016</year>  
        <month>03</month>  
        <day>29</day>  
        <volume>18</volume>  
        <issue>3</issue>  
        <fpage>e72</fpage>  
        <comment>
          <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://www.jmir.org/2016/3/e72/"/>
        </comment>  
        <pub-id pub-id-type="doi">10.2196/jmir.5505</pub-id>
        <pub-id pub-id-type="medline">27025287</pub-id>
        <pub-id pub-id-type="pii">v18i3e72</pub-id>
        <pub-id pub-id-type="pmcid">PMC4829730</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>Rabbi</surname>
            <given-names>M</given-names>
          </name>
          <name name-style="western">
            <surname>Ali</surname>
            <given-names>S</given-names>
          </name>
          <name name-style="western">
            <surname>Choudhury</surname>
            <given-names>T</given-names>
          </name>
          <name name-style="western">
            <surname>Berke</surname>
            <given-names>E</given-names>
          </name>
        </person-group>
        <article-title>Passive and in-situ assessment of mental and physical well-being using mobile sensors</article-title>
        <source>Proc ACM Int Conf Ubiquitous Comput</source>  
        <year>2011</year>  
        <volume>2011</volume>  
        <fpage>385</fpage>  
        <lpage>394</lpage>  
        <comment>
          <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://europepmc.org/abstract/MED/25285324"/>
        </comment>  
        <pub-id pub-id-type="doi">10.1145/2030112.2030164</pub-id>
        <pub-id pub-id-type="medline">25285324</pub-id>
        <pub-id pub-id-type="pmcid">PMC4180507</pub-id></nlm-citation>
      </ref>
      <ref id="ref18">
        <label>18</label>
        <nlm-citation citation-type="confproc">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Healey</surname>
            <given-names>J</given-names>
          </name>
          <name name-style="western">
            <surname>Nachman</surname>
            <given-names>L</given-names>
          </name>
          <name name-style="western">
            <surname>Subramanian</surname>
            <given-names>S</given-names>
          </name>
          <name name-style="western">
            <surname>Shahabdeen</surname>
            <given-names>J</given-names>
          </name>
          <name name-style="western">
            <surname>Morris</surname>
            <given-names>M</given-names>
          </name>
        </person-group>
        <article-title>Out of the lab and into the fray: towards modeling emotion in everyday life</article-title>
        <year>2010</year>  
        <conf-name>Proc of the 8th International Conference on Pervasive Computing</conf-name>
        <conf-date>2010</conf-date>
        <conf-loc>Helsinki</conf-loc>
        <fpage>156</fpage>  
        <lpage>173</lpage> </nlm-citation>
      </ref>
      <ref id="ref19">
        <label>19</label>
        <nlm-citation citation-type="confproc">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Byrne</surname>
            <given-names>R</given-names>
          </name>
          <name name-style="western">
            <surname>Eslambolchilar</surname>
            <given-names>P</given-names>
          </name>
          <name name-style="western">
            <surname>Crossan</surname>
            <given-names>A</given-names>
          </name>
        </person-group>
        <article-title>Health monitoring using gait phase effects</article-title>
        <year>2010</year>  
        <conf-name>Proc of the 3rd International Conference on Pervasive Technologies Related to Assistive Environments</conf-name>
        <conf-date>2010</conf-date>
        <conf-loc>Samos</conf-loc></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>Dimeo</surname>
            <given-names>F</given-names>
          </name>
          <name name-style="western">
            <surname>Bauer</surname>
            <given-names>M</given-names>
          </name>
          <name name-style="western">
            <surname>Varahram</surname>
            <given-names>I</given-names>
          </name>
          <name name-style="western">
            <surname>Proest</surname>
            <given-names>G</given-names>
          </name>
          <name name-style="western">
            <surname>Halter</surname>
            <given-names>U</given-names>
          </name>
        </person-group>
        <article-title>Benefits from aerobic exercise in patients with major depression: a pilot study</article-title>
        <source>Br J Sports Med</source>  
        <year>2001</year>  
        <month>04</month>  
        <volume>35</volume>  
        <issue>2</issue>  
        <fpage>114</fpage>  
        <lpage>7</lpage>  
        <comment>
          <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://bjsm.bmj.com/cgi/pmidlookup?view=long&#38;pmid=11273973"/>
        </comment>  
        <pub-id pub-id-type="medline">11273973</pub-id>
        <pub-id pub-id-type="pmcid">PMC1724301</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>Fox</surname>
            <given-names>KR</given-names>
          </name>
        </person-group>
        <article-title>The influence of physical activity on mental well-being</article-title>
        <source>Public Health Nutr</source>  
        <year>1999</year>  
        <month>09</month>  
        <volume>2</volume>  
        <issue>3A</issue>  
        <fpage>411</fpage>  
        <lpage>8</lpage>  
        <pub-id pub-id-type="medline">10610081</pub-id>
        <pub-id pub-id-type="pii">S1368980099000567</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>McKercher</surname>
            <given-names>CM</given-names>
          </name>
          <name name-style="western">
            <surname>Schmidt</surname>
            <given-names>MD</given-names>
          </name>
          <name name-style="western">
            <surname>Sanderson</surname>
            <given-names>KA</given-names>
          </name>
          <name name-style="western">
            <surname>Patton</surname>
            <given-names>GC</given-names>
          </name>
          <name name-style="western">
            <surname>Dwyer</surname>
            <given-names>T</given-names>
          </name>
          <name name-style="western">
            <surname>Venn</surname>
            <given-names>AJ</given-names>
          </name>
        </person-group>
        <article-title>Physical activity and depression in young adults</article-title>
        <source>Am J Prev Med</source>  
        <year>2009</year>  
        <month>02</month>  
        <volume>36</volume>  
        <issue>2</issue>  
        <fpage>161</fpage>  
        <lpage>4</lpage>  
        <pub-id pub-id-type="doi">10.1016/j.amepre.2008.09.036</pub-id>
        <pub-id pub-id-type="medline">19062235</pub-id>
        <pub-id pub-id-type="pii">S0749-3797(08)00874-X</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>Penedo</surname>
            <given-names>FJ</given-names>
          </name>
          <name name-style="western">
            <surname>Dahn</surname>
            <given-names>JR</given-names>
          </name>
        </person-group>
        <article-title>Exercise and well-being: a review of mental and physical health benefits associated with physical activity</article-title>
        <source>Curr Opin Psychiatry</source>  
        <year>2005</year>  
        <month>03</month>  
        <volume>18</volume>  
        <issue>2</issue>  
        <fpage>189</fpage>  
        <lpage>93</lpage>  
        <pub-id pub-id-type="medline">16639173</pub-id>
        <pub-id pub-id-type="pii">00001504-200503000-00013</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>Ströhle</surname>
            <given-names>A</given-names>
          </name>
        </person-group>
        <article-title>Physical activity, exercise, depression and anxiety disorders</article-title>
        <source>J Neural Transm (Vienna)</source>  
        <year>2009</year>  
        <month>06</month>  
        <volume>116</volume>  
        <issue>6</issue>  
        <fpage>777</fpage>  
        <lpage>84</lpage>  
        <pub-id pub-id-type="doi">10.1007/s00702-008-0092-x</pub-id>
        <pub-id pub-id-type="medline">18726137</pub-id></nlm-citation>
      </ref>
      <ref id="ref25">
        <label>25</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Pilcher</surname>
            <given-names>JJ</given-names>
          </name>
          <name name-style="western">
            <surname>Ott</surname>
            <given-names>ES</given-names>
          </name>
        </person-group>
        <article-title>The relationships between sleep and measures of health and well-being in college students: a repeated measures approach</article-title>
        <source>Behav Med</source>  
        <year>1998</year>  
        <volume>23</volume>  
        <issue>4</issue>  
        <fpage>170</fpage>  
        <lpage>8</lpage>  
        <pub-id pub-id-type="doi">10.1080/08964289809596373</pub-id>
        <pub-id pub-id-type="medline">9494694</pub-id></nlm-citation>
      </ref>
      <ref id="ref26">
        <label>26</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Pilcher</surname>
            <given-names>JJ</given-names>
          </name>
          <name name-style="western">
            <surname>Ginter</surname>
            <given-names>DR</given-names>
          </name>
          <name name-style="western">
            <surname>Sadowsky</surname>
            <given-names>B</given-names>
          </name>
        </person-group>
        <article-title>Sleep quality versus sleep quantity: relationships between sleep and measures of health, well-being and sleepiness in college students</article-title>
        <source>J Psychosom Res</source>  
        <year>1997</year>  
        <month>06</month>  
        <volume>42</volume>  
        <issue>6</issue>  
        <fpage>583</fpage>  
        <lpage>96</lpage>  
        <pub-id pub-id-type="medline">9226606</pub-id>
        <pub-id pub-id-type="pii">S0022399997000044</pub-id></nlm-citation>
      </ref>
      <ref id="ref27">
        <label>27</label>
        <nlm-citation citation-type="confproc">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Chen</surname>
            <given-names>Z</given-names>
          </name>
          <name name-style="western">
            <surname>Lin</surname>
            <given-names>M</given-names>
          </name>
          <name name-style="western">
            <surname>Chen</surname>
            <given-names>F</given-names>
          </name>
          <name name-style="western">
            <surname>Lane</surname>
            <given-names>ND</given-names>
          </name>
          <name name-style="western">
            <surname>Cardone</surname>
            <given-names>G</given-names>
          </name>
          <name name-style="western">
            <surname>Wang</surname>
            <given-names>R</given-names>
          </name>
          <name name-style="western">
            <surname>Li</surname>
            <given-names>T</given-names>
          </name>
          <name name-style="western">
            <surname>Chen</surname>
            <given-names>Y</given-names>
          </name>
          <name name-style="western">
            <surname>Choudhury</surname>
            <given-names>T</given-names>
          </name>
          <name name-style="western">
            <surname>Campbell</surname>
            <given-names>AT</given-names>
          </name>
        </person-group>
        <article-title>Unobtrusive sleep monitoring using smartphones</article-title>
        <year>2013</year>  
        <conf-name>Proc of the 7th International Conference on Pervasive Computing Technologies for Healthcare (PervasiveHealth)</conf-name>
        <conf-date>2013</conf-date>
        <conf-loc>Cancun</conf-loc>
        <fpage>145</fpage>  
        <lpage>152</lpage> </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>Incel</surname>
            <given-names>OD</given-names>
          </name>
          <name name-style="western">
            <surname>Kose</surname>
            <given-names>M</given-names>
          </name>
          <name name-style="western">
            <surname>Ersoy</surname>
            <given-names>C</given-names>
          </name>
        </person-group>
        <article-title>A review and taxonomy of activity recognition on mobile phones</article-title>
        <source>Bionanoscience</source>  
        <year>2013</year>  
        <volume>3</volume>  
        <issue>2</issue>  
        <fpage>145</fpage>  
        <lpage>171</lpage>  
        <pub-id pub-id-type="doi">10.1007/s12668-013-0088-3</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>Lara</surname>
            <given-names>O</given-names>
          </name>
          <name name-style="western">
            <surname>Labrador</surname>
            <given-names>M</given-names>
          </name>
        </person-group>
        <article-title>A survey on human activity recognition using wearable sensors</article-title>
        <source>IEEE Commun Surv Tut</source>  
        <year>2012</year>  
        <volume>15</volume>  
        <issue>3</issue>  
        <fpage>1192</fpage>  
        <lpage>1209</lpage>  
        <pub-id pub-id-type="doi">10.1109/SURV.2012.110112.00192</pub-id></nlm-citation>
      </ref>
      <ref id="ref30">
        <label>30</label>
        <nlm-citation citation-type="confproc">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Lu</surname>
            <given-names>H</given-names>
          </name>
          <name name-style="western">
            <surname>Yang</surname>
            <given-names>J</given-names>
          </name>
          <name name-style="western">
            <surname>Liu</surname>
            <given-names>Z</given-names>
          </name>
          <name name-style="western">
            <surname>Lane</surname>
            <given-names>N</given-names>
          </name>
          <name name-style="western">
            <surname>Choudhury</surname>
            <given-names>T</given-names>
          </name>
          <name name-style="western">
            <surname>Campbell</surname>
            <given-names>A</given-names>
          </name>
        </person-group>
        <article-title>The jigsaw continuous sensing engine for mobile phone applications</article-title>
        <year>2010</year>  
        <conf-name>Proc of the 8th ACM Conference on Embedded Networked Sensor Systems</conf-name>
        <conf-date>2010</conf-date>
        <conf-loc>Zurich</conf-loc>
        <fpage>71</fpage>  
        <lpage>84</lpage> </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>Aharony</surname>
            <given-names>N</given-names>
          </name>
          <name name-style="western">
            <surname>Pan</surname>
            <given-names>W</given-names>
          </name>
          <name name-style="western">
            <surname>Ip</surname>
            <given-names>C</given-names>
          </name>
          <name name-style="western">
            <surname>Khayal</surname>
            <given-names>I</given-names>
          </name>
          <name name-style="western">
            <surname>Pentland</surname>
            <given-names>A</given-names>
          </name>
        </person-group>
        <article-title>Social fmri: investigating and shaping social mechanisms in the real world</article-title>
        <source>Pervasive Mob Comput</source>  
        <year>2011</year>  
        <volume>7</volume>  
        <issue>6</issue>  
        <fpage>643</fpage>  
        <lpage>659</lpage>  
        <pub-id pub-id-type="doi">10.1016/j.pmcj.2011.09.004</pub-id></nlm-citation>
      </ref>
      <ref id="ref32">
        <label>32</label>
        <nlm-citation citation-type="confproc">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Mizell</surname>
            <given-names>D</given-names>
          </name>
        </person-group>
        <article-title>Using gravity to estimate accelerometer orientation</article-title>
        <year>2003</year>  
        <conf-name>Proc of the 7th IEEE International Symposium on Wearable Computers (ISWC )</conf-name>
        <conf-date>2003</conf-date>
        <conf-loc>White Plains</conf-loc>
        <fpage>252</fpage> </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>Raudenbush</surname>
            <given-names>SW</given-names>
          </name>
          <name name-style="western">
            <surname>Bryk</surname>
            <given-names>AS</given-names>
          </name>
        </person-group>
        <source>Hierarchical linear models: Applications and data analysis methods</source>  
        <year>2002</year>  
        <publisher-loc>Thousand Oaks</publisher-loc>
        <publisher-name>Sage</publisher-name></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>Barr</surname>
            <given-names>DJ</given-names>
          </name>
          <name name-style="western">
            <surname>Levy</surname>
            <given-names>R</given-names>
          </name>
          <name name-style="western">
            <surname>Scheepers</surname>
            <given-names>C</given-names>
          </name>
          <name name-style="western">
            <surname>Tily</surname>
            <given-names>HJ</given-names>
          </name>
        </person-group>
        <article-title>Random effects structure for confirmatory hypothesis testing: Keep it maximal</article-title>
        <source>J Mem Lang</source>  
        <year>2013</year>  
        <month>04</month>  
        <volume>68</volume>  
        <issue>3</issue>  
        <comment>
          <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://europepmc.org/abstract/MED/24403724"/>
        </comment>  
        <pub-id pub-id-type="doi">10.1016/j.jml.2012.11.001</pub-id>
        <pub-id pub-id-type="medline">24403724</pub-id>
        <pub-id pub-id-type="pmcid">PMC3881361</pub-id></nlm-citation>
      </ref>
      <ref id="ref35">
        <label>35</label>
        <nlm-citation citation-type="web">
        <person-group person-group-type="author">
          <collab>R Core Team</collab>
        </person-group>
        <source>R-project</source>  
        <year>2013</year>  
        <access-date>2017-09-07</access-date>
        <comment>R: a language and environment for statistical computing 
        <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="https://www.r-project.org/">https://www.r-project.org/</ext-link>
        <ext-link ext-link-type="webcite" xlink:href="6tIUaTbQB"/></comment> </nlm-citation>
      </ref>
      <ref id="ref36">
        <label>36</label>
        <nlm-citation citation-type="web">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Bates</surname>
            <given-names>D</given-names>
          </name>
          <name name-style="western">
            <surname>Maechler</surname>
            <given-names>M</given-names>
          </name>
          <name name-style="western">
            <surname>Bolker</surname>
            <given-names>B</given-names>
          </name>
          <name name-style="western">
            <surname>Walker</surname>
            <given-names>S</given-names>
          </name>
        </person-group>
        <source>cran.r-project</source>  
        <year>2014</year>  
        <access-date>2017-09-07</access-date>
        <comment>lme4: Linear mixed-effects models using eigen and s4 
        <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="https://cran.r-project.org/">https://cran.r-project.org/</ext-link>
        <ext-link ext-link-type="webcite" xlink:href="6tIVbxo1m"/></comment> </nlm-citation>
      </ref>
      <ref id="ref37">
        <label>37</label>
        <nlm-citation citation-type="web">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Kuznetsova</surname>
            <given-names>A</given-names>
          </name>
          <name name-style="western">
            <surname>Brockho</surname>
            <given-names>P</given-names>
          </name>
          <name name-style="western">
            <surname>Christensen</surname>
            <given-names>R</given-names>
          </name>
        </person-group>
        <source>cran.r-project</source>  
        <year>2014</year>  
        <access-date>2017-09-07</access-date>
        <comment>lmerTest: Tests in Linear Mixed Effects Models 
        <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="https://cran.r-project.org/">https://cran.r-project.org/</ext-link>
        <ext-link ext-link-type="webcite" xlink:href="6tIVkhOw4"/></comment> </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>Cortes</surname>
            <given-names>C</given-names>
          </name>
          <name name-style="western">
            <surname>Vapnik</surname>
            <given-names>V</given-names>
          </name>
        </person-group>
        <article-title>Support-vector networks</article-title>
        <source>Mach Learn</source>  
        <year>1995</year>  
        <volume>20</volume>  
        <issue>3</issue>  
        <fpage>273</fpage>  
        <lpage>97</lpage>  
        <pub-id pub-id-type="doi">10.1023/A:1022627411411</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>Breiman</surname>
            <given-names>L</given-names>
          </name>
        </person-group>
        <article-title>Random forests</article-title>
        <source>Mach Learn</source>  
        <year>2001</year>  
        <volume>45</volume>  
        <issue>1</issue>  
        <fpage>5</fpage>  
        <lpage>32</lpage>  
        <pub-id pub-id-type="doi">10.1023/A:101093340</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>Zou</surname>
            <given-names>H</given-names>
          </name>
          <name name-style="western">
            <surname>Hastie</surname>
            <given-names>T</given-names>
          </name>
        </person-group>
        <article-title>Regularization and variable selection via the elastic net</article-title>
        <source>J R Stat Soc Series B Stat Methodol</source>  
        <year>2005</year>  
        <volume>67</volume>  
        <issue>2</issue>  
        <fpage>301</fpage>  
        <lpage>320</lpage>  
        <pub-id pub-id-type="doi">10.1111/j.1467-9868.2005.00503.x</pub-id></nlm-citation>
      </ref>
      <ref id="ref41">
        <label>41</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>Varoquaux</surname>
            <given-names>G</given-names>
          </name>
          <name name-style="western">
            <surname>Gramfort</surname>
            <given-names>A</given-names>
          </name>
          <name name-style="western">
            <surname>Michel</surname>
            <given-names>V</given-names>
          </name>
          <name name-style="western">
            <surname>Thirion</surname>
            <given-names>B</given-names>
          </name>
          <name name-style="western">
            <surname>Grisel</surname>
            <given-names>O</given-names>
          </name>
          <name name-style="western">
            <surname>Blondel</surname>
            <given-names>M</given-names>
          </name>
          <name name-style="western">
            <surname>Prettenhofer</surname>
            <given-names>P</given-names>
          </name>
          <name name-style="western">
            <surname>Weiss</surname>
            <given-names>R</given-names>
          </name>
          <name name-style="western">
            <surname>Dubourg</surname>
            <given-names>V</given-names>
          </name>
        </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> </nlm-citation>
      </ref>
      <ref id="ref42">
        <label>42</label>
<nlm-citation citation-type="journal"> <person-group person-group-type="author"> <name name-style="western"> <surname>DeMasi</surname> <given-names>O</given-names> </name> <name name-style="western"> <surname>Kording</surname> <given-names>K</given-names> </name> <name name-style="western"> <surname>Recht</surname> <given-names>B</given-names> </name> </person-group> <article-title>Meaningless comparisons lead to false optimism in medical machine learning</article-title> <source>CoRR</source> <year>2017</year> <volume>abs/1707.06289</volume> <comment><ext-link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://arxiv.org/abs/1707.06289"/></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>Kempthorne</surname>
            <given-names>O</given-names>
          </name>
          <name name-style="western">
            <surname>Doerfler</surname>
            <given-names>TE</given-names>
          </name>
        </person-group>
        <article-title>The behaviour of some significance tests under experimental randomization</article-title>
        <source>Biometrika</source>  
        <year>1969</year>  
        <volume>56</volume>  
        <issue>2</issue>  
        <fpage>231</fpage>  
        <lpage>248</lpage>  
        <pub-id pub-id-type="doi">10.1093/biomet/56.2.231</pub-id></nlm-citation>
      </ref>
      <ref id="ref44">
        <label>44</label>
        <nlm-citation citation-type="confproc">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Smucker</surname>
            <given-names>M</given-names>
          </name>
          <name name-style="western">
            <surname>Allan</surname>
            <given-names>J</given-names>
          </name>
          <name name-style="western">
            <surname>Carterette</surname>
            <given-names>B</given-names>
          </name>
        </person-group>
        <article-title>A comparison of statistical significance tests for information retrieval evaluation</article-title>
        <year>2007</year>  
        <conf-name>Proc of the 16th ACM Conference on Information and Knowledge Management</conf-name>
        <conf-date>2007</conf-date>
        <conf-loc>Lisbon</conf-loc>
        <fpage>623</fpage>  
        <lpage>632</lpage> </nlm-citation>
      </ref>
      <ref id="ref45">
        <label>45</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Aguilera</surname>
            <given-names>A</given-names>
          </name>
          <name name-style="western">
            <surname>Schueller</surname>
            <given-names>SM</given-names>
          </name>
          <name name-style="western">
            <surname>Leykin</surname>
            <given-names>Y</given-names>
          </name>
        </person-group>
        <article-title>Daily mood ratings via text message as a proxy for clinic based depression assessment</article-title>
        <source>J Affect Disord</source>  
        <year>2015</year>  
        <month>04</month>  
        <day>1</day>  
        <volume>175</volume>  
        <fpage>471</fpage>  
        <lpage>4</lpage>  
        <comment>
          <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://europepmc.org/abstract/MED/25679202"/>
        </comment>  
        <pub-id pub-id-type="doi">10.1016/j.jad.2015.01.033</pub-id>
        <pub-id pub-id-type="medline">25679202</pub-id>
        <pub-id pub-id-type="pii">S0165-0327(15)00037-3</pub-id>
        <pub-id pub-id-type="pmcid">PMC4352380</pub-id></nlm-citation>
      </ref>
      <ref id="ref46">
        <label>46</label>
        <nlm-citation citation-type="journal">
        <person-group person-group-type="author">
          <name name-style="western">
            <surname>Teychenne</surname>
            <given-names>M</given-names>
          </name>
          <name name-style="western">
            <surname>Ball</surname>
            <given-names>K</given-names>
          </name>
          <name name-style="western">
            <surname>Salmon</surname>
            <given-names>J</given-names>
          </name>
        </person-group>
        <article-title>Physical activity and likelihood of depression in adults: a review</article-title>
        <source>Prev Med</source>  
        <year>2008</year>  
        <month>05</month>  
        <volume>46</volume>  
        <issue>5</issue>  
        <fpage>397</fpage>  
        <lpage>411</lpage>  
        <pub-id pub-id-type="doi">10.1016/j.ypmed.2008.01.009</pub-id>
        <pub-id pub-id-type="medline">18289655</pub-id>
        <pub-id pub-id-type="pii">S0091-7435(08)00047-9</pub-id></nlm-citation>
      </ref>
    </ref-list>
  </back>
</article>
