13 Discrete Probability Distribution : Binomial Distribution

Dr. Nidhi Handa

 

 

1.      Introduction

 

2.        Binomial Probability Distribution

 

3.      Binomial Experiment

 

4.      Conditions of Binomial Experiment

 

5.      Related Problems

 

6.      Summary

 

Introduction:

 

THE BINOMIAL PROBABILITY DISTRIBUTION

 

The binomial probability distribution is one of the most widely used discrete probability distributions. It is applied to find the probability that an outcome will occur x times in n performances of an experiment. For example, given that the probability is 0.5 that a mobile manufactured at a firm is defective, we may be interested in finding the probability that in a random sample of three mobiles manufactured at this firm, exactly one will be defective. As a second example, we may be interested in finding the probability that a baseball player, with a batting average of 0.250, will have no hits in 10 trips to the plate.

 

To apply the binomial probability distribution, the random variable x must be a discrete dichotomous random variable. In other words, the variable must be a discrete random variable and each repetition of the experiment must result in one of two possible outcomes. The binomial distribution is applied to experiments that satisfy the four conditions of a binomial experiment. (These conditions are described here.) Each repetition of a binomial experiment is called a trial or a Bernoulli trial (after Jacob Bernoulli). For, examples, if an experiment is defined as one toss of a coin and this experiment is repeated 10 times, then each repetition ( toss) is called a trial. Consequently, there are 10 total trials for this experiment.

 

THE BINOMIAL EXPERIMENT

 

An experiment that satisfies the following four conditions is called a binomial experiment.

 

1.There are n identical trials, In other words, the given experiment is repeated n times. All these repetitions

are performed under identical conditions.

2. Each trial has two and only two outcomes. These outcomes are usually called a success and failure.

3. The probability of success is denoted by p and that of failure by q, and p + q = 1, The probability p and q

remain constant for each trial.

4. The trials are independent. In other words, the outcome of one trial does not affect the outcome of

another trial.

 

CONDITION OF A BINOMIAL EXPERIMENT

 

A BINOMIAL EXPPERIMENT MUST SATISFY THE FOOLLOWING FOUR CONDITIONS.

 

1.                  There are n identical trials.

 

2.                  Each trial has only two possible outcomes.

 

3.                  The probabilities of the two outcomes remain constant.

 

4.                  The trials are independent.

 

Note that one of the two outcomes of a trial is called a success and the other a failure. Notice that a success does not mean that the corresponding outcome is considered favorable or desirable. Similarly, a failure does not necessarily refer to an unfavorable or undesirable outcome. Success and failure are simply the names used to denote the two possible outcomes of a trial. The outcome to which the question refers is usually called a success; the outcome to which it does not refer is called a failure.

 

EXAMPLE 1: Consider the experiment consisting of 10 tosses of a coin. Determine if it is a binomial experiment.

 

Solution; As described below, the experiment consisting of 10 tosses of a coin satisfies all four conditions of a binomial experiment.

 

  1. There are a total of 10 trials (tosses), and they are all identical. All 10 tosses are performed under identical conditions.
  2. Each trial (toss) has only two possible outcomes: a head and a tail. Let a head be called a success and a tail be called a failure.
  3. The probability of obtaining a head (a success) is ½ and that of a tail ( is failure) is ½ for any toss. That is,

 

P = P(H) = ½ and q = P(T) =  ½

 

The sum of these two probabilities is 1.0. Also, these probabilities remain the same for each toss.

 

The trials (tosses) are independent. The result of any preceding toss has no bearing on the result of any succeeding toss.

 

Consequently, the experiment consisting of 10 tosses is a binomial experiment.

 

EXAMPLE 2: Five percent of all mobiles manufactured by a large electronics company are defective. Three mobiles are randomly selected from the production line of this company. The selected mobiles are inspected to determine if each of them is defective or good. Is this experiment a binomial experiment?

 

Solution

 

  1. This example consists of three identical trials. A trial represents the selection of a mobile.
  2. Each trial has two outcomes:  A mobile is defective or is a mobile good.  Let a defective mobile be called a success and a good mobile    be called a failure.
  3. Five percent of all mobiles are defective. So, the probability p that is a defective mobile is .05. As a result, the probability q that a mobile is good is .95. These two probabilities add up to 1.
  4. Each trial (mobile) is independent. In other words, if one mobile is defective it does not affect the outcome of another mobile being defective or good. This is so because the size of the population is very large as compared to the sample size.

Since all four conditions of a binomial experiment are satisfied, this is an example of a binomial experiment.

 

THE BINOMIAL PROBABILITY DISTRIBUTION AND BINOMIAL FORMULA

 

The random variable x that represents the number of successes in n trials for a binomial experiment is called a binomial random variable. The probability distribution of x in such experiments is called the binomial probability distribution or simply binomial distribution. Thus, the binomial probability distribution is applied to find the probability of x successes in n trials for a binomial experiment.

 

