-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
294 lines (215 loc) · 17.3 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
---
layout: default
title: Food (and money) for thought
---
<div id="citation">
"An apple a day keeps the doctor away"
</div>
<p> Keeping a good and balanced diet is fundamental to having a healthy life as it helps avoiding food-related illnesses such as diabetes, obesity and cardiovascular diseases. However, the price of the food products
influences greatly the decisions of individuals in purchasing them or not. Haven't you ever chosen a more expensive brand because
you felt it was healthier? This belief is supported by a 2013 study from <a href="https://bmjopen.bmj.com/content/3/12/e004277.full?sid=820d6e1a-280e-47a6-b8c5-
498bfa4657e3"> Harvard School of Public Health</a> that found that eating a healthy diet costs about $1.5 more per day per person than eating an unhealthy one.
Sounds like a pocket change, but this represents an extra $2,200 per year for a family of four. So, do people have an equal chance in maintaining a nutritious diet and thus a healthy life? </p>
<p> We provide here an insight on the food consumption discrepancies between different boroughs of Greater London and explore the link
between the economic situations of households and their food purchases. The datasets we use contain information about the grocery purchases, incomes and
child poverty per borough of Greater London. </p>
<br><br>
{% include menu.html %}
<br><br><br>
<div id="data">
<h2> The tastiest of ingredients: <strong> the data </strong> </h2>
<p> Let's first present the Tesco Grocery 1.0 dataset from which we get the food purchases data. It consists in a record of 420 M food items purchased by
1.6 M fidelity card owners who shopped at the 411 Tesco stores within the boundaries of Greater London during the entire year of 2015.
These data are aggregated at different spatial granularities (from Lower Super Output Areas to Boroughs) to preserve anonymity. </p>
<div align="center"> {% include stats.html %} </div>
<p><br> We also use the following datasets:
<li> <a href="https://data.london.gov.uk/dataset/prevalence-childhood-obesity-borough"> Prevalence of overweight and obese children</a>: fractions of overweight
and obese primary school children in Reception class (aged 4 to 5) and year 6 (aged 10 to 11), sampled across wards. This data has been collected by
the English National Health Service (NHS) in the 2013–2014 school year. </li>
<li> <a href="https://data.london.gov.uk/dataset/obesity-adults"> Prevalence of overweight and obese adults</a>: fractions of overweight
and obese individuals among a statistical sample of borough residents. This data has been collected by the Active People Survey (APS) in 2012. </li>
<li> <a href="https://digital.nhs.uk/data-and-information/publications/statistical/quality-and-outcomes-framework-achievement-prevalence-and-exceptions-
data/quality-and-outcomes-framework-qof-2016-17"> Diabetes prevalence</a>: fraction of adults among those registered
at a GP practice in England who are affected by type-2 diabetes. This data has been collected by the NHS for year 2015 at ward level. </li>
<li> <a href="https://figshare.com/articles/dataset/Area-level_grocery_purchases/7796666?backTo=/collections/Tesco_Grocery_1_0/4769354">Earnings by place of
residence</a>: gross earnings of employees by place of residence. We only considered the full-time weekly earnings per borough in 2015. </li>
<li> <a href="https://data.london.gov.uk/dataset/earnings-place-residence-borough">Children poverty</a>: numbers and percentages of children in
poverty for Borough and London Wards (at 31 August each year). We only considered the children (dependent children under the age of 20) in child benefit
families per borough in 2015. Therefore, the higher the value of the aid perceived, the more precarious the economic situation. </li>
<li> <a href="https://data.london.gov.uk/dataset/london-consumer-expenditure-estimates-2011-2036">London consumer expenditure estimates - Detailed borough
base</a>: consumer expenditure data to 2036 broken down by London borough. We transformed the data concerning food expenditure in percentage of the total
expenditure over the year 2015, per borough. </li></p>
</div>
<div id="entree">
<h2> What is the average diet of a Londoner? </h2>
</div>
<div class="clearfix">
<div class="float-container">
<div class="float-child">
{% include piecharts.html %}
</div>
<div class="float-child">
<p><br> Is the data really representative of the Londonian food habits? It appears so… Indeed, Tesco was the biggest grocery retailer in UK in 2015,
with 28% of market share. Moreover, we only take into account the areas where the Tesco food purchases data is sufficiently representative (over 10%)
of the food purchases of the area's population.</p>
<p> Let's now have a look at the Londoners food habits! </p>
<p> It seems that Londoners have a diet rich in fats (especially saturated fats) and carbohydrates (especially sugars).
If we now look at the most represented food categories, at first sight, one may be satisfied to find fruits and vegetables as
the top one food category. But sweets occupy an important part of the energy income.... Grains and dairy come after,
yet quickly regained by ready-made food. </p>
</div>
</div>
</div>
<h2 id="plat"> What constitutes a healthy diet? </h2>
<p> <h1 style="font-size:20px"><b> Do Londoners eat healthy ? </b></h1> </p>
<p>The exact make-up of a diversified, balanced and healthy diet will vary depending on individual characteristics (e.g. age, gender, lifestyle and degree of
physical activity), cultural context, locally available foods and dietary customs. However, the basic principles of what constitutes a healthy diet remain the same.
According to the <a href="https://www.who.int/news-room/fact-sheets/detail/healthy-diet">World Health Organization</a>,
a healthy diet includes the following:
<li> fruit, vegetables, nuts and whole grains </li>
<li> at least 400 g of fruit and vegetables per day </li>
<li> less than 10% of total energy intake from free sugars (ideally less than 5%) </li>
<li> less than 30% of total energy intake from fats </li>
<li> less than 10% of total energy intake from saturated fats </li>
<li> less than 10% of total energy intake from trans-fats </li>
<li> less than 5g of salt per day </li></p>
<p> Let’s see if Londoners follow the WHO recommendations regarding free sugars, fats and saturated fats…</p>
<div align="center"> {% include cards.html %} </div>
<p><br>The results are clear: Londoners average diet is way richer in free sugars and fats than what it should be. <br><br></p>
<p><h1 style="font-size:20px"><b> How does Londoners diet relate to their health? </b></h1></p>
<p> Let’s take the bull by the horns: does this average diet have a direct impact on the Londoners health? We specifically look at the prevalence of obesity and type-2 diabetes,
two metabolic syndrome conditions strongly linked to food consumption habits.
The data collected by the APS in 2012 indicate that 37.4 % of Londoners are overweight and 19.8 % are obese.
So only about 40 % of the londonian population has a “healthy weight”! However, those statistics can be taken with a grain of salt as they come from statistical samples.
</p>
<div align="center">{% include obesity.svg %}</div>
<p><br> To verify that the Londoners food habits are associated with an increased prevalence of metabolic disorders, we correlate diabetes,
obesity and overweight prevalence among adults and children with the different nutrients and food categories that we have seen previously. </p>
{% include correlations.html %}
<p> For both food items and nutrients, the Spearman rank correlations are comparable for the obesity and overweight prevalence among children.
The same happens for the obesity and overweight prevalence among adults. Diabetes prevalence has its own pattern of correlations. <br><br>
Regarding nutrients, we can see that the energy coming from fibres and alcohol (didn't you know that Guiness is healthy?) and the entropy of energy from nutrients
are strongly negatively correlated with all the metabolic syndromes considered. On the other hand, the total energy and the energy from carbs
show nice positive correlations with the obesity and overweight prevalence among adults. Finally, the diabetes prevalence is well correlated with almost all
nutrients categories. <br><br>
Regarding food items, we again find that alcohol (beer and wine) are negatively correlated with the metabolic disorders. Less surprisingly,
fruits and vegetables and dairy seem to decrease the disorders prevalence. On the contrary, fats and oils increase them. </p>
<br>
<p><h1 style="font-size:20px"><b> How do we measure the healthiness of a diet? </b></h1></p>
<p>I already hear you thinking, what’s the point of all this?
The point of all this analysis is that at the end, we can compare the healthiness of Londoners diet with the economic situations of households.
So we need a diet score such that if the score is 1, the corresponding diet is diversified, balanced and healthy and respectively,
if the score is 0, the corresponding diet is completely unhealthy.
We found two ways to compute this score: </p>
<strong><u>Method 1:</strong></u> Fit a linear regression on the overweight and obesity prevalence datasets with their highest correlated nutrients as features. <br><br>
<p>As we have seen previously, the energy coming from fibres (that is cereals, nuts, peas, beans, pulses…) and the entropy of energy from nutrients
(capturing the diversity of nutrients in the total energy) seem to significantly reduce the obesity and overweight prevalence among the population.
On the other hand, the energy from carbohydrates (associated with processed foods made from plants as sweets, soft drinks, breads, pastas…) has the
tendency to increase it.</p>
<p>Score 1 simply consists in a weighted sum of these three nutrients, with the weights corresponding to the coefficients obtained by running an ordinary
least squares regression.</p>
<strong><u>Method 2:</strong></u> Fit a linear regression on the overweight and obesity prevalence datasets with the most consumed food items as features. <br><br>
Those most consumed categories are fruits and vegetables (27.8%), sweets (16.1%) - which also include cakes and biscuits, grains (15%) - which include
rice, corn and wheat and dairy (10.5%) which correspond to cheese, milk or yoghurt for example.
<p>Score 2 is computed in the same way as score 1, except that we select as features the food items the most consumed by Londoners:
fruits and vegetables, sweets, grains and dairy. </p>
<div class="float-container">
<div class="float-child">
<!-- <strong><u>Method 1:</strong></u> Fit a linear regression on the overweight and obesity prevalence datasets with their highest correlated nutrients as features. <br><br>
<p>As we have seen previously, the energy coming from fibres (that is cereals, nuts, peas, beans, pulses…) and the entropy of energy from nutrients
(capturing the diversity of nutrients in the total energy) seem to significantly reduce the obesity and overweight prevalence among the population.
On the other hand, the energy from carbohydrates (associated with processed foods made from plants as sweets, soft drinks, breads, pastas…) has the
tendency to increase it.</p>
<p>Score 1 simply consists in a weighted sum of these three nutrients, with the weights corresponding to the coefficients obtained by running an ordinary
least squares regression.</p> -->
<h2> SCORE 1 </h2>
<div align="center"> {% include barplots_score1.html %} </div>
</div>
<div class="float-child">
<!-- <strong><u>Method 2:</strong></u> Fit a linear regression on the overweight and obesity prevalence datasets with the most consumed food items as features. <br><br>
Those most consumed categories are fruits and vegetables (27.8%), sweets (16.1%) - which also include cakes and biscuits, grains (15%) - which include
rice, corn and wheat and dairy (10.5%) which correspond to cheese, milk or yoghurt for example.
<br>
<br>
<br>
<br>
<br>
<p>Score 2 is computed in the same way as score 1. The coefficients correspond this time to the proportion of those categories. </p>
<br> -->
<h2> SCORE 2 </h2>
<div align="center"> {% include barplots_score2.html %} </div>
</div>
</div>
<p>To check the consistency of the computed scores, we compare the features
of the 25% lowest-scoring and of 25% highest-scoring areas. As you can see just above, the results are realistic.
Concerning score 1, the highest-scoring areas show a diet slightly richer in fibres
and entropy and poorer in carbohydrates than the lowest-score areas. Regarding score 2, the differences are even more significative.
The highest-scoring areas show a way bigger consumption of fruits and vegetables and of dairy and a smaller consumption of sweets and grains.</p>
<p> But how can we be sure that the two scores we computed are well representative of the healthiness of the Londoners diet? We need to validate them
using new data, that is...(drum roll)...data on diabetes prevalence, another food-related illness!</p>
<p> As you can see, the two scores are strongly correlated, which enables to assume that both roughly capture the same information.
This is confirmed by their visualization on the London map: they only exhibit slight differences. </p>
<div class = "clearfix">
<div class="float-container">
<div class="float-child">
<div align="center"> {% include scatter2D.html %}
</div>
</div>
<div class="float-child">
<div align="center">
<br><br>
<iframe frameborder="1" class="juxtapose" width="500" height="500" marginwidth="500" src="https://cdn.knightlab.com/libs/juxtapose/latest/embed/index.html?uid=539588b2-3f8c-11eb-83c8-ebb5d6f907df"></iframe>
</div>
</div>
</div>
</div>
<p><br> But what really interests us is the correlation between each score and the estimated diabetes prevalence.
It appears that both scores are strongly correlated with diabetes prevalence, and as expected, the lower the score, the higher the vulnerability to diabetes.
But the score 1 seems to win… so we choose to keep it for the rest of the story! </p>
<h2 id="dessert"> What is the proportion of food related expenditure in each borough? How does it relate to its economic situation? </h2>
<p> Now, let’s interest us now in some economic indicators. <b>Especially, how is food expenditure related to wealth? </b></p>
{% include food_expenditures.html %}
<br>
<br>
We can see that food is the 4st highest activity consumption behind housing, restaurants and hotels.
<p> We propose here a visualization of the wealth differences between the different boroughs through these three indicators: </p>
<div align="center">{% include economicindicators_map.html %}</div>
<br>
<p> At first sight, earnings and child poverty seem to be strongly correlated in boroughs, as expected.
Concerning the food expenditures, they appear to represent a more important part of the total expenditures in poorer areas, which is quite intuitive.
In fact, this is in accordance with the <a href="https://en.wikipedia.org/wiki/Engel%27s_law"> Engel's law</a>, an observation in economics stating that,
as income increases, the proportion of income spent on food decreases. This effect is clearly visible in London!
<div class="clearfix">
<div class="float-container">
<div class="float-child">
<div align="center"> {% include earnings_vs_food_relative.html %}
</div>
</div>
<div class="float-child">
<div align="center">
{% include earnings_vs_food_absolute.html %}
</div>
</div>
</div>
</div>
<h2 id ="bonbon"> How does a healthy diet relates to the borough's economic situation? Is this connection area-dependent? </h2>
<div class="float-container">
<div class="float-child">
The WHO asserts that the global food price crisis threatens public health and especially the health of the low-income families.
But how does a healthy diet relate to the economic situation? </p>
<p> Here, it clearly appears again that the higher the earnings and the lower the child poverty, the lower the proportion of food expenditures.
But more important here, the higher the earnings and the lower the child poverty, the higher the healthy diet score.
So it would be reasonable to think that a healthy diet is clearly positively correlated to the borough’s economic situation. </p>
</div>
<div class="float-child">
<div align="center"> {% include scatter3d.html %} </div>
</div>
</div>
But in the end, the most important that one should not forget:
<div id="citation">
"When health is absent... wealth becomes useless" - Herophilus
</div>
The detailed analysis of the project can be found <a href = "https://nbviewer.jupyter.org/github/SofiaDandjee/food_for_thought/blob/main/project.ipynb"> here </a>.
<br>
<br>
<h3> <a href = "#menu" > BACK TO THE MENU </a> </h3>