Coder Social home page Coder Social logo

vincentpalacios / acs-pums Goto Github PK

View Code? Open in Web Editor NEW
8.0 3.0 2.0 137 KB

Here one can find sample code to access American Community Survey (ACS) Public Use Microdata Samlpe (PUMS) and run simple analyses at the national and state level. The scripts are meant to be run in Stata or R, but the logic is transferable to other programs such as SAS, SPSS, and so on.

Stata 94.06% R 5.94%

acs-pums's Introduction

ACS-PUMS

Here one can find sample code to access American Community Survey (ACS) Public Use Microdata Samlpe (PUMS) and run simple analyses at the national and state level. The scripts are meant to be run in Stata or R, but the logic is transferable to other programs such as SAS, SPSS, and so on. I will be populating this folder over time with new examples and requested code, so please check back in the future.

The process of analyzing ACS PUMS data generally includes the following steps:

IF NOT:

  • Read data dictionary to identify variables
  • Identify unit of analysis: person file or household file variables needed?
  • Refer to subjects file if needed for concepts
  • Retrieve/convert the data
  • Read readme file to see what variables have changed in PUMS vintage
  • Log results
  • Load data from population or household file (or both)
  • Inspect data
    • Be careful for missing values or categorical codings
  • Define new variables
  • Tabulate or summarize data
  • Use weights
  • Check reasonableness of estimates
  • Check sample sizes of estimates
  • Check standard errors of estimates
  • Compare estimates with other known data for external validation
  • Only communicate differences in esimtates if they are statistically different from each other
  • Cite data source appropriately
    • e.g. 2012-2016 ACS 5-year PUMS data

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 United States License.

acs-pums's People

Contributors

vincentpalacios avatar

Stargazers

 avatar Igor Geyn avatar Emily Riederer avatar Steven V. Miller avatar Jonathan Frazier avatar Hayley Brown avatar alicia avatar Donghui Wang avatar

Watchers

James Cloos avatar  avatar Donghui Wang avatar

Forkers

mandixbw lexincai

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.