Student Habits vs Academic Performance
Assignment 3 - Storytelling with Open Data
Amirhossein Samanipour
Which student habits actually affect grades?
- Many people believe things like “more study always means better
marks” or “social media always reduces performance.”
- This analysis uses a dataset of 1,000 simulated students from Kaggle
to explore how daily habits relate to exam scores.
- The dataset includes attributes such as study hours, sleep hours,
social media use, Netflix time, attendance, exercise, and more.
- The target variable is exam score (0–100).
- The goal is to uncover clear, data-driven insights about which
habits show the strongest relationship with exam performance and what
daily patterns look like for lower vs higher scoring students.
Which Habits Matter Most?
- The two visualizations below show the same information in different
formats.
- They reveal how strongly each habit is correlated with exam
score.
- The goal is to identify which habits have the highest positive
impact on the exam performance and which habits may have a negative or
minimal effect.
Daily Habits: Study, Sleep, and Screens
- To understand how similar students are in their daily routines, we
look at three common habits: study, sleep, and screen time.
- Study hours and sleep hours follow a normal, balanced pattern, most
students fall around healthy midpoints.
- Social media hours are much more varied, with many students spending
a lot more time on screens than others.
- The goal is to see whether students are generally balanced,
overworked, or distracted. Overall, students appear fairly balanced, but
social media use shows the biggest imbalance.
Combined View of Key Habits
- Here, we group students into high, medium, and low performers and
compare all key habits across these groups.
- High performers consistently show more study hours, slightly more
sleep, slightly better attendance, and lower screen time.
- Habits (sleep, attendance, social media, Netflix) show differences,
but their effects are smaller and more overlapping.
- Study hours remain the most impactful habit, but this combined view
shows that performance is influenced by multiple small habits working
together.

Final Key Takeaways Are:
- Study Hours: Strongest positive relationship with exam score; more
study generally means better performance.
- Sleep Hours: Moderate positive effect; consistent 6–8 hours supports
better scores but the impact is modest.
- Social Media Hours: Small negative relationship; more time on social
media slightly lowers average scores but not strongly.
- Attendance: Moderate positive effect; higher attendance is
associated with higher median exam scores.
- Netflix Hours: Small negative relationship; heavier Netflix use is
more often linked with lower performance.