|
Brighton Webs Ltd. Data & Analysis services for Industry & Education
|
|||||||||||||||
|
Home Index Feedback |
Binomial Distribution The binomial distribution describes the outcome of a series of trials, the outcome of which can only be a success or failure. The classic example is the number of "heads" that will occur in a given number of coin tosses. One of its applications is as part of QA/QC procedures to accept or reject batches of components. As the average for the distribution increases, the profile of the binomial approaches that of the normal distribution and under some conditions it is possible to use the normal distribution as an approximation. Profile Parameters
Range Integer values between 0 and n. Functions Depending on the system being used, the calculation of the factorial of large numbers may be difficult. An alternative is to use the gamma function: In which case the formula for the probability function P(x) becomes: Properties If p * (n+1) is an integer, the distribution is bimodal with modes at p * (n+1)-1 and p * (n+1). Normal Approximation The Binomial distribution can be approximated by a normal distribution with the same mean and standard deviation. The rules used to determine if the approximation is appropriate are:
The latter condition prevents the return of negative numbers. The probability function for the approximation can be obtained from the cumulative probability functions of the normal distribution: Spreadsheets Both MS Excel and the Google Docs Spreadsheet have the BinomDist function which can return either the probability or cumulative probability functions.
Example The binomial distribution is often used to model processes which can described as a series of independent Bernouli trials. The example is based on a simple model of an R&D budget. A company undertakes 10 projects. Historically only 15% of projects succeed. Of those that do, the NPV is between zero and $15m which is described by a triangular distribution. A Monte-carlo process is used, first to estimate the number of successful projects in a programme, then to estimate the total NPV of those projects. The two inputs and the output are shown in the graph below: This model can be adapted to a range of sectors a diverse as book and music publishing to oil and gas exploration. Random Number Generation Follow the link to the section on random number generation which describes a general method for deriving random numbers from discrete distributions. Psuedo Code VB style Psuedo Code for Probability and Cumulative Probability functions is shown below. Probability Function
Cumulative Probability Function
Page updated: 12-Aug-2006 |
|||||||||||||||
|
For more information: info@brighton-webs.co.uk |
||||||||||||||||