To solve binomial problem, we determine the values of n, x, n – x, p and q then substitute these values in the binomial formula. To find the value of (nCr). We can use either the combinations formula or the table of combinations (Table II)

 

To find the probability of x successes in n trials for a binomial experiment, the only values needed are those of n and p. These are called the parameters of the binomial probability distribution or simply the binomial parameters. The value of q is obtained by subtracting the value of p from, 1.0 Thus, q = 1-p.

 

BINOMIAL DISTRIBUTION

 

Repeated Independent Trials with two Outcomes

 

Consider an experiment of repeated trials in which each trial has only two possible outcome. Such a situation always arises when we deal with testing of items. Each trial indicates whether the item is defective or non-defective. We can define the two outcomes as a “success” or “failure”.

 

These trials are independent as the outcome of any trial does not depend upon the outcome of the previous trial just as in tossing of a coin or drawing a card in succession from a pack of card if the card is replaced every time before the next draw. These independent repeated trials are called Bernoulli trials named after swiss mathematician Jacob Bernoulli. Further the probability of success or that of failure remains constant in each trial.

 

Let a trial be repeated so that we have a series if n trials. Let p be the Probability of success and q that of failure in each Bernoulli trial so that p + q = 1.

 

It is required to find the probability of r successes in n trials. If S denotes the success and F the failure, then the probability of r successes and (n r) failures in a given order say.

 

SFSSFS …..

is pqppqp …… = pr qn–r

as the number is p’s is equal to the number of successes, that is, r and the number of q’s is equal to the number of failures, that is, n – r.

 

In order to find the required probability, we have to count all different orders, in which r successes and (n

r) failures can occur. This is in fact all possible arrangements of n letters.

Which r are S and (n – r) are F and is equal to !/ !( − )! i.e.

Hence, by addition theorem, the probability of getting r successes in a trial is

 

nCr pr qn–r 

 

Which can be denoted B(r: n, p) 

 

Thus P(r successes) = B(r: n, p) = nCr pr qn–r r= 1, 2, 3, ….., n 

 

If the number X of successes is a random variable, then 

 

P(X = r) = B(r; n, p) = nCr pr qn–r 

 

We notice that the probabilities of 0 1 2 3 r n

 

qn nC1 p qn–1 nC2 p2 qn–2 nC3 p3 qn–3 nCr pr qn–r pn

 

which are successive terms of the binomial expansion of (q + p)n, and hence, the above probability distribution is known as ‘binomial distribution’.

 

It can be noted that the sum of all the probabilities is 1.

 

qn + nC1 p qn–1 + nC2 p2 qn–2 + ……+ nCr  pr qn–r + …… + pn

 

=  (q + p)n

 

=        1

 

Example 3: The probability that a particular type of component will survive a given shock test is 23 . Find the probability that 2 of the next 5 components tested will survive.

 

Solution : Let shock test of the component be regarded as a trial and its survival as the success. If p denotes the probability of success and q that of failure in a single trial, then

Number of tests n = 5, p =23 , q = 13

 

Required probability = p (2 successes)

= B(2: 5, 23) = 5C2 (23)2 (13)3

=10*4/3*3*33*3

=40/243

 

Example 4: The probability that a patient will survive from a delicate heart operation is 60. What is the probability that exactly 5 of the next 7 patients having this operation will survive?

 

Solution : Let the heart operation of a patient be regarded as a trial and his survival as the success.

If n denotes the number of trials and p probability of success and q that of failure in a single trial then

 

n = 7; p = 0.9, q = 1 – p = 0.1

 

Required probability = p (5 successes) = b (5:7, 0.9)
= 7C5 (0.9)5 (0.1)2

 

7×63

=       2  × 0.5905 × 0.01

 

 

Example 5: If 10 per cent of components produced by a machine are defective, determine the probability that out of 5 components selected at random (1) none; (2) one; (3) at most one component will be defective.

 

Solution : Let selection of a component be regarded as a trial and getting a defective component as the success.

 

If n denotes the number of trials and p the probability of success and q that of failure,

 

then

 

n = 5, p = 10010= 0.1, q = 1 – p = 0.9 1 .P(0 success)=B (0;5,0.1)=(0.9)5

2.   P(1 success)=B (1;5,0.1 )=     5C1(0.1) (0.9)4

 

 

4.      Probability of at most 1 success = P(0 success) + P(1 success)

 

=  0.5905+0.3281

 

= 0.9186

 

Example 6: The incidence of an occupational disease in an industry is that the workers have 20% percent chance of suffering from it.

 

Find the probability that out of 6 workers selected at random.

(1)   4 will catch the diseases.

(2)   At least 4 will catch the disease.

 

Solution: Let the selection of a worker be regarded as a trial and suffering from the disease as success.

 

If n denotes the number of trials and p probability of success and q that of failure, then n = 6, p = 10020 = 15 ,

