Skip to content

Mental Health Insights on Working Environment - Stack Overflow 2022 Survey Analysis

Notifications You must be signed in to change notification settings

peronecode/stackoverflow-mental-health-2022

Repository files navigation

Mental Health Insights on Working Environment based on Stack Overflow 2022 Survey Analysis.

This analysis aims to explore the Stack Overflow 2022 survey results dataset results related to mental health in the workplace, answering six key questions related to the prevalence of mental health. The goal is to provide statistical and visual insights to help organizations prioritize mental health programs and initiatives. The graphs demonstrate the importance of prioritizing mental health programs in the workplace and supporting the workforce’s overall well-being.

The statistical analysis of the Stack Overflow annual survey results dataset has shown that mental health is an important concern among employed professionals. The analysis variation reveals that there are significant differences in the prevalence of mental health issues among different work models. Prioritizing mental health programs and initiatives can enhance the well-being, engagement, and performance of employees. Check the results in this Medium post.

In Data Science, confidence levels are important because they provide a range of values within which the true population parameter is likely to lie. This analysis aims to maintain clarity and inform readers to avoid any potential biases. The calculations for these statistics were done with a confidence level of 95%, meaning that there is a high probability (95%) that the true value of the population parameter lies within the estimated range. It’s important to note that in the remaining 5% of cases, the estimated range may not include the true value of the parameter.

Are there any suggestions for improvement or anything important that we might have overlooked? I invite you to share your thoughts by leaving a comment below or opening a pull request on this GitHub repository. Alternatively, you can reach out to me via LinkedIn.

I would greatly appreciate your feedback on my analysis. Together, we can enhance the quality of our work and achieve better results.

Installation

To get started, extract the compressed ZIP file that contains the dataset and the survey data explanation, which includes the survey PDF and its schema.

Note that this code is compatible with Python 3 or higher, and requires a few libraries which can be installed using the following command:

pip install -r requirements.txt

Libraries Used

  • pandas==1.3.5
  • numpy==1.22.4
  • matplotlib==3.5.3
  • statsmodels==0.13.5

File Desction

  • requirements.txt - Py installation requirements
  • stack-overflow-survey-2022.ipynb - Notebook containing the data analysis
  • stack-overflow-developer-survey-2022.zip - Compressed downloaded dataset files
  • stack-overflow-developer-survey-2022/survey_results_public.csv Uncompressed CSV dataset itself

Licensing, Author and Acknowledgements

About

Mental Health Insights on Working Environment - Stack Overflow 2022 Survey Analysis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published