<?xml version="1.0" encoding="UTF-8"?>
<TEI xml:space="preserve" xmlns="http://www.tei-c.org/ns/1.0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.tei-c.org/ns/1.0 https://raw.githubusercontent.com/kermitt2/grobid/master/grobid-home/schemas/xsd/Grobid.xsd"
 xmlns:xlink="http://www.w3.org/1999/xlink">
	<teiHeader xml:lang="en">
		<fileDesc>
			<titleStmt>
				<title level="a" type="main">Improving Sleeping Habits: Preliminary Experiments in Barcelona and Lleida</title>
			</titleStmt>
			<publicationStmt>
				<publisher/>
				<availability status="unknown"><licence/></availability>
			</publicationStmt>
			<sourceDesc>
				<biblStruct>
					<analytic>
						<author>
							<persName><forename type="first">Eloisa</forename><surname>Vargiu</surname></persName>
							<affiliation key="aff0">
								<orgName type="department" key="dep1">Eurecat</orgName>
								<orgName type="department" key="dep2">Centre Tecnlogic</orgName>
								<orgName type="institution">eHealth Unit</orgName>
								<address>
									<settlement>Barcelona</settlement>
									<country key="ES">Spain</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">−</forename><surname>628x</surname></persName>
						</author>
						<author>
							<persName><forename type="first">Carme</forename><surname>Zambrana</surname></persName>
							<affiliation key="aff0">
								<orgName type="department" key="dep1">Eurecat</orgName>
								<orgName type="department" key="dep2">Centre Tecnlogic</orgName>
								<orgName type="institution">eHealth Unit</orgName>
								<address>
									<settlement>Barcelona</settlement>
									<country key="ES">Spain</country>
								</address>
							</affiliation>
						</author>
						<author role="corresp">
							<persName><forename type="first">Adriano</forename><surname>Targa</surname></persName>
							<email>adrianotargads@gmail.com</email>
							<affiliation key="aff1">
								<orgName type="department">Institut de Recerca Biomedica (IRBlleida)</orgName>
								<address>
									<settlement>Lleida</settlement>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Ferran</forename><surname>Barbe</surname></persName>
							<affiliation key="aff1">
								<orgName type="department">Institut de Recerca Biomedica (IRBlleida)</orgName>
								<address>
									<settlement>Lleida</settlement>
								</address>
							</affiliation>
							<affiliation key="aff2">
								<orgName type="institution">CIBERES</orgName>
								<address>
									<settlement>Madrid</settlement>
									<country key="ES">Spain</country>
								</address>
							</affiliation>
						</author>
						<title level="a" type="main">Improving Sleeping Habits: Preliminary Experiments in Barcelona and Lleida</title>
					</analytic>
					<monogr>
						<imprint>
							<date/>
						</imprint>
					</monogr>
					<idno type="MD5">EB77E82F7812FAF7B9F765041BEA9311</idno>
				</biblStruct>
			</sourceDesc>
		</fileDesc>
		<encodingDesc>
			<appInfo>
				<application version="0.7.2" ident="GROBID" when="2023-03-25T05:16+0000">
					<desc>GROBID - A machine learning software for extracting information from scholarly documents</desc>
					<ref target="https://github.com/kermitt2/grobid"/>
				</application>
			</appInfo>
		</encodingDesc>
		<profileDesc>
			<textClass>
				<keywords>
					<term>Sleeping activity</term>
					<term>Life-style</term>
					<term>Activity monitoring</term>
					<term>Environmental monitoring</term>
				</keywords>
			</textClass>
			<abstract>
