This JavaScript program computes the maximum likelihood
estimator of, and conservative confidence intervals for, the
population size when a sample of known size is drawn from
the population without replacement. The population is
assumed to consist of only two types of objects: successes
and failures. The number of successes observed in the sample
is known, as is the number of successes in the population.
The theory underlying the computations can be found in the
paper *Conservative Confidence Intervals for a Single
Parameter* by Mark Finkelstein, Howard G. Tucker and
Jerry Alan Veeh, which appeared in *Communications in
Statistics: Theory and Methods* volume 29 #8 pages
1911-1928 (2000). The annotated source code is available