Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
22
For the distribution given in the example, the
mean is
and the standard deviation is
(to 4 decimal places).
0 0.7 1 0.2 2 0.06 3 0.04
0.44
= + + +
=
( ) ( )
2 2
0 0.44 0.7 3 0.44 0.04
0.6064
0.7787
o = + +
=
=
23
The mean and standard deviation of a
distribution are different from the mean and
standard deviation of a sample.
With a distribution there is no data involved so
we call these parameters of the distribution
and use Greek letters to denote them.
The probability distribution is used to describe
the population.
With a sample we use Roman letters for mean
and standard deviation of this sample ( and
s).
x
24
and s are estimates of the parameters of the
distribution, and o.
For larger sample sizes (relative to the
population), the values and s will converge
to and o.
x
x
25
The Binomial Distribution
The following three conditions must be met in
order for a binomial distribution to be
appropriate:
1. An experiment (a trial) is conducted that can
result in only one of two possibilities.
These are usually called success (S) and
failure (F).
The probability of success is given by P(S)=u
and the probability of failure by P(F)=1-u.
26
2. You conduct n such trials. These trials
must be independent (the result of one will
not affect the result of another).
3. The random variable X, is the number of
successes among these n trials.
27
Success is whatever characteristic is
being studied.
It could be either a positive (an item
coming off a production line is defect free)
or a negative (a road accident involves
fatalities).
28
The possible values that X can take are 0, 1,
2, n.
The probabilities of these n+1 outcomes are
given by the formula
where x! (read x factorial) is defined as
x!=x(x-1)21
We refer to this as the binomial distribution.
( )
( )
( )
!
1
! !
n x
x
n
P X x
x n x
u u
= =
29
The mean of the binomial distribution is
given by
and the standard deviation by
n u =
( )
1 n o u u =
30
Example
A production process is known to result in 5%
of the items being defective. Thus u = 0.05
and 1-u =0.95.
If we sample 5 items, what is the probability
of getting exactly 1 defective item?
( ) ( ) ( )
1 4 5!
1 0.05 0.95 0.2036
1! 4!
P X = = =
( )
( )
( )
!
1
! !
n x
x
n
P X x
x n x
u u
= =
31
What is the probability of getting exactly 2
defective items?
What is the probability that we get at least one
defective item?
( ) ( ) ( )
2 3 5!
2 0.05 0.95 0.0214
2!3!
P X = = =
( ) ( ) ( ) ( )
1 1 2 5 P X P X P X P X > = = + = + + =
32
We could calculate each of the individual
probabilities and add them together or we
could use the fact the all the possible
probabilities must add to one:
( ) ( )
( ) ( )
0 5
1 1 0
5!
1 0.05 0.95
0!5!
0.2262
P X P X > = =
=
=
33
The mean and standard deviation of this
distribution would be:
( )
( )
( )( )
5 0.05 0.25
1 5 0.05 0.95 0.4873
n
n
u
o u u
= = =
= =
34
Using the binomial distribution formula works
well for a small number of trials.
In our example we had only 5 trials and could
easily produce a table of all 6 probabilities (for
x=0,1,5).
Imagine if n was 20 (or even more) we would
not want to evaluate the binomial formula so
many times!
An alternative is to use tabulated values of the
binomial distribution probabilities. (See the
table on page 198 of Ledolter).
35
Given n and u, these tables give the
probability P(X s x).
Returning to our example we could use the
tables to find the probability (as before!):
or other probabilities such as
( ) ( )
1 1 0
1 0.7738 0.2262
P X P X > = s
= =
( )
1 0.9774 P X s =
( ) ( )
2 ( 3) 2
1.0000 0.9988 0.0012
P X P X P X = = s s
= =
36
The Poisson Distribution
We use the Poisson distribution when we
have information about the average rate at
which something is occurring.
For example the average number of calls to a
switchboard per hour or the average number
of defective items coming off a production line
each day.
We define our variable, X, to be the number
of successes in a certain interval.
37
Success is whatever characteristic we are
interested in examining, so it could be either a
positive (average number of babies born per
day) or a negative (the average number of
deaths from cancer each month).
The possible outcomes for X are x=0,1,2,
(all the non-negative whole numbers).
38
Poisson probabilities are found by
where is the rate (the Poisson parameter)
and e is a known constant (e = 2.718282 to 6
decimal places).
The mean and standard deviation of a
Poisson distribution are and .
( )
!
x
P X x e
x
= =
=
o =
39
Example
A production process is known to generate
pocket calculator components, with an average
of 5 defective components per hour (=5).
The probability of getting eight or more
defective components is:
(using the tables on pages 202 and 203 of
Ledolter).
( ) ( )
8 1 7
1 0.867 0.133
P X P X > = s
= =
40
The probability of getting no defective
components would be
using the Poisson formula.
( )
0
5
5
0 0.0067
0!
P X e
= = =
41
Many statistical software packages will
calculate binomial and Poisson probabilities
for you.
Tables exist in other textbooks, which cover
more parameter values. (For example see
the STAT 11048 text Introduction to Business
Statistics by Weiers).
42
We have examined the Binomial and Poisson
distributions since we will need these to
produce control charts and to discuss
acceptance sampling later in the term.
After covering this weeks material, ensure
that you are able to identify which distribution
is appropriate for the situation you are
investigating the type of distribution you
have will determine the type of control chart
you will use.
43
Complete this weeks recommended exercises
from the study guide.