Posts

Showing posts with the label Hypothesis Testing

Data Analysis - Adult Income Dataset

Image
This project is divided into 2 parts: 1. Data Analysis: In this blog post I will show you how to analyze the  Adult Income DataSet which contains income data for about 32500 people from the statistical point of view. 2. Model building: In this part I will build machine learning models: Linear Model(LogisticRegression) and NonLinear model (RandomForest ), which tries to predict if a person will make more or less than $50K a year. Follow the link to Part 2:  Click Here Data Analysis: Response Variable: "Target": whether the person earns less or more than $50K a year. Predictor Variables: 1. "WorkClass" :   Insights: 1. Incorporated self employed group have higher chances of earning >50k ---> ~56% 2. never-worked and without-pay group has no chances of earning > 50k   ---> 0% 3. private sector has the highest percentage of ppl working in it, i.e. ~70%, but prob of getting >50k ---> ~22% 4. If working in federal-gov, p...

Exploratory Data Analysis and Hypothesis Testing - Big Mart Sales

Image
Aim: The purpose of this post is to deal with Exploratory Data Analysis and Hypothesis testing of the Big Mart Sales dataset. This is the first step to my machine learning problem on predicting sales. So, all the changes and transformations  that will be done in this post will be mainly focused on how to make life easier for my models to predict sales. Dataset: This dataset contains 8523 observations and 12 features. Variable Description Item_Identifier Unique product ID Item_Weight Weight of product Item_Fat_Content Whether the product is low fat or not Item_Visibility % of total display area in store allocated to this product Item_Type Category to which product belongs Item_MRP Maximum Retail Price (list price) of product Outlet_Identifier Unique store ID Outlet_Establishment_Year Year in which store was established Outlet_Size Size of the store Outlet_Location_Type Type of city in which store is located Outlet_Type Grocery store or some sort of sup...