Git Product home page Git Product logo

facebookresearch / cdeets Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 24.22 MB

The codes reproduce the figures and statistics in the paper, "Calibration of P-values for calibration and for deviation of a subpopulation from the full population," by Mark Tygert. The repo also provides the LaTeX and BibTeX sources required for replicating the paper.

License: MIT License

Python 45.44% TeX 54.56%

cdeets's Introduction

The accompanying codes reproduce all figures and statistics presented in "Calibration of P-values for calibration and for deviation of a subpopulation from the full population," by Mark Tygert. This repository also provides LaTeX and BibTeX sources for replicating the paper.

The main files in the repository are the following:

tex/paper.pdf PDF version of the paper

tex/paper.tex LaTeX source for the paper

tex/paper.bib BibTeX source for the paper

tex/jasa3.bst BibTeX style for the paper

codes/dists.py Calculations of cumulative distribution functions for standard Brownian motions

codes/subpop_weighted.py Functions for plotting deviation of a subpop. from the full pop. with weighting

codes/acs.py Python script for processing the American Community Survey

codes/psam_h06.csv.gz Microdata from the 2019 American Community Survey of the U.S. Census Bureau

Be sure to run gunzip codes/psam_h06.csv.gz to decompress the microdata. Regenerating all the figures requires running in the subdirectory codes all Python files there, after having decompressed codes/psam_h06.csv.gz.

The unit tests invoke ImageMagick's convert.


License

This cdeets software is licensed under the LICENSE file (the MIT license) in the root directory of this source tree.

cdeets's People

Stargazers

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