GithubHelp home page GithubHelp logo

syedmfuad / food_store_location_pred Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 130 KB

Codes for food store presence, density and popularity predictor. Merges census tract-level demographic data from ACS, neighborhood amenities from heterogenous sources, and Point of Interest (POI) data from anonymized cellphone GPS ‘pings’ to identify food retailer location and foot traffic information.

R 89.92% Stata 10.08%
food-security food-store gradient-boosting-classifier gradient-boosting-regressor machine-learning predictive-modeling

food_store_location_pred's Introduction

food_store_location_pred

This paper uses census tract-level data to determine the presence, density, and popularity of U.S. food retailers. We merge census tract-level demographic data from ACS, neighborhood amenities from heterogenous sources, and Point of Interest (POI) data from anonymized cellphone GPS ‘pings’ to identify food retailer location and foot traffic information.

Sequence: ACS -> Merge -> Regressions

acs2010_codes.R

Downloads ACS 2010 5-year average census tract level demographic data + 2010 dicennial census data. Merges census tract-level data on walkability scores, job density, transit availability, road network, local sales tax and county-level crime statistics.

acs2019_codes.R

Same as above but with 2019 data.

merge.R

Merges with Safegraph point-of-interest data (store count) and store visit frequency data.

regressions.R

  • Correlation plot
  • t-test
  • Logit
  • Gradient Boosted Logit
  • Gradient Boosted Logit w/ balancing
  • OLS
  • Gradient Boosted OLS

nbreg.do

  • Negative binomial regression
  • Zero-truncated negative binomial regression

33523-0004-Data.rda

Crime data

Variable list.xlsx

Total list of variables in final data

food_store_location_pred's People

Contributors

syedmfuad avatar

Stargazers

 avatar

Watchers

 avatar

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.