Giter Club home page Giter Club logo

glyphosate-birthweight's Introduction

Requirements

We run the analysis using make version 4.4.1

make data-clean will generate all of the intermediate files we need for the analysis. On my computer it just took 4 minutes to run all targets. This does not run two categories of targets: downloading data and the water ML pipeline. Those both take a while to run, and thus I recommend you just get their data outputs from dropbox for now, along with the data we downloaded manually---they are grouped together in the data/download-manual, data/download-script, and data/watershed directories.

I've set it up so that make data-raw will create all of the files in the data/raw directory, make data-clean creates all of the files in the data/clean directory, make water creates all of the files in the data/watershed directory, and make data-download creates all of the files in the data/download-script directory.

For analysis:

  • make desc-figs will create the descriptive time series plots and maps
  • make cnty-results runs the county level analysis (event studies, DiD, TSLS for many outcomes and different treatment vars) and creates the event study figures. It also does the Ag district level analysis
  • TODO: The main analysis is not yet in the makefile, we need to add it!

API Keys

The following API keys are required, save them to .Renviron with with usethis::edit_r_environ()

Other Data

Ag district to county crosswalk from here.

glyphosate-birthweight's People

Contributors

emmettsaulnier avatar edrubin avatar

Watchers

 avatar  avatar

glyphosate-birthweight's Issues

Various sample restrictions

  • Estimate with just the midwest and northeast census regions (or estimate separately by census region)
  • Estimate with just white households

Make updated water figures

Using the newly estimated water models, make results figures/tables and put them into the draft (supplemental material)

  • Simple upstream bins
  • Upstream bins interacted with soil/rainfall
  • ML version

Remove 1990/91 from 2SLS model

We want to keep 1990 and 91 in reduced form since that doesn't involve the missing GLY data from 1990/91, but should remove it from the 2SLS model since we don't have actual GLY data (currently treating as zeroes).

Create a metaparameter for `noindicators-#` in the ML process.

Currently, we have different sets of training parameters and comment out whether we want the imputation indicators as features in the ML model.

We should define these choices up front (in the Makefile or in 01a-ml-prep-data.R) and then update the rest of the scripts that call specific files (like natality-micro-tf-train80-noindicators-2-full-cvpred.fst).

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.