Collection of Functions for Statistical Election Audits
Functions that Compute Error Levels Given Audit Data
Given audit data, compute p.values and all that.
Audit Plans for CAST and Trinomial Methods
Converting total vote counts to Over Statements
Calculate Optimal CAST plan
Construct a sample for auditing using CAST
Sample from the various strata according to the schedule set by 'ns'. ...
Calculate the measured error in each of the audited precicnts.
compute.stark.t
countVotes
do.audit
Statistical Election Audits Package
core election audit data structure
find.q
find.stark.SRS.p
find.stratification
Fraction of votes bound
Check if object is elec.data object
KM Audit Calculator
Calculate sample size for KM-audit.
Make a fake audit given specified error for simulations
Make the cartoon example from the CAST paper as a voter data matrix.
make.truth.opt.bad
making fake truth for electios
Make sample from vote totals (for simulations)
Generate fake election results for simulation studies
Make baseline truth for simulations
Election Audit Error Bound Functions
KM Audit Sample Size Calc
Pretty print KM audit plan
Simulate CAST audits to assess performance
simulate KM audits
Workhorse driver for stark.test
tri.audit.sim
Calculate needed sample size for election auditing using the Trinomial...
Sample from List of Precincts PPEB
Utility function for tri.sample
Conduct trinomial audit
Auditing with the Trinomial Bound: trinomial.bound and trinomial.audit
Looking at fake ``truths'' for election simulations
weight functions
This is a (somewhat bizarre) collection of functions written to do various sorts of statistical election audits. There are also functions to generate simulated voting data, including methods to simulation different types of voting errors which allow for simulations for checking the characteristics of these methods.