<p><div><div><div><div data-show-faces="false" data-height="21" data-width="100" data-layout="button_count" data-send="true" data-href="https://www.r-bloggers.com/an-interesting-study-exploring-mental-health-conditions-in-the-tech-workplace/"></div></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="http://blog.nycdatascience.com/student-works/r-shiny/interesting-study-exploring-mental-health-conditions-tech-workplace/"> R – NYC Data Science Academy Blog</a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<p><span>Contributed by Bo Lian. This blog post is the first class project on Exploratory Visualization &amp; Shiny. <span><a rel="nofollow" href="https://talentlian.shinyapps.io/BoLianShiny/" target="_blank">Please check  the Shiny App here</a>.</span></span></p>
<hr>
<h3><span>Background and Motivation</span></h3>
<p><span>Mental illness is a global health problem. It has critically high prevalence, yielding severe health outcomes. One in four adults suffers from a diagnosable mental illness in any given year (National Alliance on Mental Health, 2013). In the tech industry, 50% of individuals have sought treatment for mental illness, according to Finkler, 2015.</span></p>
<p><span><span>This important health issue warrants further investigation. This study, based on the 2014 Mental Health in Tech Survey from Open Sourcing Mental Illness, performs a complete data visualization and statistical analyses among the mental illness and various factors in order to answer following questions:</span></span></p>
<ol>
<li><span>What are the strongest groups of predictors of mental health illness in the workplace?</span></li>
<li><span>What might be the causes of the high mental illnesses prevalence in the tech industry other than some common thoughts?</span></li>
<li><span>How is the representativeness of the survey, is other factors involved: geographic locations, ages, etc.?</span></li>
</ol>
<h3><span>The Data</span></h3>
<p><span>The data used in the study is the 2014 Mental Health in Tech Survey from Open Sourcing Mental Illness. <span>With 1259 responses, it is considered the largest survey  on mental health in the tech industry. </span></span></p>
<p><span>The dataset contains 27 factors that could be segmented into 5 categories, each of which can be performed for Chi-squared test against the response variable of the treatment (if one has sought treatment for a mental health condition).</span></p>
<p><span>1. <strong>Demographics</strong> : age, gender, country, state etc.</span></p>
<p><span>2. <strong>Mental Health Condition</strong> : treatment, work interference, family history etc.</span></p>
<p><span>3. <strong>Employment Background</strong> : tech, remote, employee number, size etc.</span></p>
<p><span>4. O<strong>rganizational Policies on Mental Health</strong> : benefit, wellness program etc.</span></p>
<p><span>5. <strong>Openness about Mental Health</strong> : self awareness, coworkers, supervisors, openness to discuss etc.</span></p>
<p> </p>
<h3><span>Data Visualization and Analysis</span></h3>
<p><span>The data is drawn from employees from 46 countries, among which US employees account for 59.2%. Most of those hail from tech heavy states like California, New York, Washington, etc.</span></p>
<p> </p>
<p><span><a rel="nofollow" href="https://i2.wp.com/blog.nycdatascience.com/wp-content/uploads/2017/05/pop.png?ssl=1" target="_blank"><img sizes="(max-width: 360px) 100vw, 360px" src="https://i2.wp.com/blog.nycdatascience.com/wp-content/uploads/2017/05/pop.png?resize=360%2C360&ssl=1" alt="" class="wp-image-22065" data-recalc-dims="1"></a><a rel="nofollow" href="https://i2.wp.com/blog.nycdatascience.com/wp-content/uploads/2017/05/US1.jpeg?ssl=1" target="_blank"><img sizes="(max-width: 380px) 100vw, 380px" src="https://i2.wp.com/blog.nycdatascience.com/wp-content/uploads/2017/05/US1-300x300.jpeg?resize=380%2C379&ssl=1" alt="" class="wp-image-22068" data-recalc-dims="1"></a></span></p>
<p><span>The median age of the surveyees is 31. The distribution of ages is right skewed which is expected as tech industry tends to have younger employees.</span></p>
<h1><span><a rel="nofollow" href="https://i2.wp.com/blog.nycdatascience.com/wp-content/uploads/2017/05/Age.png?ssl=1" target="_blank"><img sizes="(max-width: 490px) 100vw, 490px" src="https://i2.wp.com/blog.nycdatascience.com/wp-content/uploads/2017/05/Age-300x300.png?w=450&ssl=1" alt="" class="wp-image-22069" data-recalc-dims="1"></a></span></h1>
<p><span>From the box-plots, there is no statistically significant difference of ages between the treatment and the non treatment groups.</span></p>
<h1><span><a rel="nofollow" href="https://i0.wp.com/blog.nycdatascience.com/wp-content/uploads/2017/05/average-age.png?ssl=1" target="_blank"><img sizes="(max-width: 460px) 100vw, 460px" src="https://i0.wp.com/blog.nycdatascience.com/wp-content/uploads/2017/05/average-age.png?w=450&ssl=1" alt="" class="wp-image-22070" data-recalc-dims="1"></a></span></h1>
<p><span>Below are 6 of the data analysis examples by Chi-Square Testing with the scores and P values. As expected, mental illness is strongly dependent on the family history, work interference. If the companies offer mental-illness care options, it also enhances the mental illness treatment rate, so as gender difference. <span>What is interesting is that the study shows that the data shows that what people may assume correlates with mental illness is not a factor at all.  For example, either remote work or tech type company is a factor does not correlate with t mental illness  so as the supervisor’s attitude.</span></span></p>
<h1><span><a rel="nofollow" href="https://i1.wp.com/blog.nycdatascience.com/wp-content/uploads/2017/05/care.jpeg?ssl=1" target="_blank"><img sizes="(max-width: 600px) 100vw, 600px" src="https://i2.wp.com/blog.nycdatascience.com/wp-content/uploads/2017/05/care-300x208.jpeg?w=450&ssl=1" alt="" class="wp-image-22075" data-recalc-dims="1"></a> <a rel="nofollow" href="https://i2.wp.com/blog.nycdatascience.com/wp-content/uploads/2017/05/family.jpeg?ssl=1" target="_blank"><img sizes="(max-width: 600px) 100vw, 600px" src="https://i1.wp.com/blog.nycdatascience.com/wp-content/uploads/2017/05/family-300x210.jpeg?w=450&ssl=1" alt="" class="wp-image-22076" data-recalc-dims="1"></a> <a rel="nofollow" href="https://i0.wp.com/blog.nycdatascience.com/wp-content/uploads/2017/05/remote.jpeg?ssl=1" target="_blank"><img sizes="(max-width: 600px) 100vw, 600px" src="https://i0.wp.com/blog.nycdatascience.com/wp-content/uploads/2017/05/remote-300x163.jpeg?w=450&ssl=1" alt="" class="wp-image-22077" data-recalc-dims="1"></a> <a rel="nofollow" href="https://i2.wp.com/blog.nycdatascience.com/wp-content/uploads/2017/05/tech.jpeg?ssl=1" target="_blank"><img sizes="(max-width: 600px) 100vw, 600px" src="https://i2.wp.com/blog.nycdatascience.com/wp-content/uploads/2017/05/tech-300x158.jpeg?w=450&ssl=1" alt="" class="wp-image-22078" data-recalc-dims="1"></a> <a rel="nofollow" href="https://i1.wp.com/blog.nycdatascience.com/wp-content/uploads/2017/05/work.jpeg?ssl=1" target="_blank"><img sizes="(max-width: 600px) 100vw, 600px" src="https://i2.wp.com/blog.nycdatascience.com/wp-content/uploads/2017/05/work-300x205.jpeg?w=450&ssl=1" alt="" class="wp-image-22079" data-recalc-dims="1"></a> <a rel="nofollow" href="https://i0.wp.com/blog.nycdatascience.com/wp-content/uploads/2017/05/gender.jpeg?ssl=1" target="_blank"><img sizes="(max-width: 600px) 100vw, 600px" src="https://i1.wp.com/blog.nycdatascience.com/wp-content/uploads/2017/05/gender-300x202.jpeg?w=450&ssl=1" alt="" class="wp-image-22080" data-recalc-dims="1"></a></span></h1>
<h1></h1>
<p> </p>
<h3></h3>
<h3><span>Results and Conclusions:</span></h3>
<p><span><strong>Significant Factors of the Chi-Square tests</strong></span></p>
<p><span>They include: gender, family history, work interference, benefits, care options, mental health interview etc.</span></p>
<p><span><strong>Insignificant Factors of the Chi-Square tests</strong></span></p>
<p><span><span>Identifiers like </span>self_employed, remote work, number of employees, tech or not, supervisors etc. <span>, did not prove significant.</span></span></p>
<p><span>Among the results, the family history, work interference, gender difference are mostly likely to be the main causal factors. If a company has provided better mental health care services, the employees might be more likely to seek treatment or raise their awareness, different genders might tend to seek treatment differently as well. Interestingly, none of the true work conditions has any statistically significant impact on the mental illness of the employees. Human are tougher than they think! One thing to consider is that as the tech industry is primarily located at the US west or east coast or developed countries as shown in the map, the high living cost, competitive atmosphere, and high population density might contribute greatly to the prevalence of mental illness rather than the working conditions themselves.<br>
</span></p>
<h3><span>Future Work</span></h3>
<p><span>Keep exploring on</span></p>
<ul>
<li><span>More data visualization</span></li>
<li><span>Data complexity and subjectivity, location specificity</span></li>
<li><span>Integrating ongoing survey data from 2016</span></li>
<li><span>Interaction among factors</span></li>
<li><span>Predictions with multiple variates</span></li>
</ul>
<p>The post <a rel="nofollow" href="http://blog.nycdatascience.com/student-works/r-shiny/interesting-study-exploring-mental-health-conditions-tech-workplace/" target="_blank">An Interesting Study: Exploring Mental Health Conditions in the Tech Workplace</a> appeared first on <a rel="nofollow" href="http://blog.nycdatascience.com/" target="_blank">NYC Data Science Academy Blog</a>.</p>
<p>
<div>
<div>To <strong>leave a comment</strong> for the author, please follow the link and comment on their blog: <strong><a href="http://blog.nycdatascience.com/student-works/r-shiny/interesting-study-exploring-mental-health-conditions-tech-workplace/"> R – NYC Data Science Academy Blog</a></strong>.</div>
<hr>
<a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers.com</a> offers <strong><a rel="nofollow" href="https://feedburner.google.com/fb/a/mailverify?uri=RBloggers">daily e-mail updates</a></strong> about <a rel="nofollow" href="https://www.r-project.org/" title="The R Project for Statistical Computing">R</a> news and <a rel="nofollow" href="https://www.r-bloggers.com/search/tutorial" title="R tutorials">tutorials</a> on topics such as: <a rel="nofollow" href="https://www.r-bloggers.com/search/data%20science" title="Data science">Data science</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/Big%20Data" title="Big Data">Big Data, <a rel="nofollow" href="https://www.r-users.com/" title="R jobs">R jobs</a>, visualization (<a rel="nofollow" href="https://www.r-bloggers.com/search/ggplot2" title="ggplot and ggplot2 tutorials">ggplot2</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/boxplot" title="Boxplots using lattice and ggplot2 tutorials">Boxplots</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/map" title="Maps and gis">maps</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/animation" title="Animation in R">animation</a>), programming (<a rel="nofollow" href="https://www.r-bloggers.com/search/RStudio" title="RStudio IDE for R">RStudio</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/sweave" title="Sweave and literate programming">Sweave</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/LaTeX" title="LaTeX in R">LaTeX</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/SQL" title="SQL and databases">SQL</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/eclipse" title="Eclipse IDE for R">Eclipse</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/git" title="git and github, Version Control System">git</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/hadoop" title="Large data in R using Hadoop">hadoop</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/Web+Scraping" title="Web Scraping of google, facebook, yahoo, twitter and more using R">Web Scraping</a>) statistics (<a rel="nofollow" href="https://www.r-bloggers.com/search/regression" title="Regressions and ANOVA analysis tutorials">regression</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/PCA" title="principal component analysis tutorial">PCA</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/time+series" title="Time series">time series</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/trading" title="finance trading">trading</a>) and more...
<img width="1" alt="" src="http://feeds.feedburner.com/~r/RBloggers/~4/prW_BBBus1E" height="1"></a></div>