Learn R Programming

elec (version 0.1.2.2)

marin: Marin Measure B Reported Results

Description

These are the reported vote totals from the 2009 election in Marin, CA for Measure B.

Note the vote totals for the VBM strata are made up. The batches are the ``Decks'', which could not be individually tallied with ease. The work-around was complex. See the references, below.

Arguments

Format

A data frame with 544 observations on the following 5 variables.

PID

Batch ID

strata

There are two levels, ST-IB ST-VBM for in-precinct and Vote-by-Mail.

tot.votes

total ballots cast in the batch.

Yes

Number recorded for Yes

No

Number recorded for No

References

See J. L. Hall, L. W. Miratrix, P. B. Stark, M. Briones, E. Ginnold, F. Oakley, M. Peaden, G. Pellerin, T. Stanionis, and T. Webber. Implementing risk-limiting audits in california. USENIX EVT/WOTE in press, July 2009.

Examples

Run this code
# NOT RUN {
data(marin)
marin = elec.data( marin, C.names=c("Yes","No") )

# Hand fixing error bound due to unknown
# vote totals in the VBM decks
marin$V$e.max = maximumMarginBound(marin)
sum( marin$V$e.max )   # 7.128
vbm = marin$V$strata=="ST-VBM"
marin$V[ vbm, "e.max" ] = 2 * marin$V[ vbm, "tot.votes" ] / marin$margin

sum( marin$V$e.max )   # 9.782


# }

Run the code above in your browser using DataLab