forked from epfl-ada-2018/Project
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
executable file
·510 lines (458 loc) · 35.6 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
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
<!DOCTYPE html>
<html class="no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Who is at risk of mental illness?</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="all,follow">
<!-- Bootstrap and Font Awesome css-->
<!-- we use cdn but you can also include local files located in css directory-->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<!-- Particles -->
<link rel="stylesheet" href="./css/particles.css">
<!-- Google fonts - Montserrat for headings, Cardo for copy-->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Montserrat:400,700|Cardo:400,400italic,700">
<link rel='stylesheet' href='http://fonts.googleapis.com/css?family=Varela+Round'>
<!-- theme stylesheet-->
<link rel="stylesheet" href="css/style.default.css" id="theme-stylesheet">
<!-- ekko lightbox-->
<link rel="stylesheet" href="css/ekko-lightbox.css">
<!-- Custom stylesheet - for your changes-->
<!-- <link rel="stylesheet" href="css/custom.css"> -->
<!-- Favicon-->
<link rel="shortcut icon" href="favicon.png">
<script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
<script src="jquery.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="./js/jquery.scrollToDiv.js"></script>
<!-- particles.js lib - https://github.com/VincentGarreau/particles.js -->
<!-- <script src="http://cdn.jsdelivr.net/particles.js/2.0.0/particles.min.js"></script> -->
<!-- <script src="./js/particles/particles.js"></script> -->
<!-- <script src="./js/load_plotly.js"></script> -->
<script src="./js/loadplotlyvisible.js"></script>
<script type="text/javascript" src="js/showButtons.js"></script>
<script type="text/javascript" async
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-MML-AM_CHTML"> </script>
</head>
<body data-spy="scroll" data-target="#navigation" data-offset="120">
<!-- intro-->
<section id="start" style="background-image: url('img/bg.jpg');" class="intro">
<!-- particles.js container -->
<div class="overlay"></div>
<div class="content">
<div class="container clearfix">
<div class="row">
<div class="col-md-8 col-md-offset-2 col-sm-12">
<h1>Who is at risk of mental illness?</h1>
<p style="font-size: 4">Mental Illness: A condition which causes serious disorder in a person's behaviour or thinking.</p>
</div>
</div>
</div>
</div>
<div class="bg-section bg-cover bg-cc full-wh">
<b class="full-wh" id="particles-js">
<canvas class="particles-js-canvas-el" style="width: 100%; height: 100%;" width="3360" height="1798"></canvas>
</b>
</div>
</section>
<!-- intro end-->
<!-- navbar-->
<header class="header">
<div class="sticky-wrapper">
<div role="navigation" class="navbar navbar-default">
<div class="container">
<div class="navbar-header">
<button type="button" data-toggle="collapse" data-target=".navbar-collapse" class="navbar-btn btn-sm navbar-toggle"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button><a href="#start" class="navbar-brand scroll-to"><img src="canADA.png" style="height: 10; width: 30;" alt=""></a>
</div>
<div id="navigation" class="collapse navbar-collapse navbar-right">
<ul class="nav navbar-nav">
<li class="active"><a href="#intro">Introduction</a></li>
<li><a href="#world">World</a></li>
<li><a href="#mental_disorders">Mental Disorders</a></li>
<li><a href="#demographics">Demographics</a></li>
<li><a href="#insights">Insights</a></li>
<li><a href="#conclusion">Conclusion</a></li>
</ul>
</div>
</div>
</div>
</div>
</header>
<!-- /.navbar-->
<!-- Intro-->
<section id="intro" style="background-color: white;" class="text-page">
<div class="container">
<div class="row">
<div class="col-md-12">
<h2 class="heading">Introduction</h2>
<div class="col">
<h6 class="row-md-1">
<b>5 Facts from <a href="https://www.who.int/features/factfiles/mental_health/mental_health_facts/en/"> World Health Organization (WHO):</a></b>
</h6>
<div class="row-sm-6">
<div class="row">
<div class="col-md-6">
<p>
<b>Fact 1: </b> About half of the mental disorders begin before the age of 14.
</p>
<p>
<b>Fact 2: </b> Neuropsychiatric disorders (eg. Eating Disorders, Depression, Bipolar disorder, etc.) are among the leading causes of worldwide disability in young people.
</p>
<p>
<b>Fact 3: </b> Around 20% of world’s children and adolescents have mental disorders or problems.
</p>
</div>
<div class="col-md-6">
<p>
<b>Fact 4: </b> About 23% of all years are lost because of disability by mental and substance use disorders, make it the leading cause of disability worldwide.
</p>
<p>
<b>Fact 5: </b> War and disasters have a large impact on mental health and psychosocial well-being.
</p>
</div>
</div>
</div>
<div class="row-sm-6">
<p>
In this project, we will mainly look at the prevalence of mental disorders over the world. We will also look at its impact (quantified with Disability-Adjusted Life Year (DALY)) and its correlation with Life Satisfaction, Education and Employment with chosen environment. Our data comes from the <a href="http://www.healthdata.org/gbd">Global Burden of Disease (GBD)</a> database. This is a database maintained by The Institute for Health Metrics and Evaluation (IHME), part of the University of Washington, and provide rigurous data about the world population health. Their dataaset provide the various causes of illness, including physical and mental illness, from 1990-2017. All the data of this project have been retrieved from the GBD, which we cleaned and analyzed using techniques learnt from the EPFL ADA course.
</p>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- intro end-->
<!-- world-->
<section id="world" style="background-color: #333;" class="text-page section-inverse">
<div class="container">
<div>
<h2 class="heading">World</h2>
<div class="col">
<div class="row-sm-1">Nearly 1 in every 5 Americans suffer from a mental disorder in a given year. What about the rest of the world?</div>
<div class="row-sm-10 plot" id="map"></div>
<div class="row-sm-1">
<p>Note that the map above does not include substance abuse as a type of mental illness. Furthermore, the legend is narrower on the top because we wanted to highlight and show changes for countries with higher mental illness prevalence.</p>
<p>As can be seen in the map above, the countries’ share of population with mental illness consistently falls between 9% to 17%. The countries that the highest mental illness prevalence include: United States, Australia, Greenland and Iran.</p>
<p>The United States’ darkest period for mental illness fall between 1997 – 2009, which includes the time period when the 9/11 terrorist attack and financial crisis occurred. The 9/11 attack in 2001 resulted in almost 3K deaths and over 6K injuries. It led to a steep decline in the stock market index, followed by public backlash against those that came from specific race/religion groups. Furthermore, the financial crisis starting in 2007 resulted in the loss of 8.7 million jobs in the US alone. Hence, it may be possible to attribute the high mental illness prevalence during these years to the economic and social repercussions of these two events.</p>
</div>
</div>
<div class="col">
<div class="row-sm-10 plot" id="deaths_rate_number"></div>
<div class="row-sm-1">
<p>Mental disorders related deaths occur throughout the world, affecting individuals of all nations, cultures, religions and genders. We can see from the graph below that the prevalence of mental disorders does not show a direct relationship with the death rates. We also realized that the increase in death number is not only caused by the increase of the population, since the death rate (number of death over 100 000 people) also increases over years. In fact, statistics show that countries with highest mental disorder related death rates in the world are incredibly diverse. </p>
<p>Today, it is widely accepted by major scientific associations that addiction is a "brain disease". The DSM-V lists criteria for classifying addictions as mental health condition is called "Substance Use Disorder." Prior to 2016, the dataset provided by GHDx also included "Substance Use Disorder" as a type of "Mental Disorder".</p>
</div>
</div>
<div class="col">
<div class="row-sm-10 plot" id="deaths_prevalence_countries"></div>
</div>
<div class="col">
<div class="row-md-5" id="DALY_per_mentail_illness_continent"></div>
<div class="row-md-6">
<p>For all the analysis on deaths caused by mental illness (graph just above), we included alcohol use and drug use disorders to make it more comprehensive. If we take a look at the number of deaths caused by mental disorders, we can see that substance use disorders (drug and alcohol use) contribute to more than 100 k deaths per year. Specifically, Russia, Australia, the United States and Nordic countries appear to have the highest direct deaths rates reported from substance use disorders in 2016. China, India and the United States had the highest direct deaths from anorexia and bulimia nervosa, with more than 60 deaths each in 2016. </p>
<p> Let's take the look at the total number of mental disorder related deaths. Russia had the highest death rate at over 25 deaths per 100,000; this was followed closely by the United States with just over 24 per 100,000. Furthermore. it is worth noting that Russia has a decreasing death rates after peaking at 50 deaths per 100,000 in 2005, whereas the death rates for the United States has been increasing since 1990. </p>
<p>Panama, Mexico and Nicaragua had a relatively low prevalence of mental illness of 12% comparing to other North America countries such as Canada (18%) and the United States (21%) in 2016. It is also reported that the world lowest suicide rates are concentrated in the Caribbean Islands. Perhaps surprisingly, only about 0.3 deaths per 100,000 were reported in Egypt. </p>
<p>These mental disordered related deaths do not include indirect suicide deaths and doctor-assisted suicide, which may significantly underestimate the true mortality impact of such disorders. </p>
</div>
</div>
</div>
</div>
</section>
<!-- world end-->
<!-- mental_disorders-->
<section id="mental_disorders" style="background-color: #eee">
<div class="container">
<h2 class="heading">Mental Disorders</h2>
<div class="col">
<div class="row-md-5">
<div class="col">
<div class="row-md-2">
<p>
A <a href="http://apps.who.int/iris/bitstream/handle/10665/254610/WHO-MSD-MER-2017.2-eng.pdf?sequence=1
">research</a>
by World Health Organization (WHO) determined that the two most common mental disorders are anxiety and
depression. Let’s see if it is true.
<b>Instructions: Hover to see the percentage and the raw number of the population for each mental disorder.</b>
</p>
<p>
The percentages in the following graph is obtained by: (People having a specific mental disorder)/(Toal number of people having mental disorders.)
</p>
<div class="plot" id="prevalence_gender_disorder_share_global"></div>
<p>
Indeed, among all the people having mental disorders, <b>more than 50%</b> are victims of either anxiety or depressive disorders. On a global scale, only very few people have schizophrenia and eating disorders, despite the increasing cases of obesity and the general fashion trend that values skinniness.
</p>
</div>
<div class="row-md-2">
<p>
<b> Let's take a closer look at the trend per mental disorder in different parts of the world.</b>
</p>
<p>
<b>Instruction: Double-click on the label (mental disorder) to view one mental disorder only at a time.
The trend will be seen clearer.</b>
</p>
</div>
<div class="row-md-10">
<div class="row">
<div class="col-md-9 plot" id="prevalence_perc_cause"></div>
<div class="col-md-3">
<p>
As we can see, in this graph of population percentage (ill people / total population), in every continent,
anxiety and depression are the top mental illnesses. We can also observe that Americas
generally have a higher percentage of mentally ill population among all continents, varying from
0.23% to 5.3% over the years, followed by Europe, varying from 0.24% to 4.46%. Interestingly, these
are the richest and most developed countries. While researchers cannot give an explanation for this
phenomena, we will attempt to provide some guesses later in Life Satisfaction section.
</p>
</div>
</div>
</div>
</div>
</div>
<div class="row-md-1">
<p>
On a general trend, we noticed that the prevalence percentage of anxiety and depressive disorders steadily increases by small rate over years. It seems that the advancement in the technologies intended to make people life better did not necessarily made the population over the world happier. According to <a href="https://www.sciencedirect.com/science/article/pii/S0149763405001326">a study by Lambert in 2006</a>, this is related to the change in our lifestyle. The effort-based rewards, defined as a base level of physical activity to provide life's basic resources, has diminished over years as our society turned more industrialized, technologically advanced and service-oriented.
</p>
<p>
We also noticed a steady decrease in related with childhood mental disorders, i.e. conduct disorders,
Attention-Deficit/Hyperactivity Disorder (ADHD) and Idiopathic developmental intellectual disability. This
might be due to medical advances and a wider social acceptance of these diseases.
</p>
</div>
<div class="column-md-5 less0">
<div class="row">
<div class="col-md-3">
<p style="height: 80px;"></p> <!--padding-->
<p>
<b>Let’s look at the ranking of the continents per mental disorder in the most recent year, 2017.</b>
</p>
<p>
This graph has the same results as the above, except it is organized by mental disorders. The global value is given as a reference.
</p>
<p>
Europe and America stand at the top for depression and anxiety, but also for eating disorders, and
bipolar disorders. As mentioned above, developed and rich countries are indeed the ones that are most
affected by mood based disorders.
</p>
</div>
<iframe class="col-md-9" width="800" height="500" frameborder="0" scrolling="no" src="//plot.ly/~CANada-2018/110.embed"></iframe>
</div>
</div>
<div class="row-md-1 less0">
<p>
Africa has the highest population share for Attention-Deficit/Hyperactivity Disorder (ADHD) and Conduct
disorders (not surprising since this is related to ADHD). A study from M. Döpfner et al. (2008) has related
higher prevalence of ADHD with families of lower socioeconomic status and families from urban areas, but this
doesn’t explain why Americans end in second place in the ranking.
</p>
<p>
Surprisingly, while there is a general stereotype portraying how Asian (especially Eastern Asian) students are
smart at school, Asia ranks first in the Idiopathic developmental intellectual disability and schizophrenia.
While the reason is still unknown, from our research, we think that it might be related to the inequalility
of the avaibility of the medical resources in the developing countries.
</p>
</div>
<button class="square-button padding-large dark-grey more0 more-button0" style="margin-top:20px">SHOW MORE</button>
<button class="square-button padding-large dark-grey less0 less-button0" style="margin-top:20px">SHOW LESS</button>
</div>
</div>
</section>
<!-- mental_disorders end-->
<!-- demographics -->
<section id="demographics">
<div class="container">
<h2 class="heading">Demographics</h2>
<div class="col-md-12"> In this section, we will look at the distribution of the mental illness <b>separately by Age and Gender</b>. Who do you think are the most at risk?</div>
<div class="col-md-12">
<h4 class="subheading">Age</h4>
<div class="col">
<div class="row-md-3 more1">
<div class="row">
<iframe class="col-md-10" width="100%" height="450" frameborder="0" scrolling="no" src="//plot.ly/~RebeccaCheng9797/13.embed"></iframe>
<span class="col-md-2">
<p>The graph on the left shows that prevalence of mental disorders for different age groups can vary significantly by country. </p>
</span>
<span class="col-md-12">
<p>We can see a peaking of prevalence in older adulthood (between age of 35 to 45) in the United States. Starting from age 40, the prevalence of population with mental disorders in the United States ranks the highest among all 5 countries. </p>
<p>Now taking Australia for example, there is an observable trend towards higher prevalence among young age groups, especially between age of 15 to 30, with prevalence doubled for the same age group in China. However, Australia has a decreasing prevalence rates in older age groups, ranking the lowest among all 5 countries for population above age 60. </p>
<p>Now, if we take a look at prevalence rates in China and Russian, we can observe a huge jump in prevalence of mental illness between children to adolescents. However, the rates grow at a much lower speed at older adulthood. </p>
</span>
</div>
</div>
<div class="row-md-3 less1">
<div class="row">
<iframe class="col-md-10" width="100%" height="450" frameborder="0" scrolling="no" src="//plot.ly/~RebeccaCheng9797/11.embed"></iframe>
<span class="col-md-2">
<p>Prevalence rates also vary quite a lot for different types of mental disorders. </p>
</span>
<span class="col-md-12">
<p>We are susceptible to anxiety disorder at an early age of 1 to 4. The prevalence rates of anxiety disorder increased more than 10 times between the age of 5 to 9 and again for about 2.5 times between age of 10 to 14. </p>
<p>Depressive disorder, however, has a much higher prevalence in older age groups. It outnumbers anxiety disorder from the age of 45 and remains to be the most prevalent mental disorder since then. </p>
<p>Eating disorder is only observed between the age range of 10 to 50, along with bipolar disorder and schizophrenia, making up a small percentage of population who are diagnosed with mental illness. </p>
</span>
</div>
</div>
<div class ="row-md-5 less1">
<div class="col">
<div class ="row-md-12">
<div class="row">
<!-- <iframe class="col-md-6" width="700" height="450" frameborder="0" scrolling="no" src="//plot.ly/~RebeccaCheng9797/10.embed"></iframe> -->
<iframe class="col-md-6" width="700" height="450" frameborder="0" scrolling="no" src="//plot.ly/~RebeccaCheng9797/7.embed"></iframe>
<span class="col-md-6">
<p>This graph shows the prevalence of people with mental disorders for each age range worldwide. </p>
<p> Comparing with the first graph in this section, we can see a similar trend where mental disorders are most prevalence in adulthood.
<ul>
<li>Every age group is affected by depression. Certain times of life can make us more susceptible. </li>
<li>During infancy, 2.5% of this population starts to experience mental disorders, mainly anxiety disorders. The prevalence of mental disorders increases significantly for youth (12.6%) and young adolescents (16.6%). </li>
<li>Approximately 1 in 5 adults globally, or 18.5% experiences mental illness in a given year. </li>
</ul>
</p>
</span>
</div>
</div>
</div>
</div>
<div class="row-md-1">
<button class="square-button padding-large light-grey more1 more-button1" style="margin-top:20px">SHOW MORE</button>
<button class="square-button padding-large light-grey less1 less-button1" style="margin-top:20px">SHOW LESS</button>
</div>
</div>
</div>
<div class="col-md-12">
<h4 class="subheading more2">Gender</h4>
<div class="col">
<div class="row-md-6 more2">
<p>
Let’s first look at the change in total mental disorders’ prevalence of female vs male population over the years. To compare between each continents, we decided to take the percentage of the population affected by mental illness per gender:
(Male having mental disorder in continent A / Total number of male population in continent A * 100)
</p>
<div id="figure_gender_loc" class="plot"></div>
<p>
We notice that on a global trend, female tend to be more affected by mental disorders. This fact has been confirmed by <a href="https://www.bmj.com/content/354/bmj.i5320">a study done by Gulland (2016)</a>. This is true for America, Europe and Asia, where the share of female population having mental disorders are generally 0.4-2% higher than the share of male population. We can also observe that the rate of people having mental disorders is increasing over the years. Surprisingly, we observe the exact opposite in Africa and in Oceania. The trend is somehow decreasing of the lastest years, and men are more likely affected by mental disorders than women. Unfortunately, we have not found any research that explain this phenomena.
</p>
</div>
<div class="row-md-6 less2">
<span>
<p><b>Let’s look at how the impact of each mental disorder on male/female population varies.</b></p>
<p>We chose one main country per continent, and compared it to a global scale to see if there is a difference. The percentage calculation is following: (Number of male having disorder A in location A) / (Total number of people having disorder A in location A) </p>
<p><b>Instructions: Hover on each subplot to observe the exact percentage. </b></p>
</span>
<div id="prevalence_gender_share_per_country" class="plot"></div>
<p>
In first observation, we realized that women are more affected by mental illness than men. However, after segementing mental disorders into specific types, we realized that women are only affected by a few of these types, while men are targeted by a majority. Indeed, we observe that women tend be more affected by depression, anxiety and eating disorders all over the world, while men tend to be more affected by autism, intellectual disabilities, attention-deficit disorders and conduct disorders. The large difference between gender is specifically significant in eating disorders, autism, conduct disorders and attention-deficit disorders. While no studies confirm our guesses, for autism, conduct disorders and attention-deficit disorders, we suspect that the gender difference might be related to how these diseases get transmitted through genes. The trend in eating disorders is clearly related by how modern societies value skinniness as a female beauty fashion.
</p>
</div>
</div>
<button class="square-button padding-large light-grey more2 more-button2" style="margin-top:20px">SHOW MORE</button>
<button class="square-button padding-large light-grey less2 less-button2" style="margin-top:20px">SHOW LESS</button>
</div>
</div>
</section>
<!-- demographics end-->
<!-- insights page-->
<section id="insights" style="background-color: #eee">
<div class="container">
<h2 class="heading">Insights</h2>
<div>
<h4 class="subheading more3">Employment & Education</h4>
<div class="col">
<div class="row-md-10 more1">
<div class="col">
<iframe iframe class="row-md-4 more6" width="100%" height="450" frameborder="0" scrolling="no" src="//plot.ly/~judy.gong/14.embed"></iframe>
<span class="row-md-4 more6">
<p>The above graph shows the global depression prevalence as a % of the population, based on education and employment. Education is split into 3 categories—below upper secondary, upper secondary and post-secondary, and tertiary education. Employment is split into 2 overlapping categories—active and employed. Active considers all people in the labour force—this includes those who are employed, but also those who are unemployed but looking for work.</p>
<p>From the graph, it is clear that depression prevalence decreases as education level increases. Furthermore, depression prevalence is lower for employed rather than active, for all three levels of education. This negative correlation between depression prevalence and education/employment is intuitive—a person with higher education and is employed will on average experience more personal development, increased perspective of self-worth, and be more economically stable. Financial stability and self-fulfillment are contributing factors to the lower depression prevalence levels.</p><br>
<p>We decided to perform a hypothesis test to test the difference in depression prevalence between the active and employed groups. Using a two-sided t-test, we arrived at a final p-value of <b>0.0669035101009</b>. Using a 10% significance level, we rejected our null hypothesis and concluded that there is a significant difference in depression prevalence between active and employed groups. As seen above, unemployed people tend to be more depressed. (Details of the hypothesis formulation and calculations in <b>Show More</b>)</p>
</span>
<span class="row-md-4 less6">
<p style="align-content: center"><b><u>Hypothesis Test - Difference of Means between Employed & Active </u></b></p>
<p>Let’s conduct a hypothesis test on the difference in means in depression prevalence between employed and active groups using a two-sided t-test. We first formulate our hypothesis:</p>
<p style="align-content: center">H0: Mean of employed group depression = Mean of active group depression<br>
H1: Mean of employed group depression != Mean of active group depression</p>
<p>Below are variables we need to conduct the p-test:</p>
<p><b>Sample size:</b><br>
$$N = 81$$</p>
<p><b>Sample Means and Difference:</b><br>
$$mean_{employed} = 5.323097530864199$$
$$mean_{active} = 6.143745679012348$$
$$diff = 0.8206481481481491$$</p>
<p><b>Variances and Standard Deviation:</b><br>
$$var_{employed} = 7.518851839243827$$<br>
$$var_{active} = 8.508507546512345$$<br>
$$s = \sqrt{{var_{employed} + var_{active}} \over 2} = 2.8308443427497183$$</p>
<p><b>T-statistics and Degrees of Freedom:</b><br>
$$t = {{mean_{employed} - mean_{active}} \over s\sqrt{2 \over N}} = -1.8448816686405103$$
$$df = 2N – 2 = 160$$</p>
<p><b>Final P-Value:</b><br>
$$p-value = 0.0669035101009$$</p>
<p>Using a 10% level of significance, we reject the null hypothesis and conclude that there is a difference in depression prevalence between active and employed groups.</p>
</span>
</div>
</div>
<div class="column-md-2">
<button class="square-button padding-large dark-grey more6 more-button6" style="margin-top:20px">SHOW MORE</button>
<button class="square-button padding-large dark-grey less6 less-button6" style="margin-top:20px">SHOW LESS</button>
</div>
</div>
</div>
<div>
<h4 class="subheading more4">Life Satisfaction</h4>
<div class="col">
<div class="row-md-10 plot" id="mental_illness_life_satisfaction_dropdown"></div>
<div class="row-md-2">
<p>Life satisfaction data was obtained from the World Happiness Report. The happiness level is self-ranked by participants from each country who ranked the quality of their lives from a scale of 0-10. Top ranked countries had common high values in areas including: income, life expectancy, social support, freedom, trust and generosity.</p>
<p>Prior to plotting this graph, our team hypothesized that mental illness prevalence and life satisfaction would have a negative correlation—the higher the life satisfaction of a country, the lower the rate of mental illness, right?</p>
<p>That is not what the data depicts, however. In fact, the Pearson’s correlation coefficient between mental illness prevalence and life satisfaction is positive at 0.477. We conducted some research online to identify the cause of this positive correlation, and we came across studies that indicated that data on mental illness may be lacking in developing countries, which are often countries with lower life satisfaction. For example, a developed country such as Canada will educate students and parents on mental disorders from an early age, and universities will offer and encourage treatment. On the other hand, a developing country such as India may ignore the severity of mental illness, perhaps having the perspective that it is not a real concern or illness, given the other problems the country is facing such as poverty. Hence it is possible that a person from a country with lower life satisfaction such as India will not even realize that they are affected by mental illness due to lack of education. Or, they may be unwilling to admit their disease due to fear of shame or judgement.</p>
</div>
</div>
</div>
</div>
</section>
<!-- insights page end-->
<!-- some conclusions -->
<section id="conclusion" style="background-color: white">
<div class="container">
<h2 class="heading">Conclusion</h2>
<p>
From our project, we can see that mental disorders can occur to everyone in the world, and the rate of occurance is slowly increasing over the years. Mental health disorders are complex and can take many forms. The cure for certain disorders is still unknown, and moreoever, many people do not realize that they are affected by a disorder (this is especially true for depression and anxiety).
</p>
<p>
All the datas collected by IHME are based on a combination of sources, including medical and national records, epidemiological data, in addition to survey data. To go farther in our analysis and to assure the quality of our data, we will have to collect data from other similar datase and do a comparison. This way, we could be certain that our interpretations are precise and accurate.
</p>
</div>
</section>
<!-- some conclusions -->
<!-- <div id="map"></div> -->
<footer style="background-color: black;" class="section-inverse">
<div class="container">
<div class="row copyright">
<div class="col-md-6">
<p>©canADA-2018</p>
</div>
<div class="col-md-6">
<p class="credit">Template by <a href="https://bootstraptemple.com">Bootstrap Temple</a></p>
<!-- Please do not remove the backlink to us unless you have purchased the attribution-free license at https://bootstraptemple.com. It is part of the license conditions. Thanks for understanding :) -->
</div>
</div>
</div>
</footer>
<!-- Javascript files-->
<!-- jQuery-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/jquery-1.11.0.min.js"><\/script>')</script>
<!-- Bootstrap CDN-->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<!-- jQuery Cookie - For Demo Purpose-->
<!-- <script src="js/jquery.cookie.js"></script> -->
<!-- Lightbox-->
<script src="js/ekko-lightbox.js"> </script>
<!-- Sticky + Scroll To scripts for navbar-->
<script src="js/jquery.sticky.js"></script>
<script src="js/jquery.scrollTo.min.js"></script>
<!-- main script-->
<script src="js/front.js"></script>
</body>
</html>