Tips & DocumentationThe page replaces pages & pages of tables in your text. It provides more information in a more straightforward fashion. Terminology
Input areaEach of the three boxes in the input area must have legal values.
Results areaMean & standard deviationThe mean and standard deviation of a binomial variable, n trials and p probability, are given by
Exact probabilitiesFor every p between 0 and 1 and each n in 1, 2, . . ., 1000 the program will compute exact values (to the nearest 0.00001) for P[ X = x ] and P[ X <= x ]. Note that because X is a count, non-positive-integer values (-2, 0.34, 17.49, etc.) have 0 probability. Normal approximationsGenerally these are good approximations for situations that pass the "at least 10 test": both np and n(1 - p) are at least 10. However, this program will compute normal approximations for all legitimate input values. Notes:
When n is very large (> 1000 here) a huge amount of computing may be necessary to find exact probabilities; as a result the exact probabilities are not found for such cases. If the conditions pass the "at least 10 test" then the normal approximations should suffice. If n > 1000 and the "at least 10 test" is failed, the program provides no useful information. One possible solution is the Poisson approximation (a feature I hope to include here someday). Ask a statistician! MethodsExact probabilitiesFor integer x between 0 and n inclusive
If x is non-integer the probability is automatically 0! So, for any x between 0 and 1:
(The "floor" operator rounds a number down.) Normal ApproximationsDenote standard normal probabilities by
For x between 0 and n inclusive
and for integer x between 0 and n inclusive
For non-integer values, this probability is automatically 0. These approximations are continuity corrected. |