Skip to content

An exploratory data analysis (EDA) project that investigates wage disparities between Black and White workers in the United States over time. This analysis uses statistical methods, visualizations, and hypothesis testing to uncover trends, measure wage gaps, and identify patterns across race and gender from historical data.

License

Notifications You must be signed in to change notification settings

SaurabhSSB/wage-gap-analysis-usa

Repository files navigation

Wage Gap Analysis USA

This repository explores wage disparities between Black and White workers in the United States through data analysis and visualization techniques. The project aims to uncover trends, identify inequality patterns, and provide actionable insights using historical wage data.

📊 Project Overview

  • Objective: Analyze and visualize the wage gap between Black and White individuals in the U.S. labor force, including gender-based trends.
  • Approach: Exploratory Data Analysis (EDA), statistical testing (t-tests), and visual storytelling using Python.
  • Tools Used:
    • Python
    • Pandas
    • Seaborn
    • Matplotlib
    • NumPy
    • SciPy

📁 Files Included

File Name Description
1_familliarization.ipynb Initial dataset familiarization
2_eda.ipynb Exploratory data analysis
black_white_wage_gap.csv Wage data used for analysis
Black - White Wage Gap in USA EDA.py Full Python script with visualizations
black_white.docx Summary of findings and recommendations

📈 Key Insights

  • Wage Gap: The wage gap has persisted over time, with significant differences observed between Black and White workers.
  • Gender Dynamics: Wage disparities exist both within and across gender lines.
  • Statistical Tests: t-tests indicate statistically significant wage differences across subgroups.

✅ Recommendations

  • Advocate for equal pay and fair labor practices.
  • Conduct deeper industry-wise and intersectional analysis.
  • Promote continuous monitoring and policy-based interventions.

🔍 Sample Visualization

Wage Gap Over Time
A sample chart showcasing wage comparison trends over the years.

Wage Gap Over Time
A sample chart showcasing wage difference trends over the years.

📌 How to Run

  1. Clone the repo:
    git clone https://github.com/yourusername/wage-gap-analysis-usa.git
  2. Install dependencies:
    pip install -r requirements.txt
  3. Open the notebooks or run the .py script in your IDE or Jupyter.

🏷️ Keywords

wage gap, racial inequality, black white wage gap, data analysis, Python, visualization, t-test, income disparity, USA labor market, gender wage gap


📄 License

This project is open-source and available under the MIT License.

About

An exploratory data analysis (EDA) project that investigates wage disparities between Black and White workers in the United States over time. This analysis uses statistical methods, visualizations, and hypothesis testing to uncover trends, measure wage gaps, and identify patterns across race and gender from historical data.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published