KM.audit | R Documentation |
Do a KM audit given a specified list of audited batches for a specified election.
KM.audit( data, U, Z, alpha = 0.25, plot = FALSE, debug = FALSE, return.Ps = FALSE, truncate.Ps = TRUE )
data |
Data frame holding audit data with taint and tot.votes as two columns. |
U |
Maximum total error bound (sum of e.max for all batches in race). |
Z |
elec.data object for the raceāthe original reported results. |
alpha |
Risk. |
plot |
Plot the audit? |
debug |
Print debugging info |
return.Ps |
Return the stepwise P-values |
truncate.Ps |
Return the stepwise P-values only up to the audit stop point. |
This will do a single-stage KM audit as a consequence of doing the stepwise version (since the single-stage is the same as the stepwise up to the number of batches audited).
WARNING: This function is not fully debugged!
List of various things, including final p-value.
Miratrix
Stark, Miratrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.