You are here

Normal approximation to binomial distribution-2

This Java Applet demonstrates the Normal approximation to Binomial distribution. A "Begin" button on the left starts the applet. Browser is required to support Java 1.1+. Start the Applet and setting the simulation conditions, then press the "Begin" button to have the applet run in a separate window. The default values are for a binomial distribution with the parameters \(N = 8\) (number of trials) and \(p = 0.5\) (probability of success on each trial). Both parameters may be changed by the user. This applet calculates the probability of obtaining a given number of successes. For example, to calculate the probability of exactly 6 successes out of 8 trials with \(p = 0.50\), enter 6 in both the "from" and "to" fields and hit the "Enter" key. The actual binomial probability is \(0.1094\) and the approximation based on the normal distribution is \(0.1059\). Note that the normal approximation computes the area between 5.5 and 6.5 since the probability of getting a value of exactly 6 in a continuous distribution is nil. Similarly, to approximate the probability of from 0 to 6 successes, you enter 0 in the "from" field and 6 in the "to" field. The area from below 6.5 is computed.
Average: 3 (261 votes)
David M. Lane
Ivo Dinov
Copyright David M. Lane