You are on page 1of 8

Reliability Engineering: 

Introduction – Probability 

Let P(E) be the probability of event E. Therefore, the probability of an event is between 0 and 1. 

Laws of Probability: 

1. 

The probability of an Event (E) happening, lies between 0 and 100%. If the probability is 100%, the 
Event is certain to happen.

Copyright © 2009 Albert Tsang.  ­ 1 ­  Last Update: 11/7/2009 


All Rights Reserved. 
2. 

where  denotes the complement of event E,  i.e., it is the set with elements that do not exist in set 


E. 

The probability that an event does not occur is 1 minus the probability that it happens. For example, 
the probability of the event "not obtaining a nine by throwing two dices" is similar to 1 minus "the 
probability of obtaining a nine ": 

3. 
if A, B are mutually exclusive 

The probability of either event A or event B happening equals the sum of the probabilities of event 
A and event B. 

4. 
if A, B are independent (Two events are independent of each other if the occurrence of one does 
not affect the probability of the other's occurrence). 

The probability for the occurence of two independent events equals the product of the probabilities 
of those two events. Consider the following events::

·  (a) When 2 dices are thrown: the outcomes of the 2 dices are independent from each other.
·  (b) The color of person's eyes is not independent of the color of his/her hair.

Copyright © 2009 Albert Tsang.  ­ 2 ­  Last Update: 11/7/2009 


All Rights Reserved. 
Copyright © 2009 Albert Tsang.  ­ 3 ­  Last Update: 11/7/2009 
All Rights Reserved.
5. 

where  denotes probability of event A given that event B has occurred. 

Conditional Probability 

Example: 

In drawing cards  from a deck, we have a certain  probability of drawing a  King.  If we also knew 


that the card drawn were a face card, the extra information would change that probability. 

Let  A: a card drawn is a King 
B: a card drawn is a face card 
Then P(A) = 4/52 

To determine P(A|B), we would think of drawing a King not from the whole deck, but just from the 
group of all face cards, of  which there are only 12. 

Therefore, P(A|B) = 4/12 

The  effect  of  knowing  B,  then,  is  to  cut  down  the  size  of  the  sample  space.  We  throw  away  all 
those points that have nothing to do with B. 

Let us look at a second example.  What is the probability of throwing a seven with a pair of dice if 
you know that the first die shows 3? 

Solution: 

1.  Draw a sample space of all possible outcomes for a pair of dice. 
2.  Identify the sample spaces corresponding to the following events: 
A:  both dice total seven 
B:  first die shows three 

The number of sample points common to both A and B is 1.  This represents the outcome that both 


A and B occur.  Dividing this by the number of sample points in the sample space of B gives the 
conditional probability P(A|B), that is

Copyright © 2009 Albert Tsang.  ­ 4 ­  Last Update: 11/7/2009 


All Rights Reserved. 
The above equation can be rewritten as : 

P(AB) = P(A|B)P(B) 

Similarly, it can be proved that 

P(AB) = P(A|B)P(A) 

Let  B1,  B2,  ....Bn  represent  multiple,  mutually  exclusive  and  jointly 
exhaustive events. Then 

Bayesian Statistics 

An essential element of Bayesian Statistics is the revision of probabilities in the light of new 
information.  This can be best illustrated with a few examples. 

Example: 

Given 3 identical, unmarked boxes: 

Box A contains 2 gold coins 
Box B contains 1 gold coin and 1 silver coin 
Box C contains 2 silver coins 

Choose 1 box at random. 

What is the probability that a particular box, say box A, was chosen? 

Answer: P(A) = 1/3 

Pick one coin out of the chosen box without observing the other coin. Assume the coin picked is 
gold.

Copyright © 2009 Albert Tsang.  ­ 5 ­  Last Update: 11/7/2009 


All Rights Reserved. 
What can we now say concerning the probability that we had picked Box A? 

Answer: P(A|G) = 2/3 

P(A) is the prior probability of having picked box A.  However, once we know that the box picked 
contained  at  least  one  gold  coin  we  can  use  this  information  to  revise  the  prior  probability.  The 
revised probability P(A|G) is known as the posterior probability. 

A systematic way of revising probabilities 

Example 1: 

State  P(State)  P(G­State)  P(G, State) 


Picked Box A  P(A) = 1/3  P(G|A) = 1.00  P(G, A) = 0.33 
Picked Box B  P(B) = 1/3  P(G|B) = 0.50  P(G, B) = 0.17 
Picked Box C  P(C) = 1/3  P(G|C) = 0  P(G, C) = 0 
P(G) = 0.50 

The chance of picking a gold coin (after having picked the box at random) is P(G) = 0.50; out of 
this 0.33 will involve box A, 0.17 box B.  Therefore, if a gold coin is picked, the chance that we 
have also picked box A is: 

The Bayes Theorem 

where : 
P(Si  | E)  =  probability of state Si  given an event E is observed 
P(E|Si)  =  probability of event E occurring given the state is Si. 
P(Si)  =  probability of state Si  occurring 
n  =  total number of all possible states

Copyright © 2009 Albert Tsang.  ­ 6 ­  Last Update: 11/7/2009 


All Rights Reserved. 
Referring to Example 1 again, 

Example 2 

An  automatic  machine  requires  daily  adjustment.  If  adjusted  correctly,  it  will  produce  90% 
acceptable parts; if adjusted incorrectly, only 20% of all parts produced are acceptable.  From past 
experience  we  know  that  about  70%  of  all  machine  adjustments  are  done  correctly.One  day  the 
machine is adjusted and the first three parts produced are found to be acceptable. 

What is the probability that the machine has been adjusted properly? 

Solution: 

State  P(S)  P(1 Good Part|State)  P(3 Good Parts|State)  P(3 Good Parts, State) 

Set up correct  0.70  .90  .729  0.5103 


Set up incorrect  0.30  .20  .008  0.0024 
P(3 Good Parts)  0.5127 

Therefore, P (Set up correct|3 Good Parts) = 0.5103/0.5127 = 99.5%

Copyright © 2009 Albert Tsang.  ­ 7 ­  Last Update: 11/7/2009 


All Rights Reserved. 
Exercise Task: 

Solution:

Copyright © 2009 Albert Tsang.  ­ 8 ­  Last Update: 11/7/2009 


All Rights Reserved. 

You might also like