Student Mental Health Dashboard with R Shiny

Posted on Nov 10, 2022

https://github.com/robertjgarciaphd/Student-Mental-Health-R-Shiny.git

Overview

As someone with six years of teaching experience at the university level, I have firsthand familiarity with a wide range of student mental health concerns and their impact on academic performance.ย  I was curious to explore this from a research and data analytics perspective.ย  For this project, I chose to examine the research question of how student mental health varies across demographics.ย  To answer this question, I chose to create an app that:

  • Visualizes data
  • Allows users to apply filters
  • Allows users to adjust the display in real-time

This dataset consisted of N = 101 students at the International Islamic University of Malaysia.ย  This dataset was hosted on Kaggle.

Columns in the data set included:

I divided these columns into two categories:

  • Predictor variables

  • Outcome variables

App Design

Key considerations for my app design included:

  • Allowing users to filter by student demographics
    • Default setting: Include all students in the sample
  • Showing how many students are left after filtering
  • Showing all output/dependent variables simultaneously

 

App Interface

Insights

The sample size was not just small, but it turned out to be highly skewed as well.ย  Only 8 students in the sample were in Year 4, making comparisons across students' year of study impossible.ย  Less surprisingly, there were not enough students in each of the numerous majors to make comparisons.ย  The skew extended to the variables of Gender (74.3%), CGPA (85+% with 3.00 cumulative GPA or higher), and marital status (84.2% unmarried).ย ย In short, all the input variables were skewed, making it difficult to make any conclusions, especially given the small sample size.

Practical Value

Despite the lack of insight we can extract from the data, this project still was useful as a proof of concept for mental health dashboards.ย  It provides easy snapshots of mental health outcomes like depression, anxiety, and panic attacks to help identify which student groups are most at risk.ย  This could be shared with counselors and administrators to help allocate mental health services and resources.ย  ย It could also be adapted to corporate contexts to keep tabs on employee well-being with different outcome variables.

Future Directions

Some considerations to expand upon this work include uploading a larger data set with less skew and more students in each major.ย  This would enable us to make statistically-informed conclusions.ย  It would also be helpfulย to have longitudinal data to track the progress of treatment and understand which students are or are not improving.

 

 

 

About Author

Robert Garcia

Robert holds a Ph.D. in Psychology and Social Behavior, an M.A. in Social Ecology, and a B.S. in Cognitive Science. He has experience working in both the for-profit and non-profit sectors.
View all posts by Robert Garcia >

Leave a Comment

No comments found.

View Posts by Categories


Our Recent Popular Posts


View Posts by Tags

#python #trainwithnycdsa 2019 2020 Revenue 3-points agriculture air quality airbnb airline alcohol Alex Baransky algorithm alumni Alumni Interview Alumni Reviews Alumni Spotlight alumni story Alumnus ames dataset ames housing dataset apartment rent API Application artist aws bank loans beautiful soup Best Bootcamp Best Data Science 2019 Best Data Science Bootcamp Best Data Science Bootcamp 2020 Best Ranked Big Data Book Launch Book-Signing bootcamp Bootcamp Alumni Bootcamp Prep boston safety Bundles cake recipe California Cancer Research capstone car price Career Career Day citibike classic cars classpass clustering Coding Course Demo Course Report covid 19 credit credit card crime frequency crops D3.js data data analysis Data Analyst data analytics data for tripadvisor reviews data science Data Science Academy Data Science Bootcamp Data science jobs Data Science Reviews Data Scientist Data Scientist Jobs data visualization database Deep Learning Demo Day Discount disney dplyr drug data e-commerce economy employee employee burnout employer networking environment feature engineering Finance Financial Data Science fitness studio Flask flight delay gbm Get Hired ggplot2 googleVis H20 Hadoop hallmark holiday movie happiness healthcare frauds higgs boson Hiring hiring partner events Hiring Partners hotels housing housing data housing predictions housing price hy-vee Income Industry Experts Injuries Instructor Blog Instructor Interview insurance italki Job Job Placement Jobs Jon Krohn JP Morgan Chase Kaggle Kickstarter las vegas airport lasso regression Lead Data Scienctist Lead Data Scientist leaflet league linear regression Logistic Regression machine learning Maps market matplotlib Medical Research Meet the team meetup methal health miami beach movie music Napoli NBA netflix Networking neural network Neural networks New Courses NHL nlp NYC NYC Data Science nyc data science academy NYC Open Data nyc property NYCDSA NYCDSA Alumni Online Online Bootcamp Online Training Open Data painter pandas Part-time performance phoenix pollutants Portfolio Development precision measurement prediction Prework Programming public safety PwC python Python Data Analysis python machine learning python scrapy python web scraping python webscraping Python Workshop R R Data Analysis R language R Programming R Shiny r studio R Visualization R Workshop R-bloggers random forest Ranking recommendation recommendation system regression Remote remote data science bootcamp Scrapy scrapy visualization seaborn seafood type Selenium sentiment analysis sentiment classification Shiny Shiny Dashboard Spark Special Special Summer Sports statistics streaming Student Interview Student Showcase SVM Switchup Tableau teachers team team performance TensorFlow Testimonial tf-idf Top Data Science Bootcamp Top manufacturing companies Transfers tweets twitter videos visualization wallstreet wallstreetbets web scraping Weekend Course What to expect whiskey whiskeyadvocate wildfire word cloud word2vec XGBoost yelp youtube trending ZORI