<div xmlns="http://www.tei-c.org/ns/1.0"><p>Due to intrinsic (e.g., daily-life habits) and extrinsic (e.g., environmental change) factors, people are far to have a healthy life and, thus, there is an increase of chronic diseases, mental disorders, and premature death. In this paper, we propose a solution to improve lifestyle habits in terms of sleeping activity through an intelligent system that monitors the sleeping and further habits together with environmental data and provides personalized recommendations and nudges. Our solution aims to study how to improve sleeping habits of citizens, investigating if and how the environment impacts the sleeping activity, as well as how it may be influenced by bad lifestyle habits. To perform a feasibility study of the proposed solution, on May we started recruiting volunteers in Barcelona (from Eurecat) and in Lleida (from IRBLleida).</p><p>Volunteers were asked to wear their activity tracker 24/7, to weight once a week, and to answer the selected questionnaires at the end of the week. The day of the inclusion, we also took note of the comfort of the bed of each volunteer, as well as her/his address to take into consideration the environmental factors. Preliminary experiments clearly show the need for improving sleeping habits in the population and, thus, of intelligent solutions like the one presented in this paper.</p></div>
			</abstract>
		</profileDesc>
	</teiHeader>
	<text xml:lang="en">
		<body>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">Introduction</head><p>To live longer, healthier and more active, people at any age must follow simple and clear suggestions that cover the 3 main pillars of health: nutrition, physical-, and sleeping-activity. Unfortunately, due to the intrinsic (e.g., dailylife habits) and extrinsic (e.g., environmental change) factors, people are far to have a healthy life and, thus, there is an increase of chronic diseases, mental disorders, and premature death. While a lot of effort has been done to support good habits on nutrition providing personalized diet and continuous follow-up and to encourage and monitor physical activity, sleeping activity is still an untaught and unconsidered problem. In this paper, we propose a solution aimed at improving sleeping habits through an intelligent system that monitors the sleeping activity together with environmental data and lifestyle habits and provides personalized recommendations and nudges. In particular, the proposed system focuses on the following research questions: Q1 How we may improve sleeping habits of citizens? Q2 How the environment influences and impacts the sleeping activity of citizens? Q3 How bad lifestyle habits influence and impact the sleeping activity of citizens?</p><p>The work presented in this paper is part of the CarpeDiem project (Collaborative and Adaptive Recommender for PErsonalized DIEt Management), aimed at providing intelligent and automatic support to people who want to follow a diet to lose weight, or to maintain a healthy lifestyle (in a comprehensive way, taking into account nutrition, physical activity, and sleep). CarpeDiem target users are elderly people who need to follow healthy habits, including sleeping better.</p><p>To study the feasibility of the solution and to start creating the machinelearning models that will allow to send personalized recommendations to the final users, on May we started collecting data from volunteers in Barcelona and Lleida (Spain). Accordingly, in this paper we present the overall idea of the solution, currently under development, and the preliminary experiments performed to study its feasibility.</p><p>The rest of the paper is organized as follow. Section 2 illustrates the underlying problem and its relevance for the population. In Section 3, we describe the overall solution for monitoring sleeping activity, environmental data, and lifestyle habits. Section 4 presents the preliminary experiments we made in Barcelona and Lleida with volunteers. Finally, Section 5 ends the paper with conclusions and future directions.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">The Problem</head><p>The Center for Disease Control and Prevention (CDC) in the United States, within the Healthy People 2020 policy, has considered that sleeping little is a public health problem. In fact, according to a recent CDC study, more than a third of adult Americans do not get enough sleep on a regular basis <ref type="bibr" target="#b6">[7]</ref>. Insufficient sleep is not exclusively a problem of the United States, it also affects other industrialized countries such as the United Kingdom, Japan, Germany, or Canada <ref type="bibr" target="#b0">[1]</ref>. Regarding Catalonia, the average number of hours of the overall population is 7.1 hours at night, very close to the lower limit recommended by clinicians (i.e., 7 hours at night). At Catalan level, a survey made in 2015 <ref type="bibr" target="#b2">[3]</ref> performed using the SATED questionnaire <ref type="bibr" target="#b1">[2]</ref> confirms that sleeping duration is age dependent. Moreover, they found that the SATED score is lower for elderly people than citizens of other age groups, meaning that their sleep is worse.</p><p>According to recent studies, the proportion of people who sleep less than the recommended hours (i.e., between 7 and 9) continuously increases and it is associated to lifestyle factors related to a modern society, such as psycho-social stress, unbalanced diet, lack of physical activity, and excessive use of electronic media, among others <ref type="bibr" target="#b7">[8]</ref>. This is alarming since it has been found that lack of sleep is associated with negative social and health outcomes.</p><p>The association of lack of sleep with a series of negative social and health outcomes is becoming worrisome. Insufficient sleep duration has been linked to seven of the fifteen leading causes of death in the United States. The existing evidence suggests that the relationship between sleep time and health, outside of the normal window (7-9 hours), both below and above, is associated with a high risk of stroke, coronary heart disease, hypertension, obesity, type 2 diabetes and mortality <ref type="bibr" target="#b10">[11]</ref>  <ref type="bibr" target="#b11">[12]</ref>. For instance, Gallicchio and Kalesan <ref type="bibr" target="#b4">[5]</ref> report that the combined relative risk (RR) for all-cause mortality for sleep insufficiency is 1.10 (95% CI = [1.06, 1.15]).</p><p>The link between sleep duration and mortality represents that a citizen who sleeps on average less than 6 hours per night has a mortality risk 13% higher than an individual who sleeps between 7 and 9 hours, which is the window that is considered as the healthy amount of sleep. Furthermore, a person who sleeps between 6 and 7 hours per night has a 7% increased risk of death, including all causes of death such as fatal car accidents, strokes, cancer, or cardiovascular disease.</p><p>Finally, sleeping insufficient time reduces productivity in the workplace: workers who sleep less than 6 hours per day have an average productivity loss of more than 2.4 percentage points due to absenteeism, calculated on those workers who sleep between 7 and 9 per day. Those who sleep on average between 6 and 7 hours continue to generate a loss of productivity greater than 1.5 percentage points compared to those of seven to nine hours. To put these numbers in perspective, assuming that there are 250 business days in a given year, this means that a worker who sleeps less than 6 hours loses about 6 business days per year more than a worker who sleeps 7 to 9 hours. A person sleeping for 6 to 7 hours loses an average of 3.7 more business days per year <ref type="bibr" target="#b8">[9]</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">The Proposed Solution</head><p>The aim of this work is improving sleeping habits in the population. Thus, we propose an automatic and intelligent system that empowers and supports the citizens giving them personalized recommendations and nudges. In order to ensure a clinical relevance, the actual set of recommendations and nudges will be defined by the clinical personnel. Personalization will be then reached by monitoring the citizens and studying their usual behavior.</p><p>Three main categories of factors that impact sleeping habits will be considered:</p><p>1. number of hours; 2. sleep efficiency, calculated as the ratio between the number of slept hours and the total number of hours in bed per night; 3. the satisfaction of the citizen about her/his sleep calculated through the standard questionnaire SATED. The proposed solution, sketched in Figure <ref type="figure" target="#fig_0">1</ref>, works with a set of data coming from different sources:</p><p>-The citizen wears a wristband 24/7 and the sleep activity is monitored in terms of: total number of sleeping hours, number of sleeping hours during the night, number of the sleeping hours during the day, number of naps, time when going to sleep, wake-up time, and sleep efficiency. Moreover, the data regarding the physical activity in terms of total number of steps and vigorous activity before going to sleep are constantly monitored. -The citizen is asked to monitor her/his weight once a week in order to take under control her/his Body Mass Index (BMI) and to avoid reaching obesity.</p><p>-To build the user's profiles, the day of the inclusion, the citizen is asked to answer to some questionnaires regarding her/his life-style habits. The following questionnaires will be used: SATED, about the satisfaction of the citizen regarding her/his sleep; Caffeine, regarding the number of cups of coffee or teas drunk on average during the week; Smoke, on the number of cigarettes smoked on average during the week; and Use of technology, concerning the number of minutes spent on average using the smartphone or a tablet before going to sleep. -The smartphone of the citizen is used to detect the luminosity of the bedroom during the sleeping time.</p><p>-The citizen will be asked regarding the comfort of the bed, since especially vulnerable or at risk citizens often sleep on truly old or uncomfortable beds. -To be aware regarding seasonality, daylight hours, and further environmental data, we will rely to the Dark Sky API the Open Data service by the Barcelona Municipality (Open Data BCN) will be used <ref type="foot" target="#foot_1">5</ref> .</p><p>The system will collect and fuse the heterogeneous data coming from all the data sources and, through machine learning techniques, will build the models to cluster and classify citizens according to their habits.</p><p>First, the profile of the citizen is calculated adopting data mining and machine learning approaches relying on Knowledge Data Discovery (KDD) models <ref type="bibr" target="#b3">[4]</ref> as well as User Data Discovery (UDD) models <ref type="bibr" target="#b5">[6]</ref>. A static profile will be created considering gender and age together with data coming from the questionnaires. That profile will be dynamically and continuously updated by considering the data gathered from the wristband, the changes in the BMI, if any, and the environmental data.</p><p>Once built the profile, the citizen will be automatically clustered according to fixed groups of habits defined considering the intersections among the three categories: number of sleeping hours (less than 7 hours, between 7 and 9 hours, more than 9 hours), sleep efficiency (less than 50%, between 50% and 95%, more than 95%), and satisfaction about the sleep (by using the 5 levels of the SATED questionnaire: 1 = Never, 2 = Rarely, 3 = Sometimes, 4 = Usually, 5 = Always). For each cluster, the clinicians will define a suitable set of recommendations and nudges with the final goal of moving all the citizens in the healthiest cluster, corresponding to a number of hours between 7 and 9, a sleep efficiency higher than 95%, and a satisfaction of 5 (i.e., always satisfied). In the case a citizen does not belong to that cluster because s/he is not compliant with one or more of the categories, the system asks to choose the category s/he wants to improve (monthly goal).</p><p>Recommendations and nudges will be sent to the citizen on daily (shortterm), weekly (medium-term), and monthly (long-term) basis. Recommendations and nudges on daily basis will be based on the number of slept hours, the efficiency, the performed physical activity, and will take into account anomalies in environmental factors specific of the considered day (e.g., high temperatures). Taking particular reference to the category the citizen wants to improve, on weekly basis the system will send specific questions or request of filling a questionnaire in case of anomalies (e.g., in case of a decrease of the number of hours, the Caffeine questionnaire may be sent to be filled). Finally, monthly based ones will take into account the changes in habits during the month, the change from a cluster to another, if any, and will consider similarities among citizens in order to send recommendations and nudges according to a collaborative filtering approach <ref type="bibr" target="#b9">[10]</ref>. At monthly basis the citizen will be also asked to confirm or change the category s/he want to improve, depending on the results of the past month.</p><p>From a technological point of view, the citizen will interact with the system through a simple and user-friendly app installed in her/his smartphone and that will automatically send recommendations and nudges as push notifications. Through the app, the citizen will be also able to set-up her/his profile, answer questionnaires, pair her/his smartphone and smart-scale (if any), or to manually input the weight (e.g., after weighting at the pharmacy). The app will also allow to capture the luminosity of the bedroom during the sleeping hours.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">Preliminary Experiments</head><p>The success of the proposed solution strictly depends on the gathered data. In fact, profiling, recommendations and nudges definition, clustering, and personalization cannot be achieved without a preliminary phase in which data are collected and used to build all the models. Thus, we started on May recruiting volunteers in Barcelona (from Eurecat) and in Lleida (from IRBLleida) to profile the users and to study the feasibility of the proposed solution.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1">The Collected Dataset</head><p>A total of 30 volunteers has been recruited in Barcelona and Lleida. Volunteers were asked to wear their activity tracker 24/7, to weight once a week, and to answer the selected questionnaires at the end of the week. The day of the inclusion, we also took note of the comfort of the bed of each volunteer, as well as her/his address to take into consideration the environmental factors.</p><p>Due to technical problems and adherence issues, 6 of the 30 volunteers dropped-out before finishing the first month of the study. Thus, the analysis of the data have been done using the data of 24 volunteers (38.43 ± 11.46 years old; 15 females; and 23.09 ± 3.66 BMI). The preliminary study started on May and will finish in December. At inclusion time, we first analysed the distribution of our population among the three categories:</p><p>-Sleeping Hours Figure <ref type="figure" target="#fig_1">2</ref> shows the percentage of volunteers in each group for the three categories. As shown, all the volunteers slept less than 7 hours, which, as stated above, is risky for their health. Regarding the efficiency, the 70% of the volunteers are in the healthiest group, whereas the 30% are in the group between 50% and 95%. As for the satisfaction, the majority of the volunteers answered sometimes or normally with about 40% of the answers in each. The rest of the volunteers are in the Always group (about 8%) and in the Rarely one (only a 4%). It is worth noting that nobody belongs to the Never group. This first analysis performed at inclusion time shows the need of the proposed solution to improve sleeping Fig. <ref type="figure">3</ref>. Distribution of the volunteers in the following four sets: less than 25% of the weeks in the recommended group, between 25% and 50% of the weeks in the recommended group, between 50% and 75% of the weeks in the recommended group, and more than 75% of the weeks in the recommended group.</p><p>habits with the final goal to move the volunteers to the healthiest group of each category, specially in case of Sleeping Hours and Satisfaction.</p><p>As a second step, for each category, we computed the percentage of weeks that each volunteer belonged to the healthiest group. To better visualise the distribution, for each category we considered four sets (see Figure <ref type="figure">3</ref>): less than 25% of the weeks, between 25% and 50% of the weeks, between 50% and 75% of the weeks, and more than 75% of the weeks. As shown, the majority of the volunteers are in the set less than 25% of the weeks for all the categories: about 58% for Sleeping Hours, 41% for Efficiency, and 91% for Satisfactions. Results clearly show that there is a urgent need for a solution to improve sleeping activity of citizens considering all the three categories. In fact, at least in our population, the percentage of people that sleeps the right number of hours, with a high efficiency, and is satisfied of their sleep is very low (about 16%, 20%, and 4% for Sleeping Hours, Efficiency, and Satisfactions, respectively).</p><p>Finally, we analysed the dynamics of the changes among groups in a monthly basis. To visualize it a Sankey Diagram is used: the left column display the groups from which the volunteer moved and the right column the groups to which the volunteer moved. The links between them are represented with arcs that have a width proportional to the number of times this transition occurred.</p><p>Figure <ref type="figure" target="#fig_2">4</ref> shows the dynamics of the Sleeping Hours category. As shown, all the volunteers are in the groups less than 7h and between 7h and 9h, being the majority of them in the first group (about 72%). The volunteers tend to stay in the same group. Only a small percentage changed from less than 7h to between 7h and 9h (about 11%), and vice versa (about 27%). In this case, the proposed solution will give support to move all the volunteers from the less than 7h to the between 7h and 9h group. It is worth noting that, once a volunteer reaches the healthiest group, the system will give support to do not change the group.</p><p>Figure <ref type="figure" target="#fig_3">5</ref> shows the dynamics of the Efficiency category. As shown, all the volunteers are in the groups between 50% and 95% and more than 95%, and they are balanced (about 51% and 49%, respectively). In this case, the tendency is either stay in the same group (about 60%) or change to the other one (about 40%). Seemly to the Sleeping hours category, our system will work to change this dynamic and move all the volunteers from between 50% and 95% group to the more than 95% one. Once a volunteer reaches the healthiest group, s/he will be supported by the system to stay in it.</p><p>Figure <ref type="figure" target="#fig_4">6</ref> shows the dynamics of the Satisfaction category. As shown, the majority of the volunteers are in the groups Sometimes and Normally (about the same number in each, i.e. 43% and 49%, respectively), and a small percentage in the group Rarely (about 8%). The volunteers from the Rarely group used to stay in the same group (about 67%) or to move to the Normally one (about 33%). On the contrary, volunteers belonging to Sometimes and Normally groups move to their consecutive groups: Rarely, Sometimes, and Normally (about 12%, 47% and 41%, respectively) and Sometimes, Normally and Always (about 26%, 68% and 5%, respectively), respectively. Let us note that, only volunteers from the Normally group moves to the Always one (about 5%) <ref type="foot" target="#foot_2">6</ref> .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2">Daily Monitoring</head><p>Recommendations and nudges on daily basis will be based on the number of slept hours, the efficiency, the performed physical activity, and will take into account anomalies in environmental factors specific of the considered day (e.g., high temperatures).</p><p>The aim of our system is to encourage the user to Keep going if s/he is improving with respect to "yesterday" or suggests to Keep following the recommendation to improve in case of worsening. Recommendations could be provided with respect to the sleeping habits (e.g., You should go to sleep every night at the same hour and before 12 am) and/or the performed physical activity (e.g., Do not perform high-intensity exercises 2 hours before going to sleep). Regarding the environmental factors, the system informs: when the city is suffering from high temperature and suggests to the user to keep the bedroom temperature to the recommended one (between 16-18 • C); when the air quality is low and suggests the user to not perform vigorous activity outdoors; and when the noise level of her/his street is too high and suggests to keep closed the windows during night.   <ref type="figure">7</ref> shows an example of collected data of a volunteer (52 years old; male and who lives in Barcelona) and potential messages that the proposed system should send to the final user. Let us note that during the selected days (the week from June 24th to June, 30th) a high temperature was measured in Barcelona.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.3">Weekly Check-Up</head><p>In order to support the user in changing her/his sleeping habits, the proposed system will compute a summary, weekly. Based on it, nudges and recommendations will be provided. In case a change greater than ±2 hours, 5% in efficiency, and/or ±3 points in satisfaction is detected, the system will send a requests to fill the questionnaires in order to recalculate the profile and find potential anomalies that could have affected the sleeping activity. Figure <ref type="figure" target="#fig_6">8</ref> shows an example of 3 consecutive weeks of a volunteer (26 years old; female): her evolution in terms of the three categories and the suggested messages to give her support.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.4">Monthly Clustering</head><p>At the beginning of a new month, the system analyses all the collected data to cluster the users considering the three selected categories. In so doing, the system verifies if the user changed the cluster s/he belongs to, or not. In case of a positive change, the system sends an awards to the user and suggests the new goal to be Fig. <ref type="figure">7</ref>. Example of daily monitoring during a week in which in Barcelona a high temperature was measured.</p><p>followed during then next month. In case of a negative change or not changing, the system recommends to still work on the same goal during the next month. In both cases, the users can accept or reject the received suggestion and choose the goal to be achieved. Figure <ref type="figure" target="#fig_7">9</ref> shows an example of 2 consecutive months for a volunteer (26 years old; female) in which efficiency has been improved while the satisfaction still needs to be enhanced.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5">Conclusions and Future Work</head><p>In this paper, we presented a novel solution aimed at improving sleeping activities. Although the research and development is at its early stage, the feasibility study performed right now shows how the research questions listed in the Introduction will be addressed.</p><p>Q1. How we may improve sleeping habits of citizens? The proposed solution is a recommender system that will be built according to clinical evidence and with the supervision of the clinical team of the Sleep Unit at the IRB in Lleida. The overall set of recommendations and nudges will be defined by clinicians of that Unit and will be fully personalized according to the typology of the final user. The system will automatically send the recommendations and nudges to the citizens on daily base (short-term recommendations), on weekly base (medium-term recommendations), and on monthly base (long-term recommendations).</p><p>Q2: How the environment influences and impacts the sleeping activity of citizens? It has been shown in the literature that the main environmental factors that influence and impact the sleeping activity are: daylight hours, seasonality, luminosity, humidity, pollution, noise, and comfort of the bed. The proposed solution will consider all these factors, their influence on sleeping, and will define recommendations taking into account the peculiarities of each citizen according to the environment in which s/he lives.</p><p>Q3: How bad lifestyle habits influence and impact the sleeping activity of citizens? Having bad lifestyle habits has an impact on the overall sleeping activity. In particular, clinicians recommend to not perform the following tasks just before going to bed: take a coffee, smoke, eat, perform vigorous physical activity, and use the smartphone or a tablet. In addition, citizens have to control their weight, in order to avoid obesity which could cause sleeping problems. The final system will send recommendations and nudges on this kind of tasks to improve citizens behavior and will sporadically monitor coffee intake, smoking, eating, and smartphone usage, in case of detected anomalies with respect to the usual sleeping behavior. Moreover, physical activity will be continuously monitored and suitable suggestions given accordingly. As for the future work, as soon as 6 months of data will be collected from all the volunteers, we will build the models for sending daily, weekly, and monthly recommendations and nudges. Clinicians in IRBLleida are currently working on the definition of them. At the beginning of next year, the system will be integrated in the CarpeDiem app and the pilot will start with new volunteers from both Barcelona and Lleida, as well as further towns in the Catalonia Region.</p></div><figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_0"><head>Fig. 1 .</head><label>1</label><figDesc>Fig. 1. The proposed solution at a glance.</figDesc><graphic coords="4,134.77,270.06,345.84,216.81" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_1"><head>Fig. 2 .</head><label>2</label><figDesc>Fig. 2. Distribution of the volunteers in each group for the three categories (Sleeping Hours, Efficiency and Satisfaction) at inclusion time.</figDesc><graphic coords="7,134.77,115.83,345.83,172.92" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_2"><head>Fig. 4 .</head><label>4</label><figDesc>Fig. 4. Dynamics of the Sleeping Hours category.</figDesc><graphic coords="9,134.77,115.84,345.84,230.56" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_3"><head>Fig. 5 .</head><label>5</label><figDesc>Fig. 5. Dynamics of the Efficiency category.</figDesc><graphic coords="10,134.77,115.84,345.84,230.56" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_4"><head>Fig. 6 .</head><label>6</label><figDesc>Fig. 6. Dynamics of the Satisfaction category.</figDesc><graphic coords="11,134.77,115.84,345.84,230.56" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_5"><head>Figure</head><label></label><figDesc>Figure 7  shows an example of collected data of a volunteer (52 years old; male and who lives in Barcelona) and potential messages that the proposed system should send to the final user. Let us note that during the selected days (the week from June 24th to June, 30th) a high temperature was measured in Barcelona.</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_6"><head>Fig. 8 .</head><label>8</label><figDesc>Fig. 8. Example of weekly check-up and messages during 3 consecutive weeks.</figDesc><graphic coords="13,134.77,115.83,345.82,201.81" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_7"><head>Fig. 9 .</head><label>9</label><figDesc>Fig. 9. Example of monthly clustering during 2 consecutive months.</figDesc><graphic coords="14,134.77,115.83,345.83,136.72" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0"><head></head><label></label><figDesc></figDesc><graphic coords="8,134.77,115.83,345.83,172.92" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0"><head></head><label></label><figDesc></figDesc><graphic coords="12,134.77,115.84,345.82,293.39" type="bitmap" /></figure>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="4" xml:id="foot_0">https://darksky.net/dev</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="5" xml:id="foot_1">https://opendata-ajuntament.barcelona.cat/en/</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="6" xml:id="foot_2">The group Always appears only in the right column because the month which a volunteer was in the group Always was the last one of the study</note>
		</body>
		<back>

			<div type="acknowledgement">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6">Acknowledgments</head><p>This work was financially supported by the Catalan Government through the funding grant ACCI-Eurecat (CarpeDiem project).</p></div>
			</div>

			<div type="references">

				<listBibl>

