Coder Social home page Coder Social logo

fhoces / aes-roy-majors Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tyleransom/aes-roy-majors

0.0 0.0 0.0 4.1 MB

Replication files for "Selective Migration, Occupational Choice, and the Wage Returns to College Majors" (Annals of Economics and Statistics, 2021)

License: MIT License

R 6.10% TeX 0.92% PostScript 92.98%

aes-roy-majors's Introduction

AES-Roy-Majors

This repository provides replication files for the paper "Selective Migration, Occupational Choice, and the Wage Returns to College Majors" written by Tyler Ransom and published in Annals of Economics and Statistics in 2021. The paper is available here.

System requirements

  • R version 4.0.x
  • packages called at the top of Data/import_and_clean19.R and Analysis/analysis_all.R
  • A machine with at least 32GB of RAM, four processors and at least 50GB of hard drive space

Data

  • Data comes from IPUMS USA
  • In accordance to IPUMS licensing requirements, I do not post the raw data here
  • For a list of variables included in the raw data extract, see Data/usa_00045.xml
  • To obtain the raw data, you will need to create an account at IPUMS USA and then create an extract using the variables listed in Data/usa_00045.xml
  • Save this raw data file in the Data folder

Steps to reproduce the results

  1. Obtain data as described directly above
  2. Run Data/import_and_clean19.R
  3. Run Analysis/analysis_all.R
  4. Run the following files in Simulations/:
    • simulation.R
    • simulationCorrEps.R
    • simulationCorrEpsCorrEta.R
    • simulation1e3.R
    • simulation1e3CorrEps.R
    • simulation1e3CorrEpsCorrEta.R
    • and then cometogether.R
    • (See Simulations/README.md for further details)

WARNING: it may take up to 3 days for the results to complete. This time may be reduced if you have more RAM and more processors. (The majority of computation time is spent on bootstrapping standard errors; this time can be reduced by increasing the number of workers on line 313 of Analysis/table3splitBoot.R.)

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.