analysis/R/decode2way.R: new algorithm and helper functions are here
analysis/tools/sum_bits_assoc.py: python client that computes marginal inputs required for decode2way algorithms given RAPPOR inputs from stdin
Usage: sum_bits_assoc.py
Corresponding test analysis/tools/sum_bits_assoc_test.py tests the python file with detailed documentation of output format
assoctest.sh: a test suite to run end-to-end simulations and compare EM and new algorithms.
Usage: ./assoctest.sh run-seq ‘^a-’ 5 T
This runs all association tests 5 times comparing both algorithms (T = true flag) in sequential processes. Other options documented in assoctest.sh
assoctest.sh requires parameters from tests/assoctest_spec.py and HTML plumbing in tests/make_assoc_summary.py and tests/assoctest.html
compare_assoc.R: the main R code that is used by assoctest
experimental/assoc contains some old files used in experimenting with the new assoc analysis code
quick_assoc.sh: a simple wrapper around R functions to run both new and old assoc algorithms on input map files, rappor reports, and params.
Usage: ./quick_assoc.sh [<EM also? T/F>].
Note: directory assumed to have some structure (see documentation in quick_assoc.sh)
setup.sh: updated to include new jsonlite library
tests/gen_true_values_assoc{_test}.R: R files that implement and test respectivley generating distributions (correlated zipfians) analogous to tests/gen_true_values.R for RAPPOR histograms
tests/rappor_assoc_sim.py: tests/rappor_sim.py modified to process two variables at a time from a true values file for the purposes of assoctest.sh end-to-end simulations.