This project analyzes the impact of lifestyle factors on student stress levels using data analytics techniques and interactive dashboards built in Power BI and Tableau. It includes EDA, data visualization, descriptive statistics, predictive modeling, and correlation analysis.
- File:
student_lifestyle_dataset.csv(unzipped from StudentLifeStyle.zip) - Records: Each row represents a student with lifestyle attributes and their stress level.
- Features Include:
GenderAgeGPASleep_HoursStudy_HoursPhysical_ActivityInternet_UsageStress_Level(target variable)
- Handled missing values and checked for duplicates.
- Visualized distributions using:
- Countplots (
Stress_Level) - Boxplots (
GPA,Sleep_Hours) - Histograms (
Internet_Usage)
- Countplots (
- Categorical encoding for modeling.
- Pearson correlation for numerical features.
- Heatmaps to identify correlated features with
Stress_Level.
- Used
.describe()and groupby aggregation. - Summarized mean, median, std by stress levels.
- Logistic Regression, Random Forest Classifier.
- Train-test split (80-20).
- Evaluation using accuracy, precision, recall, and confusion matrix.
- Treemap: Stress Level segmented by GPA Category.
- Bar Chart: Sleep Hours by Stress Level.
- Scatter Plot: GPA vs. Internet Usage with Stress Level as color.
- Filters for Gender and Physical Activity.
- Connect Tableau to the CSV file.
- Create calculated fields (e.g.,
GPA Category). - Use "Show Me" panel to build visuals.
- Add sheets to a single dashboard view.
