← Back to portfolio

Case Study • Exploratory Data Analysis

Gaming Habits & Mental Health

Empirical Python evaluation of how daily playtime relates to anxiety, depression, stress, and addiction indicators.

RoleData Analyst
FocusEDA & Hypothesis Testing
StackPython, Pandas, Seaborn, Matplotlib

1. Context & Business Question

Popular assumptions often claim that playing video games directly degrades mental health. The goal was to audit a broad player dataset to test empirically whether there is a direct link between hours played and wellbeing metrics such as anxiety, depression, and sleep duration.

2. Visual Evidence & Findings

Exploratory workflow from demographic structure to impact correlation:

Age distribution of players
Phase 1: Demographic Audit

Balanced age distribution (15 to 60 years)

The sample shows broad representation across age brackets, ensuring that findings are not driven solely by an adolescent niche.

Distribution of daily gaming hours
Phase 2: Usage Pattern

Casual core with a long tail

Most players average 2 to 4 hours per day, with a gradual decline toward heavy usage exceeding 10 hours daily.

Correlation heatmap
Phase 3: Hypothesis Testing

Decoupling between playtime and mental health

Correlations between gaming hours and anxiety (-0.0088), depression (0.0029), or stress (0.0067) scores are near zero, ruling out direct linear correlation in aggregate data.

Scatter plot of playtime versus addiction level
Phase 4: Critical Finding

Strong link with self-reported addiction level (r = 0.89)

While affective symptoms showed no direct correlation, higher playtime aligns linearly with perceived loss of control and dependency.

Key Takeaways

  • Data vs. Assumptions: Playing more hours does not automatically mean higher anxiety or depression scores in the analyzed sample.
  • Actionable Risk Signal: Monitoring should focus on addiction levels and sleep or exercise displacement rather than playtime alone.