elec.strat: Functions for election audits using stratified random samples

Share:

An extension of the elec package intended for use on election audits using stratified random samples. Includes functions to obtain conservative and exact p-values, and functions that give sample sizes that may make election audits more efficient.

Author
Mike Higgins, Hua Yang
Date of publication
2012-04-10 04:23:04
Maintainer
Mike Higgins <mikehiggins83@gmail.com>
License
GPL (>= 2)
Version
0.1.1

View on CRAN

Man pages

BaB
Finding the exact p-value.
CA_House_2008
Set of 2008 California U.S. House Races
eqValBound
p-value Through Relaxation on Number of Batches Without...
first.r
Obtain a Vector of Sample Sizes with Total Number of Samples...
getEbsMargin
Updating Error Bounds and Margin Given the Observed Maximum
get.first.r.samp
Obtain a Vector of Sample Sizes Given Constraint on p-Value
getQ
Obtaining the Cost Vector.
is.strat.elec.data
Verifying a strat.elec.data Object.
LKPBound
p-value Through a Continuous Relaxation
makeStratObj
Making a strat.elec.data Object from an elec.data Object
MN_Senate_2006
2006 Minnesota U.S. Senate Race
optStrat
Obtain an Optimal Vector of Sample Sizes Given Constraint on...
runBaB
Calling the Branch and Bound Algorithm
strat.elec.data
Making a strat.elec.data Object from a Votes data.frame and...

Files in this package

elec.strat
elec.strat/MD5
elec.strat/src
elec.strat/src/cBaB.c
elec.strat/R
elec.strat/R/optStrat.R
elec.strat/NAMESPACE
elec.strat/man
elec.strat/man/strat.elec.data.Rd
elec.strat/man/runBaB.Rd
elec.strat/man/optStrat.Rd
elec.strat/man/MN_Senate_2006.Rd
elec.strat/man/makeStratObj.Rd
elec.strat/man/LKPBound.Rd
elec.strat/man/is.strat.elec.data.Rd
elec.strat/man/getQ.Rd
elec.strat/man/getEbsMargin.Rd
elec.strat/man/get.first.r.samp.Rd
elec.strat/man/first.r.Rd
elec.strat/man/eqValBound.Rd
elec.strat/man/CA_House_2008.Rd
elec.strat/man/BaB.Rd
elec.strat/DESCRIPTION
elec.strat/data
elec.strat/data/MN_Senate_2006.rda
elec.strat/data/CA_House_2008.rda