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

View source: R/elec_functions.R

find.stark.SRS.pR Documentation

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.

Author(s)

Luke W. Miratrix


elec documentation built on April 27, 2022, 1:05 a.m.