This program estimates the sensitivity and specificity required to simulate a binary genetic determinant, with stated population prevalence = p, such that the simulation incorporates measurement error corresponding in magnitude to a stated reliability.