<biblStruct xml:id="b0">
	<analytic>
		<title level="a" type="main">Does nighttime exercise really disturb sleep? results from the 2013 national sleep foundation sleep in america poll</title>
		<author>
			<persName><forename type="first">M</forename><forename type="middle">P</forename><surname>Buman</surname></persName>
		</author>
		<author>
			<persName><forename type="first">B</forename><forename type="middle">A</forename><surname>Phillips</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><forename type="middle">D</forename><surname>Youngstedt</surname></persName>
		</author>
		<author>
			<persName><forename type="first">C</forename><forename type="middle">E</forename><surname>Kline</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Hirshkowitz</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Sleep Medicine</title>
		<imprint>
			<biblScope unit="volume">15</biblScope>
			<biblScope unit="issue">7</biblScope>
			<biblScope unit="page" from="755" to="761" />
			<date type="published" when="2014">2014</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b1">
	<analytic>
		<title level="a" type="main">Sleep health: can we define it? does it matter?</title>
		<author>
			<persName><forename type="first">D</forename><forename type="middle">J</forename><surname>Buysse</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Sleep</title>
		<imprint>
			<biblScope unit="volume">37</biblScope>
			<biblScope unit="issue">1</biblScope>
			<biblScope unit="page" from="9" to="17" />
			<date type="published" when="2014">2014</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b2">
	<analytic>
		<title level="a" type="main">Assessing sleep health in a european population: Results of the catalan health survey 2015</title>
		<author>
			<persName><forename type="first">M</forename><surname>Dalmases</surname></persName>
		</author>
		<author>
			<persName><forename type="first">I</forename><forename type="middle">D</forename><surname>Benítez</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Mas</surname></persName>
		</author>
		<author>
			<persName><forename type="first">O</forename><surname>Garcia-Codina</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Medina-Bustos</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>Escarrabill</surname></persName>
		</author>
		<author>
			<persName><forename type="first">E</forename><surname>Saltó</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><forename type="middle">J</forename><surname>Buysse</surname></persName>
		</author>
		<author>
			<persName><forename type="first">N</forename><surname>Roure</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Sanchez-De-La Torre</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">PloS one</title>
		<imprint>
			<biblScope unit="volume">13</biblScope>
			<biblScope unit="issue">4</biblScope>
			<biblScope unit="page">e0194495</biblScope>
			<date type="published" when="2018">2018</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b3">
	<analytic>
		<title level="a" type="main">Combining data mining and machine learning for effective user profiling</title>
		<author>
			<persName><forename type="first">T</forename><surname>Fawcett</surname></persName>
		</author>
		<author>
			<persName><forename type="first">F</forename><forename type="middle">J</forename><surname>Provost</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">KDD</title>
		<imprint>
			<biblScope unit="page" from="8" to="13" />
			<date type="published" when="1996">1996</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b4">
	<analytic>
		<title level="a" type="main">Sleep duration and mortality: a systematic review and meta-analysis</title>
		<author>
			<persName><forename type="first">L</forename><surname>Gallicchio</surname></persName>
		</author>
		<author>
			<persName><forename type="first">B</forename><surname>Kalesan</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Journal of sleep research</title>
		<imprint>
			<biblScope unit="volume">18</biblScope>
			<biblScope unit="issue">2</biblScope>
			<biblScope unit="page" from="148" to="158" />
			<date type="published" when="2009">2009</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b5">
	<monogr>
		<title level="m" type="main">User profiling trends, techniques and applications</title>
		<author>
			<persName><forename type="first">S</forename><surname>Kanoje</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><surname>Girase</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><surname>Mukhopadhyay</surname></persName>
		</author>
		<idno type="arXiv">arXiv:1503.07474</idno>
		<imprint>
			<date type="published" when="2015">2015</date>
		</imprint>
	</monogr>
	<note type="report_type">arXiv preprint</note>
