Giter VIP home page Giter VIP logo

arora_precog's Introduction

This project contains data and code supporting Arora, et al. 2019. Instructions for setting up the environment in linux follow.

git clone https://github.com/mfschmidt/arora_precog.git
cd arora_precog
pipenv install  # (based on the Pipfile) installs ipykernel and jupyter
pipenv shell
python -m ipykernel install --user --name=arora_precog
jupyter lab  # or jupyter notebook

For MacOS or Windows, try installing Jupyter via Anaconda, and running from wherever you download this git repository.

From there, you can explore the methods used and reproduce them if desired. The analyses are broken into three notebooks and one support file. If running analyses, each is dependent upon output from its predecessor, so 01 must be run first, then 02, then 03.

  • common.py is a support file. It defines filenames and color palettes so other notebooks can be consistent without redefining them.
  • 01_collect_data.ipynb pulls data from the Excel spreadsheet and stores it into dataframes appropriate for scipy and matplotlib analyses and plots.
  • 02_summarize_data.ipynb summarizes hit rates and sex distribution. It also compares its own calculated hit rates to those calculated in the Excel spreadsheet.
  • 03_analyze_data.ipynb does most of the work for publication. It builds plots to visualize relationships in the data. It then runs t-tests and correlations to quantify relationships.

Outputs (dataframes and images) are not controlled by git, so the notebooks must be executed locally to generate them.

arora_precog's People

Contributors

mfschmidt avatar dependabot[bot] avatar spiropan avatar

Watchers

 avatar  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.