q = 1 – p = 1 – 15= 45

 

(1) P (4 successes) = B (4: 6, 15) = 6C4 p4 q2

6C4 (15)4 (45)2

6C4 (15)4 (45)2

=  15 x (0.2)4 (0.8)2

=  15 x 0.0016 x 0.64

=  0.01536

 

(2)   P (at least 4 successes) = p(4 successes) + p(5 successes) + p(6 successes)

=     6C4 (15)4 (45)2 + 6C4  (15)5 (45) + (15)6

 

=   [ 6C4 (0.8)2 + 6C1 (0.2) (0.8) + (0.2)2 ]

 

=  0.0016 [15 x 0.64 + 6 x 0.16 + 0.04]

 

=  0.0016 [9.60 + 0.96 + 0.04]

 

=  0.01696

 

Example 7: The probability that a bomb dropped from a plane will strike the target is 15. If 6 bombs are dropped, find the probability that (1) exactly two will strike the target; (2) at least two will strike the target.

 

Solution : Let dropping of a bomb be regarded as a trial and striking the target as the success.

Then n = 6, p = 15 , q = 1 p = 45

(1) p (2 successes) = B(2: 6, 15) = 6C2 (15)2 (45)4= 15 x (0.2)2 x (0.8)4 = 0.2458

(2) p (at least 2 success) = 1 – p(0 success) – p (1 success) = 1 – (45)6 − 6C1 × 15 × (45)5

=     1 –(45)5 (45 + 65)= 1 – 2 × (45)5

=  1 – 2 x (0.8)5

=  1 – 2 x 3277

=1- 0.6554

=0.3446

 

COMPUTING OF CENTRAL TENDENCY AND DISPERSION FOR THE BIONOMIAL DISTRIBUTION:

 

Mean (  ) = np

Standard Denation (  ) = √

Variance (   2) = npq.

 

Q.1 Modern filling machines fill toothpaste to the desired level of 80% of the time. What is the probability that exactly half the tubes in a cartoon selected at random will be filled? Total tubes are six.

 

Solution : p = 0.8, q = 1 – 0.8 = 0.2,    n = 6.

 

Using Bionomical formula

Probability of r success in n trials.

=    !px qx–r  !(  −  )

=     3!(3!)6!(0.8)3 (0.2)3

=     6×6720(0.512) (0.008)

=  20 (0.512) (0.008)

=  0.08192

 

Q.2 A packaging machine produces 20 percent defective (1) packages. If we take a random sample of 10 packages. Find the mean and standard Deviation?

 

Solution : .    X ~ B(n,p).    n= 10, p = 0.2

Mean = np = 10 (0.2) = 2  mean

=       √   = √10(0.2)(0.8) = √1.6

=  1.265  s.d.

 

Q.3 If 5% of the items produced turn out to be defective, then find out the probability that out of 20 items selected at random then are –

 

(a)    exactly three defectives

(b)   at least two defectives

(c)    exactly four defectives

(d)   find the mean and variance.

 

Solution : An item produced can either be defective on non defective. Thus, there are only two outcomes. The probability (p) of a defective item being produced is 0.05 and it remains constant. Further the trails are independent. Thus, inspecting a small sample of 20 can be conceived as a repetition of Bernauli trials. Therefore, the parameters of bionomil distribution n = 20 ; p = .05 i.e. B(n,p). Hence

 

(a) P(x=3) = P (exactly three defective items) = (.05)3 (0.95)17

= 20×19×18×17(0.05)3 (0.95)17

3×2×17

 

(b)  P(x ≥ 2) = P (at last two defective items) = Probability of two defectives + probability of three defectives + ……………. + Probability of all defectives.

 

1 – p (no defective) – p(one defective).

=       1 – (0.95)20 – 1!9!20! (0.05)1 (0.95)1 9

=    0.264

 

(c) P(X = 4)   = P (exactly four defectives)= 4!6!20! (0.05)4(0.95)16

 =  0.13

 

(d)  Mean  = n p= 20 x 0.05 = 1

Variance = npq

= 20 x 0.05 x 0.95 = 0.95

 

Probability of success and the shape of the Binomical distribution

 

For any number of trials n:

 

1.  The binomial probability distribution is symmetric if p = .5 0

 

2.  The binomial probability distribution is skewed to the right if p is less than .50

 

3.   The binomial probability distribution is skewed to the left if p is greater than .50

 

Summary

 

Here Out of two special probability distributions (Binomial & Poisson) for a discrete random variable –the binomial distribution is developed. Since decisions are made under uncertain conditions therefore, here we expain if outcomes and their probabilities for a statistical experiment are known we can find out what will happen on average if that experiment is performed many times.For a lottery example we can find out what a lottery player can expect to win (or lose) on average if he continues playing this lottery again and again.Concept of factorial & combination are also discussed.

 

Table – 1 Table of Binomial Probabilities

 

Table II- Values of     ∁   (Combintion)