Learn R Programming

elec (version 0.1.2.2)

find.stark.SRS.p: find.stark.SRS.p

Description

Find the p-value for a given q, n, and N. Helper function for a simple hypergeometric calculaton--see reports.

Usage

find.stark.SRS.p(N, n, q)

Arguments

N

total number of precints

n

total number of audited precints (must be less than N)

q

min number of precints that could hold taint to flip election

Value

Chance that 1 or more of the q 'bad' things will be seen in a size n SRS draw from the N sized bucket.