Distributions
Distributions
Dale E. Gary
NJIT Physics Department
Binomial & Poisson Distributions
n!
The binomial distribution is PB ( x; n, p ) p x (1 p )n x .
x !(n x)!
The mean is
np. MatLAB: binopdf(x,n,p)
The standard deviation is
The mean is
x
The standard deviation is PP ( x; ) e .
x!
x .
MatLAB: poisspdf(x,)
0.02
0
0 5 10 15 20 25
Number of Counts per 15 s
0.1
0.05
0
0 5 10 15 20 25
Number of Counts per 15 s
For large means (high counts), the Poisson distribution approaches the
Gaussian distribution, which we will now describe further.
Unlike the binomial and Poisson distributions, which are defined only for
integer values, the Gaussian distribution is continuous. That means it is a
probability density function (pdf), and to get the probability that a value will
fall between two values of x, you have to multiply by the bin width dx, or in
the limit of infinitesimal bin widths, integrate:
x2
P ( x1 x x2 ) PG ( x; , )dx.
x1
Here, the mean and standard deviation are part of the definition of the
distribution, so are not defined separately in terms of other parameters.
February 18, 2010
Characteristics of the Gaussian
As always, the Gaussian pdf is normalized so that the area under the curve
is unity (i.e. the integral from to is 1). The exponential itself has unit
amplitude at x = (i.e. exp(0) = 1), and if you do the integral of the
exponential you will find that it is 2 . Therefore, you have to divide by
this factor to normalize the integral.
As you did in the first homework, you can determine the full width at half
maximum for the Gaussian distribution by finding where the function falls to
½ its amplitude: 1 x 2 1
exp
2 2
2 x 2 2 ln 2.
A good way to think about the standard deviation is that “most” values will
lie within of the mean. The actual percentage for is 65%. If you go
to , it is 95%. If you go to , it is 99.7%. We can think about the effect
of this using a star image.
February 18, 2010
Other Distributions
There are many other distributions that are met with in various
circumstances, some phenomenological, and some based on theory. An
interesting one is the Lorentzian distribution (or Cauchy distribution), which
describes the shape of spectral lines in gases or plasmas such as the Sun.
1 /2
PL ( x; , ) .
x 2 / 2 2
This has a middle part that looks a little like a gaussian (the so-called line
core), but the parts far from the mean (called the line wings) decrease
slowly. 0.4
Gaussian ( =1)
Although the mean is , the standard 0.35
Lorentzian (=2.354)
Normalized distributions
0.25
(i.e. the second moment is undefined) 0.2
0.05
0
0 1 2 3 4 5 6 7 8 9 10
x
February 18, 2010