KatInterview

Quantifying Weather Impact on Mental Well-Being

Statistics & ExperimentsModel answer
EasyModel answerStatistics & Experimentscausal inferencepanel datafixed effects

Last updated

Design an observational study using panel data to isolate the causal impact of ambient temperature on daily mood scores while controlling for confounders and reporting bias.

You work for a digital health platform that tracks daily self-reported emotional well-being scores (on an integer scale from $1$ to $10$) from users across the globe. The product management team wants to understand the true causal effect of daily local outdoor temperature on user-reported mood.

You are given two high-volume datasets:

  1. user_mood: Logs containing user_id, date, zip_code, and mood_score.
  2. weather_metrics: Logs containing zip_code, date, max_temperature, precipitation, and sunlight_hours.

Design a comprehensive econometric/statistical framework to estimate this effect. In your answer, address the following:

  1. Variables & Units: Specify the exact treatment and outcome variables, along with the appropriate unit of analysis.
  2. Confounding & Bias: Describe at least three primary sources of bias or confounding that would invalidate a naive regression model.
  3. Identification Strategy: Formulate a statistical model that isolates the causal relationship from unobserved shocks and fixed differences.
  4. Validation & Sensitivity: Outline specific diagnostic and placebo tests to verify that your model captures a genuine causal link rather than a spurious correlation.

Hints

Hint 1

Avoid cross-sectional comparisons between geographic regions, as regions differ in baseline happiness, cost of living, and demographics.

Hint 2

Consider using fixed effects at the user, geographic, and calendar levels to absorb unobserved heterogeneity.

Hint 3

Think about whether the act of logging a mood score itself is influenced by outdoor weather conditions (selection bias).