Skip to content

Repository files navigation

Student Academic Performance Analysis Using Multiple Linear Regression

Project Preview

Project Overview

This project explores the impact of behavioral, lifestyle, and psychological factors on students' academic performance using Python. The analysis examines how students' study habits: specifically study hours per day, class attendance, extracurricular participation and mental health rating. influence their academic performance, as measured by exam scores The project follows a complete data analysis workflow, including data cleaning, exploratory data analysis (EDA), statistical visualization, and multiple linear regression modeling. The findings provide data-driven insights that can help students, educators, and academic institutions better understand the key factors associated with academic success.


Introduction

Academic performance is influenced by several interconnected factors beyond intelligence alone. Understanding how behavioral, psychological, and environmental variables affect student achievement can help educators and policymakers develop strategies that improve learning outcomes.

This project uses statistical analysis and machine learning techniques to identify the variables that significantly influence students' exam scores and evaluate their impact using a Multiple Linear Regression model.


Project Objectives

  • Analyze the factors influencing students' academic performance.
  • Perform data cleaning and preprocessing.
  • Conduct exploratory data analysis (EDA).
  • Visualize relationships between variables.
  • Build a Multiple Linear Regression model.
  • Evaluate model performance using statistical measures.
  • Provide data-driven conclusions and recommendations.

Dataset Information

Source: Kaggle

The dataset contains 1,000 observations and 16 variables describing students' demographic, academic, behavioral, and psychological characteristics.

Variables include:

  • student_id
  • age
  • gender
  • study_hours_per_day
  • social_media_hours
  • netflix_hours
  • part_time_job
  • attendance_percentage
  • sleep_hours
  • diet_quality
  • exercise_frequency
  • parental_education_level
  • internet_quality
  • mental_health_rating
  • extracurricular_participation
  • Exam Score (Target Variable)

Tools & Libraries Used

  • Python
  • Jupyter Notebook
  • Pandas
  • NumPy
  • Matplotlib
  • Seaborn
  • scipy
  • Statsmodels

Project Workflow

Data Loading

  • Imported the dataset into Python.

Data Understanding

  • Examined the dataset structure.
  • Reviewed data types.
  • Generated descriptive statistics.

Data Cleaning & Preprocessing

  • Checked for missing values.
  • Verified data quality.
  • Prepared the dataset for analysis.

Exploratory Data Analysis (EDA)

  • Explored relationships between variables.
  • Identified important patterns and trends.

Data Visualization

The project includes several visualizations to better understand the dataset, including:

  • Distribution plots
  • Box plots
  • Scatter plots
  • Regression plots

Multiple Linear Regression

A Multiple Linear Regression model was developed to examine the relationship between the predictor variables and students' exam scores.

The regression coefficients, confidence intervals, statistical significance, R², Adjusted R², and F-statistic were interpreted to evaluate the model.


Key Findings

  • Study hours positively influenced students' exam performance.
  • Previous academic performance was one of the strongest predictors of future exam scores.
  • Regular class attendance contributed positively to academic achievement.
  • Behavioral and psychological factors collectively influenced students' performance.
  • The regression model identified statistically significant variables affecting exam scores.
  • The model demonstrated a good overall fit and provided valuable insights into the determinants of academic success.

Repository Contents

  • Student Academic Performance Analysis.ipynb
  • Student Academic Performance Analysis.pdf
  • student_performance.csv
  • Student-Academic-Performance.png

Future Improvements

Future work may include:

  • Comparing Multiple Linear Regression with other machine learning models.
  • Applying feature engineering techniques.
  • Performing hyperparameter tuning.
  • Developing an interactive dashboard.
  • Deploying the model as a web application.

Author

Abdulmalik Ibrahim

AIM Analytics

Website: https://aimanalytics.carrd.co

LinkedIn: https://www.linkedin.com/in/aimanalytics

About

Python project analyzing the factors influencing student academic performance using exploratory data analysis, data visualization and multiple linear regression

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages