Home Site Statistics  |   Contact  |   About Us       Tuesday, September 21, 2021   

j0185201- Back to Home



Skip Navigation Links.

   Skip Navigation LinksHOME ›  AREAS OF EXPERTISE ›   Distribution Function ›  ~ Poisson Distribution


"Distribution Functions"
Poisson Distribution Method
Poisson Distribution Results



Number of Points:
Number of Bins:



[ Initial Number of Bins: {15) ]
[ Initial Number of Points: {2000} ]

IMPLEMENTATION
Poisson Distribution Method

In probability theory and statistics, the Poisson distribution is a discrete probability distribution. It describes the probability of a number of events occurring in a fixed time period. The Poisson distribution is not limited to a time interval domain. It can also be used for the number of events in other specified intervals suchs as distance, area, or volume.

The Poisson and Exponential distributions (see)   "Exponential Distribution"  are related. If the number of counts follow the Poisson distribution, then the interval between individual counts follow the exponential distribution.


Probability Density Function

The probability density function for the Poisson distribution can be expressed as:

f(x;γ) = [γx / x!] * e

where x is a positive integer, representing the number of occurrences of an event.


Poisson Random Number Generator

The code for generating Poisson random numbers is based on a rejection method. This code is not shown.



Testing the Poisson Distribution Method

To test the Poisson Distribution method, a new static method has been added. The TestPoissonDistribution() method has been written and executed. No additional code is shown. The user can change variables as desired.

For the test, two parameters were set:

number of bins = 15; (nBins)
number of points = 2000; (nPoints)

where the parameter (nBins) is the number of bins in the histogram and (nPoints) is the number of random points. A random array is created using the poisson distribution. A comparison is made between the histogram of random data and the theoretical probability density function of the poisson distribution. One can see the results from the Poisson random generator are very close to the theoretical Poisson distribution function.

Running this example generates the results shown above.


           static void TestPoissonDistribution();
              {
                  for (int i = 0; i < nBins; i++)
                 {
                     ListBox1.Items.Add(" x = " + xdata[i] + "," + " - - - - -> Random Data = " + ydata[i] + "," + " - - - - -> Density Distribution = " + Math.Round(ydistribution[i] * normalizeFactor, 0).ToString());
                 }
              }



Other Implementations...


Object-Oriented Implementation
Graphics and Animation
Sample Applications
Ore Extraction Optimization
Vectors and Matrices
Complex Numbers and Functions
Ordinary Differential Equations - Euler Method
Ordinary Differential Equations 2nd-Order Runge-Kutta
Ordinary Differential Equations 4th-Order Runge-Kutta
Higher Order Differential Equations
Nonlinear Systems
Numerical Integration
Numerical Differentiation
Function Evaluation


Consulting Services - Back to Home
Home

Home Math, Analysis,
  expertise..."

EIGENVALUE SOLUTIONS...
Eigen Inverse Iteration
Rayleigh-Quotient Method
Cubic Spline Method

 

Applied Mathematical Algorithms

Home A complex number z = x + iy, where...

Complex Functions
Home Non-linear system methods...

Non Linear Systems
Home Construction of differentiation...

Differentiation
Home Consider the function where...

Integration
 
About Us

KMP Engineering is an independent multidisciplinary engineering consulting company specializing in mathematical algorithms.

  ABOUT
  SITE STATISTICS
Contact Us

KMP ENGINEERING
2461 E Orangethorpe Ave Fullerton, CA 92631 USA info@keystoneminingpost.com
Site Map

   Home
   Areas of Expertise
   Reference Items
   Managed Services
   Login

Mining & Software Engineering

Home
Since 2006 All Rights Reserved  © KMP Engineering LINKS | PRIVACY POLICY | LEGAL NOTICE