Professional Documents
Culture Documents
Probability models
Design of a system: involves making choices
from various feasible alternatives.
Criteria of choices: cost, reliability and
performance.
Qualitative evaluation of these criteria cannot be
made on actual implementation and experimental
evaluation of alternative configuration.
Why not? Costly in terms of labor, equipment and
time.
2
Statistical regularity
A useful model must be able to make predictions
about future behavior of a system. In order to be
predictable, a phenomenon must exhibit regularity
in its behavior.
Many probability models in engineering are based
on the fact that averages obtained in long
sequences of repetitions (trial) of random
experiments consistently yield approximately the
same value.
This is called statistical regularity.
6
Relative frequency
=
1. 0
Dividing by :
0 1
10
() =
=1
() = 1
=1
= 0 + 2 ()
11
Example
3. Let be the event: or occurs, where
and are two events that cannot occur
simultaneously.
= + ()
Dividing by :
= +
12
exists
13
14
16
17
Example
We would like to test a telephone conversation to
determine whether a speaker is currently speaking
or silent. We know that on the average, a typical
speaker is active only 1/3 of the time and the rest of
the time he/she is listening to the other party or
pausing between words and phrases.
This physical situation can be modeled as urn
experiment in which we select a ball from the urn
of two white balls (silent) and one black ball
(active speaker).
18
Simplification
i. Not all the speakers are the same.
ii. Not all the languages have the same silence-activity
behavior, etc.
1. Countably finite:
1: Select a ball from an urn containing balls numbered 1
to 4. Let balls 1 and 2 be black and balls 3 and 4 white.
Note the number and color of the ball selected.
1 = 1, , 2, , 3, , 4,
There are only 4 sample points. Since the outcome
consists of 2 observations, 1 is 2-dimensional.
20
2. Countably infinite
2: A block of information is transmitted repeatedly over
a noisy channel until an error-free block is received
at the receiver. Count the number of transmissions
required.
2 = 1,2,3,
The samples are discrete (countable) but
infinite in number.
Since in a discrete sample space, sample points
is countable, they have one-to-one
correspondence with positive integers.
21
3 = : 0 = [0, )
22
5 =
, : 0 1, 0 1
Events
We are usually not interested in the occurrence of a specific outcome, but
rather in the occurrence of some event, i.e., whether the outcome satisfies
certain conditions.
The events are subsets of . The condition of interest defines a subset of the
sample space.
24
5 =
, : 0 1, 0
25
26
Event classes
: set of all possible outcomes of a random experiment.
Events: Subsets of
Probability theory requires that we state the class
of events of interest. Only the events in this
class are assigned probabilities. We expect that
any set operation on events in will also produce
a set that is also an event in .
i.
28
Example
Let = {, } be the sample space consisting
of the outcomes of a coin toss experiment. All
possible events of :
= , , , ,
We can generate all possible subset by taking
possible values 0 or 1 of and
Subset
29
Example
Let be the finite sample space:
= {1,2,3, , }
If we allow all possible subsets of to be
events, the class of events is called power
and it is denoted as = 2 , since it has 2
members.
We can index each of all the possible subsets
of with a binary number 1 2
30
Axioms of Probability
The relative frequencies satisfy a number of
properties. Any definition of probability should
satisfy these properties.
A probability law for a random experiment is a
rule that assigns probabilities to the events of the
experiment that belong to the event class .
The axioms of probability formally state that the
probability law must satisfy certain properties.
: A random experiment
: Sample space
: Event class
31
Probability law
for each event , a number [] called the probability of
is assigned such that
Axiom I: 0
Axiom II: = 1
Axiom III: If = , then = + []
Axiom III: If 1 , 2 , is a sequence of events such that
= for all , then
=
=1
[ ]
=1
Corollary 1
If is complement of , then = 1 [].
Since = , by Axiom III, =
+ [ ]
Since = , by Axiom II, 1 = =
= + [ ]. Therefore, = 1
33
Corollary 2
1
From Corollary 1, = 1
Since from Axiom I, 0, we have 1
Corollary 3
=0
Let = , then =
From Corollary 1: = 1 = 1 1 = 0,
from Axiom II.
34
Corollary 4
If 1 , 2 , , are piecewise mutually exclusive, then
[ ] 2
=1
=1
[ ]
()
=1
=1
+1 =
=1
{ +1 }
=1
=1
35
=
=1
+1
=1
+ +1
()
=1
+1
=
=1
[ ]
=1
36
Corollary 5
= + []
Venn diagram
Decompose as the union of disjoint events
37
=
= + +
= +
= ()
= +
= ()
()
= + []
This corollary can be extended to the case of 3 events:
= + +
+ []
38
=1
[ ]
=1
+ 1
+1
+
<
[1 2 ]
+
39
Corollary 7
If , then []
= + [ ]
Since 0
[]
40
41
= 1 , 2 , ,
Events class : All possible subsets of
Elementary events consist of individual outcomes of
the experiment { }.
Thus, all distinct elementary events are mutually
exclusive. Therefore, the probability of the event
is given by
= 1 , 2 , ,
= 1 , 2 , ,
= 1
+ 2
+ + [
].
42
= 1 + 2 + + =
43
Example 1
An urn contains 10 identical balls numbered
0,1,2,..,9. A random experiment involves selecting a
ball from the urn and noting the number of the ball.
Find the probability of the following events:
(a) [], (b) [], (c) [], (d) [] and (e)
[], if the events , , and are given as:
: The number of ball selected is odd.
: The number of ball selected is multiple of 3.
: The number of ball selected is less than 5.
44
=
=
=
=
0,1,2, , 9
1,3,5,7,9
3,6,9
0,1,2,3,4
(a)
= 1,3,5,7,9
(b) = 3,6,9
= 1 + 3 + 5 + 7 + 9
= 3 + 6 + 9
(c) = 0,1,2,3,4
(d)
= 10 = 2
= 10
= 10 = 2
5
3
= + =
+
3,9
10 10
8
2
6
3
=
=
=
10 10 10 5
(e)
= + + +
5
3
5
2
2
1
1
9
=
+
+
+
=
10 10 10 10 10 10 10 10
45
Example 2
A fair coin is tossed repeatedly until the first heads
shows up. The outcome of the experiment is the
number of tosses required until the first heads
occurs, find the probability law for the experiment.
The sample space for this experiment is given by
= 1,2,3, .
Let the experiment be repeated times.
: The number of trials of in which the th
toss results in the first heads.
47
,
2
22
2
1
=
=
= ,
= 1, 2,
48
49
= 1,2,
=
1
1
2
=1
50
51
5. Let 1 , 2 , , , be a sequence of
mutually exclusive events that are represented
by the intervals of real line. Then, by the
Axiom III
=
=1
[ ]
=1
Example 3
Pick up a number between 0 and 1.
= : 0 1 = [0, 1]
This set is uncountably infinite
53
54
Example 4
The life of a memory chip is measured and found that the proportion of chips where
the lifetime exceeds t decreases exponentially at rate
= (0, )
If we interpret the above finding as that a chips life time exceeds t decreases
exponentially at a rate , then we obtain the following assignment of probabilities
to events of the form (, ):
(, ) = > 0
Axiom I: 0
Axiom II: = (0, ) = (0) = 1
Since , = , (, ) and the two intervals on the right side are disjoint, by
Axiom III:
, = , + ,
Thus, the probability of the lifetime of a chip in an arbitrary interval (, ] can be
obtained as
, = , ,
=
56
Example 5
Pick two number and between 0 and 1. Then,
= , : 0 1, 0 1
Find the probability of the events:
(a) = > 0.5
(b) = > 0.5
(c) = >
57
1
2
1
2
58
Conditional Probability
We are interested in determining whether two events
and are related in the sense that the knowledge of
occurrence of alters the likelihood of the occurrence
of .
The conditional probability [|] of event , given
that has occurred is defined as
[]
=
> 0
[]
Knowledge that event has occurred implies that the
outcome of the experiment is in the set . In computing
[|], we can therefore view the experiment as now
having the reduced sample space
59
60
61
Example 6
A ball is selected from an urn containing two black
balls numbered 1 and 2 , and two white balls
numbered 3 and 4. The number and color of the ball
is noted.
The sample space:
=
1, , 2, , 3, , (4, )
= 2, = 0.25
= = 0
[] 0.25
=
=
= 0.5 = []
[]
0.5
The knowledge of did not alter the
probability of .
[]
0
=
=
=0
[]
0.5
The knowledge of implied that has not
occurred.
63
=
=
=
= []
64
Example 7
An urn contains two black balls and three white
balls. Two balls are selected at random from the urn
without replacement and the sequence of colors
noted. Find the probability that both the balls are
black.
This experiment consists of a sequence of two sub
experiments
: event that the outcome of the ith (i=1,2) draw is
black
: event that the outcome of the ith (i=1,2) draw is
white
65
Probability of interest
2 1 = 2 1 1
1
=
4
2
1
=
5
10
66
Example 8
A user inputs 1 with a probability or 0 with
probability 1 and the corresponding signal is
transmitted. The receiver makes a decision about
what was the input to the system based on the
signal it received and makes random decision
error with a probability . Let
: event input was i, i=0,1
: event receiver decision was j, j=0,1
0 0
0 1
1 0
1 1
=
=
=
=
0 0
1 0
0 1
1 1
0
0
1
1
= 1 1
= 1
=
= (1 )()
68
= 1 2
The sets 1 , 2 , , are referred to as a partition
of
69
= = 1 2
= 1 2
Thus, any event can be represented as the union
of mutually exclusive events. Hence, by applying
Corollary 4, the probability of can be obtained
as
= 1 + 2 +
+
(1)
By applying the relation of conditional probability
on each term of the right side of (1), we have :
= |1 1 + |2 2 +
+ | [ ]
70
Example
An urn contains two black balls and three white
balls. Two balls are selected at random from the
urn without replacement and the sequence of
colors noted. Find the probability that both the
balls are black. Find [2 ], where 2 is the
event second ball is white.
71
Let :
1 : first ball is black= { , , (, )}
1 : first ball is white= { , , (, )}
2 = 2 |1 1 + 2 |1 1
3 2
2 3
3
=
+
=
4 5
4 5
5
This probability is the same as the probability of
selecting a white ball in the first draw. This makes
sense, since we are computing the probability a white
ball in the second draw under the assumption that we
have no knowledge of the outcome of the first draw.
72
Example
There is a mix of good and bad chips.
Assume that the fraction of the bad chips is
and that of the good chips is 1 . The life time
of good chips follows the exponential law with a
rate of failure and that of bad chips also
follows the exponential law with a rate of failure
is 1000. Find the probability that a randomly
selected chip is still functioning after seconds.
73
Let
: event chip still functioning after seconds
: event chip is good
: event chip is bad.
= and =
Thus, and form a partition
By the theorem on total probability:
= +
= 1 + 1000
74
Bayes Rule
Let 1 , 2 , , form a partition of a sample
space . Suppose that event has occurred.
What is the probability of event given that
event has occurred?
By the definition of conditional probability:
|
=
=
[]
=1 [ ]
75
Interpretation
1. Suppose that we have the knowledge of a priori
probabilities of events s that form a partition of ,
i.e., we know [ ]s before the experiment is
performed.
2. Now suppose that the experiment is performed, and
we are informed that event has occurred.
3. The a posteriori probabilities are the probabilities
of the events in the partition, i.e., [ |] and given
by the Bayes rule.
The Bayes rule tells us as, to how the probabilities of the
events s are modified with the knowledge of the
occurrence of the event .
76
Example
i. User inputs a 0 or 1 into a system, and the
corresponding signal is transmitted: 1 with
probability and 0 with probability 1 .
ii. Receiver makes a decision about what was
the input to the system with the probability
of the random decision error.
Determine which input is more probable given
that the receiver has output a 1. Assume that, a
priori, the input is equally likely to be 0 or 1.
77
Let
: the event that input is , = 0,1
: the event that the receiver output is ,
= 0,1
78
1 0 0
2
0 1 =
=
=
1
1
2
1
1
1 1 1
2
1 1 =
=
=1
[1 ]
1/2
1
Example
A manufacturing process produces a mix of good
and bad memory chips. The life time of good
chips follows the exponential law with a rate of
failure . the life time of bad chips also follows the
exponential law but the rate of failure is 1000.
Suppose that the fraction of bad chips is , and
therefore, that of good chips is 1 . In order to
weed out the bad chips, every chip is tested for
seconds prior to leaving the factory. The chips that
fail are discarded and the remaining chips are sent
out to customers. Find the value of for which 99%
of the chips sent out to customers are good.
80
Let
: the event chip still functioning after seconds
: the event chip is good
: the event chip is bad.
The events and form a partition of the sample set. Thus,
by the theorem on total probability:
= +
= 1 + 1000
By applying Bayes rule:
1
=
=
1 + 1000
We would like to have = 0.99
1
= 0.99
1000
1 +
81
1
= 0.99
1000
1 +
1000
1
1
=
1=
0.99
99
99
999
=
1
1
99
=
ln
999
1
1
Independent events
Two events and are defined to be independent if
=
(1)
Since
= |
(2)
using (2) into (1),
| =
3
Thus, if the events and are independent, the knowledge of
the occurrence of event does not alter the probability of .
Similarly, since
= |
(4)
Using (4) into (1),
| =
5
Thus, if the events and are independent, the knowledge of
the occurrence of event does not alter the probability of . 83
Example
A ball is selected at random from an urn containing
two black balls, numbered 1 and 2, and two white
balls, numbered 3 and 4.
= black ball selected= 1, , (2, )
= even-numbered ball selected= (2, ), 4,
= number on a ball is > 2.= 3, , 4,
a) Are the events and independent?
b) Are the events and independent?
85
(a)
1, , (2, )
= (2, ), 4,
= 2,
1
=
4
1
=
2
1
=
2
Therefore,
= =
4
Thus, and are independent.
2,
1/4 1
| =
=
=
=
[]
2, , (4, )
1/2 2
1/2 1
=
=
=
[]
1
2
Thus, the knowledge that event has occurred does not alter the probability of
the event
Reason:
The proportion of the outcomes in that leads to the occurrence of is equal to
the proportion of the outcomes in that lead to occurrence of
86
(b)
=
3, , 4,
1
= =
2
= = 0
1
=
2
1
= 0 =
4
0
| =
=
=
=0
[]
3, , 4,
1/2
1
=
2
Events and are mutually exclusive. Occurrence of
implies that event has definitely not occurred.
87
Example
Two numbers are selected at random. The events ,
and are defined as follows:
= > 0.5
= > 0.5
= >
(a) Are the events and independent?
(b) Are and independent?
88
(a)
1/4 1
| =
=
= = []
[]
1/2 2
Therefore, the events and are independent.
Reason
The proportion of the outcomes in that lead to the
occurrence of is equal to the proportion of the outcomes
in that lead to occurrence of
(b)
3/8 3 1
| =
=
= = []
[]
1/2 4 2
Therefore, the events and are not independent. The
knowledge that event (i.e., > ) has occurred
increases the probability of from 1/2 to 3/4.
89
that is,
=
Using pairwise independence: i.e. = on the right side:
=
Thus, three events , and are independent if the probability of any pair or
triplet of the events is equal to the product of the probabilities of the individual
events.
90
Example
Two numbers are selected at random
from unity interval, Events , D and
are defined as:
1
= >
2
1
= <
2
1
1
1
1
= < <
> >
2
2
2
2
91
1
= ,
2
1
= ,
2
1
= =
4
1
= =
4
1
= =
4
1
=
2
1
= = 0 =
8
Independence of events
For a set of events to be independent, the probability of an event
should be unchanged with the joint occurrence any subset of other
events. This leads to the following definition of independence
involving events.
The events 1 , 2 , , are said to be independent if for
= 2,3,4, , ,
1 2 = 1 ] 2 [
where 1 1 2
Thus, for a set of events, one has to verify that probabilities of all
2 1 intersections factor into the probabilities of the
individual events. Therefore, the application of the definition of the
independence is cumbersome because of the necessity of verifying
so many conditions.
However, the most common application of the independence
concept is made for the events of separate experiments. Such
experiments are referred to as independent experiments.
93
Example
A fair coin is tossed three times and the resulting
sequence of heads and tails are observed. Find
the probability of the elementary events.
The sample space
= {, , , , , , , }
94
Sequential experiments
Many random experiments are sequential
experiments. The sequential experiment consists
of a sequence of simpler sub-experiments. These
sub-experiments may be independent or
dependent.
96
Example
Ten numbers are selected at random from the
interval [0, 1]. Find the probability that the first 5
numbers are less than 1/4 and the last 5 numbers
are greater than 1/2.
98