Verification package

The verification package for this guide: the dataset (all 480 sampled cases), the script that generated it, reference implementations in R and Python, and expected_outputs.csv listing every number printed in the guide, with its location and tolerance. Run either script and it prints PASS or FAIL for each figure.

Verification Package

The verification package for this guide: the dataset (all 480 sampled cases), the script that generated it, reference implementations in R and Python, and expected_outputs.csv listing every number printed in the guide, with its location and tolerance. Run either script and it prints PASS or FAIL for each figure.

  • README.md
  • data.csv
  • expected_outputs.csv
  • generate_data.py
  • monte_carlo.py
  • reference.R
  • reference.py

Download the package (ZIP)

Back to the guide: The Unweighted Number Is the Wrong Number: Survey Weighting in Analysis Studio