</biblStruct>

<biblStruct xml:id="b6">
	<analytic>
		<title level="a" type="main">Wide awake mediates the circadian timing of sleep onset</title>
		<author>
			<persName><forename type="first">S</forename><surname>Liu</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Lamaze</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Q</forename><surname>Liu</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Tabuchi</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Y</forename><surname>Yang</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Fowler</surname></persName>
		</author>
		<author>
			<persName><forename type="first">R</forename><surname>Bharadwaj</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>Zhang</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>Bedont</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><surname>Blackshaw</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Neuron</title>
		<imprint>
			<biblScope unit="volume">82</biblScope>
			<biblScope unit="issue">1</biblScope>
			<biblScope unit="page" from="151" to="166" />
			<date type="published" when="2014">2014</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b7">
	<analytic>
		<title level="a" type="main">Chronobiology: the human sleep project</title>
		<author>
			<persName><forename type="first">T</forename><surname>Roenneberg</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Nature</title>
		<imprint>
			<biblScope unit="volume">498</biblScope>
			<biblScope unit="page">427</biblScope>
			<date type="published" when="2013">7455. 2013</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b8">
	<analytic>
		<title level="a" type="main">The cost of poor sleep: workplace productivity loss and associated costs</title>
		<author>
			<persName><forename type="first">M</forename><forename type="middle">R</forename><surname>Rosekind</surname></persName>
		</author>
		<author>
			<persName><forename type="first">K</forename><forename type="middle">B</forename><surname>Gregory</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><forename type="middle">M</forename><surname>Mallis</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><forename type="middle">L</forename><surname>Brandt</surname></persName>
		</author>
		<author>
			<persName><forename type="first">B</forename><surname>Seal</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><surname>Lerner</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Journal of Occupational and Environmental Medicine</title>
		<imprint>
			<biblScope unit="volume">52</biblScope>
			<biblScope unit="issue">1</biblScope>
			<biblScope unit="page" from="91" to="98" />
			<date type="published" when="2010">2010</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b9">
	<analytic>
		<title level="a" type="main">Collaborative filtering recommender systems</title>
		<author>
			<persName><forename type="first">J</forename><forename type="middle">B</forename><surname>Schafer</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><surname>Frankowski</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>Herlocker</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><surname>Sen</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">The adaptive web</title>
				<imprint>
			<publisher>Springer</publisher>
			<date type="published" when="2007">2007</date>
			<biblScope unit="page" from="291" to="324" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b10">
	<analytic>
		<title level="a" type="main">Sleep duration and waist circumference in adults: a meta-analysis</title>
		<author>
			<persName><forename type="first">S</forename><forename type="middle">D</forename><surname>Sperry</surname></persName>
		</author>
		<author>
			<persName><forename type="first">I</forename><forename type="middle">D</forename><surname>Scully</surname></persName>
		</author>
		<author>
			<persName><forename type="first">R</forename><forename type="middle">H</forename><surname>Gramzow</surname></persName>
		</author>
		<author>
			<persName><forename type="first">R</forename><forename type="middle">S</forename><surname>Jorgensen</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Sleep</title>
		<imprint>
			<biblScope unit="volume">38</biblScope>
			<biblScope unit="issue">8</biblScope>
			<biblScope unit="page" from="1269" to="1276" />
			<date type="published" when="2015">2015</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b11">
	<analytic>
		<title level="a" type="main">Short sleep duration is associated with hypertension risk among adults: a systematic review and meta-analysis</title>
		<author>
			<persName><forename type="first">Q</forename><surname>Wang</surname></persName>
		</author>
		<author>
			<persName><forename type="first">B</forename><surname>Xi</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Liu</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Y</forename><surname>Zhang</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Fu</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Hypertension Research</title>
		<imprint>
			<biblScope unit="volume">35</biblScope>
			<biblScope unit="issue">10</biblScope>
			<biblScope unit="page">1012</biblScope>
			<date type="published" when="2012">2012</date>
		</imprint>
	</monogr>
</biblStruct>

				</listBibl>
			</div>
		</back>
	</text>
</TEI>
