A descriptive first look at the question behind my causal inference final project: is weekend drinking linked to passing math?
Data source: Student Performance dataset (Cortez & Silva, 2008), UCI Machine Learning Repository, accessed via Kaggle (student-mat.csv).
Data: 395 students aged 15–22 enrolled in math at two public secondary schools in Portugal, collected from school records and student questionnaires during the 2005–2006 school year.
Exposure and outcome: Students rated their weekend alcohol use from 1 (very low) to 5 (very high). The outcome is the final math grade (G3) on Portugal’s 0–20 scale, where 10 or higher is passing.
Research question: Do students who report more weekend drinking pass math less often than students who report very little?
Why it matters: Weekend drinking is common in this group: 62% of students rated theirs above “very low.” School health staff, teachers, and parents can use this data to determine if increased alcohol use leads to poor grades. This could inform potential interventions to reduce alcohol consumption and increase overall school performance.
Take-home message: In raw, unadjusted comparisons, weekend drinking does not clearly separate students who pass math from those who don’t. Factors like sex, study time, and going out with friends are related to both drinking and grades and could hide or create an association, so an adjusted analysis is needed.