Giter Club home page Giter Club logo

into_the_soyverse's Introduction

Into the SoyVerse

Meat Consumption Chronicles

Objective

Our objective was to use a linear regression model to predict an outcome using depedant(target) and independant(features) variables.

In our analysis meat consumption was our depandant variable. We utilized 35+ features into our model to make our prediction.

Data Collection

  • BLS.gov/Consumer_Expendenture

  • Interviewers - Bigger purchases

  • Diary - Minor purchases

Collected by U.S Census Bureau

The Consumer Expenditure Survey (CE) is a nationwide household survey conducted by the U.S. Bureau of Labor Statistics (BLS) to find out how Americans spend their money.

  • The C.E is the basis for the Consumer Price Index.
  • Each quarter about 3,000 people kept a diaries for a two week period.

Questions before Analysis

  1. What is the impact of meat consumption on:
  • Generation
  • Marital Status
  • Region
  • Gender
  1. Does High Income and Small Family Size mean more meat consumption?

Exploratory Data Analysis

What is the impact of Generation and Marital Status on meat consumption?

  1. Observation - Generation

Our observation shows Millennials are less likely to purchase meat than Baby Boomer


  1. Observation - Marital Status

Our observation shows married couples are more likely to purchase more meats than the other marital groups


Which Region eats more or less meat?

  1. Observation - Region

Uncontrolled Group

Income Controlled Group

Our observation shows when we control for income, meat per person in the South becomes more pronounced


Which Gender consumes more or less meat?

  1. Observation - Gender

Our observation shows women are more likely to spend less on meat than men. The long right tail of the men money spent on meat histogram shows that men spend more.


Does High-Income and Small Family Size show more meat consumption

  1. Observation - High Income and Family Size

Our observation shows that low-income families and small family size tend to purchase more meat than families with higher income and bigger family size


Modeling

Features

Linear Model - The Features

Categorical

  • Education - Categorical - 5 Variables
  • Gender - Categorical - 2 Variables
  • Location - Categorical - 4 Variables
  • Marital Status- Categorical - 5 Variables
  • Family Size- Categorical - 5 Variables

Continous

  • Meat Purchase - Continuous
  • Tobacco Purchased - Continuous
  • Alcohol Purchased - Continuous
  • Vegetables Purchased -Continuous
  • Income - Continuous/Categorical
  • Age - Continuous/Categorical

In total 35+ Features used in our model


Coeffiecients

Negative and Positive Coefficients

Negative Coefficients

  • Single Millennials
  • Women Millennials
  • Family Members of More Than Four

Positive Coefficients

  • Veggie Person
  • No High School Education
  • High Income
  • Baby Boomers
  • Men
  • Two or More Family Members

Model - One

Residuals

Model - Nine

Residuals

Conclusion

Key Takeaways

From a business standpoint Baby Boomers from the South buy more meat which can lead to possible increase in sales.

into_the_soyverse's People

Contributors

jwdaniel34 avatar bgilroy26 avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

bgilroy26

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.