Column 1

Background

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.

Results

  • Pass rates were similar at every level of weekend drinking. 66.9% of very-low drinkers passed math, compared with 67.2% of students at levels 2–5 (67.1% overall).
  • The lowest pass rates were at level 4 (60.8%) and level 5 (64.3%), but only 79 students reported these levels, so these estimates are imprecise.
  • Median final grades dipped slightly, from 11 to 10, from the lowest to the highest drinking levels, and grades varied widely within every group.

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.

Column 2

Percent of students passing math, by weekend alcohol use

Final math grades, by weekend alcohol use