Update README.md
Browse files
README.md
CHANGED
|
@@ -4,24 +4,24 @@ Dataset & Analysis by Lipaz Levy
|
|
| 4 |
This project explores how students’ daily habits — including study hours, sleep, social media use, lifestyle factors, mental health, exercise, diet quality, and more — influence their academic performance.
|
| 5 |
|
| 6 |
---
|
| 7 |
-
We used a dataset of **
|
| 8 |
The goal was to answer:
|
| 9 |
|
| 10 |
-
|
| 11 |
|
| 12 |
---
|
| 13 |
|
| 14 |
-
#
|
| 15 |
|
| 16 |
Before performing analysis, several preprocessing steps were required to clean and prepare the dataset.
|
| 17 |
|
| 18 |
-
##
|
| 19 |
- No missing values were found.
|
| 20 |
|
| 21 |
-
##
|
| 22 |
- Trimmed spaces from categorical values (“ Yes” → “Yes”).
|
| 23 |
|
| 24 |
-
##
|
| 25 |
Added encoded columns:
|
| 26 |
|
| 27 |
- **diet_quality_encoded**
|
|
@@ -34,7 +34,7 @@ Added encoded columns:
|
|
| 34 |
- Average → 1
|
| 35 |
- Good → 2
|
| 36 |
|
| 37 |
-
##
|
| 38 |
Ensured all measurement columns were floats:
|
| 39 |
- study_hours_per_day
|
| 40 |
- sleep_hours
|
|
@@ -44,11 +44,11 @@ Ensured all measurement columns were floats:
|
|
| 44 |
- attendance_percentage
|
| 45 |
- exam_score
|
| 46 |
|
| 47 |
-
##
|
| 48 |
- **Original:** 1001 rows × 16 columns
|
| 49 |
- **After encoding:** 1001 rows × 18 columns
|
| 50 |
|
| 51 |
-
##
|
| 52 |
- All values were within valid human ranges.
|
| 53 |
- No rows were removed.
|
| 54 |
|
|
@@ -174,7 +174,7 @@ Mental health is one of the strongest predictors.
|
|
| 174 |
|
| 175 |
---
|
| 176 |
|
| 177 |
-
#
|
| 178 |
Study time, mental health, and exercise show positive influence on exam scores.
|
| 179 |
Netflix hours and heavy social media use show negative or weak negative effects.
|
| 180 |
Lifestyle factors such as attendance, diet, and internet quality matter less than expected.
|
|
|
|
| 4 |
This project explores how students’ daily habits — including study hours, sleep, social media use, lifestyle factors, mental health, exercise, diet quality, and more — influence their academic performance.
|
| 5 |
|
| 6 |
---
|
| 7 |
+
We used a dataset of **1001 students**, each with lifestyle habits, well-being indicators, and exam scores.
|
| 8 |
The goal was to answer:
|
| 9 |
|
| 10 |
+
**How do students’ daily habits affect their exam performance?**
|
| 11 |
|
| 12 |
---
|
| 13 |
|
| 14 |
+
# Data Cleaning & Preprocessing
|
| 15 |
|
| 16 |
Before performing analysis, several preprocessing steps were required to clean and prepare the dataset.
|
| 17 |
|
| 18 |
+
## 1. Checked for missing values
|
| 19 |
- No missing values were found.
|
| 20 |
|
| 21 |
+
## 2. Fixed formatting issues
|
| 22 |
- Trimmed spaces from categorical values (“ Yes” → “Yes”).
|
| 23 |
|
| 24 |
+
## 3. Encoded categorical variables for correlations & regressions
|
| 25 |
Added encoded columns:
|
| 26 |
|
| 27 |
- **diet_quality_encoded**
|
|
|
|
| 34 |
- Average → 1
|
| 35 |
- Good → 2
|
| 36 |
|
| 37 |
+
## 4. Converted columns to numeric
|
| 38 |
Ensured all measurement columns were floats:
|
| 39 |
- study_hours_per_day
|
| 40 |
- sleep_hours
|
|
|
|
| 44 |
- attendance_percentage
|
| 45 |
- exam_score
|
| 46 |
|
| 47 |
+
## 5. Dataset shape
|
| 48 |
- **Original:** 1001 rows × 16 columns
|
| 49 |
- **After encoding:** 1001 rows × 18 columns
|
| 50 |
|
| 51 |
+
## 6. Outlier check
|
| 52 |
- All values were within valid human ranges.
|
| 53 |
- No rows were removed.
|
| 54 |
|
|
|
|
| 174 |
|
| 175 |
---
|
| 176 |
|
| 177 |
+
# **Conclusion**
|
| 178 |
Study time, mental health, and exercise show positive influence on exam scores.
|
| 179 |
Netflix hours and heavy social media use show negative or weak negative effects.
|
| 180 |
Lifestyle factors such as attendance, diet, and internet quality matter less than expected.
|