Skip to content

GopalGB/Walmart_ConfidenceInterval_CLT

Repository files navigation

Walmart Customer Purchase Analysis

Business Problem

Walmart aims to analyze customer purchase behavior during Black Friday, specifically comparing spending habits between male and female customers. The management seeks insights to make informed decisions and potential improvements.

Dataset

  • Features: User_ID, Product_ID, Gender, Age, Occupation, City_Category, StayInCurrentCityYears, Marital_Status, ProductCategory, Purchase
  • Target: Analyze purchase amount against gender and other factors.

Approach

  1. Data Analysis:

    • Import and explore dataset structure and characteristics.
    • Detect null values and outliers using boxplots, "describe" method, and checking for null values.
  2. Data Exploration:

    • Track spending per transaction for 50 million female and male customers.
    • Calculate average spending for each gender and infer results.
    • Use sample averages to compute confidence intervals for male and female spending.
    • Observe distribution of mean expenses using the Central Limit Theorem.
  3. Statistical Analysis:

    • Compare confidence intervals of average spending for married vs. unmarried customers.
    • Analyze spending behavior across different age groups.
  4. Insights and Recommendations:

    • Provide insights on data attributes, their ranges, and relationships.
    • Interpret results of gender, marital status, and age-based spending analysis.
    • Offer actionable recommendations for Walmart based on the findings.

Problems

  • Define problem statement and analyze basic metrics.
  • Explore data shape, types, and attribute conversion.
  • Perform non-graphical and visual analysis for insights.
  • Detect missing values and outliers.
  • Answer specific questions regarding spending behavior.
  • Provide final insights and actionable recommendations.

Conclusion

By analyzing customer purchase behavior, Walmart can gain valuable insights into spending habits across different demographics. Understanding these patterns can help Walmart make targeted improvements to enhance customer experience and drive business growth.

About

Central Limit Theorem and confidence interval analysis on Walmart customer purchase data

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors