Professional Documents
Culture Documents
Beginning
Beginning
Beginning
1 Random Experiment
A random experiment is an experiment in which
a)All possible outcomes of the experiment are known in advance;
b)Any performance of the experiment results in an outcome that is not
exactly known in advance;
c)The experiment can be repeated under identical conditions;
Example: A fair die with six faces marked 1,2,....,6 is tossed once .This
is an experiment with six possible outcomes 1,2...,6.But we re uncertain about
whether a ’2’ or a ’6’ will land when tossed.This makes the experiment a
random experiment.
S = {x|x = 1, 2, 3..., 6}
or,
S = {1, 2, 3, 4, 5, 6}
where x represents the number appearing on the uppermost face of the
die.
1
0.2.2 Continuous Sample Space
If a sample space contains an infinite number of possibilities equal to the
number of points on a line segment,it is called a continuous sample space.
0.3 Event
When an experiment is performed,it can result in one or more experimental
outcomes,which are called events.Any subset of sample space S is known as
an event.
S = {HH, HT, T H, T T }
2
0.3.2 Mutually Exclusive Events
Two or more events are said to be mutually exclusive if the happening of any
one of the events excludes the happening of all the others(events) that is,no
two or more of the events can happen simultaneously in the same trial.(The
joint occurrence is no possible,disjoint events) (A ∩ B = ⊘).
H HHH
H
T HHT
H
H HTH
T
T HTT
H THH
H
T THT
T
H TTH
T
T TTT
Figure :Tree diagram displaying sample space for testing three coins
3
0.4 Definition of probability
There are usually three different approaches to define probability.
1.Classical approach 2.The relative frequency approach 3.Subjective ap-
proach
and
n(B) 2 1
ii)P (B) = n(S)
= 6
= 3
m
Limit n
= P (A)
n→0
4
To illustrate the relationship between the relative frequency and probability
of an event,we may consider a simulated result as:
1 2 3 4 5 6
Frequency 1724 1664 1628 1648 1672 1664
Relative Frequency .1724 .1664 .1628 .1648 .1672 .1664
5
all the events of the form A ∩ B,A ∩ B ∩ C,or A1 ∩ A2 ∩ A3 ∩ ..... ∩ An are joint
events.Thus if A is the event ”smoker” and B ”heart disease patient”,then
A ∩ B is a joint event describing that a randomly chosen person is a smoker
who suffers from heart disease.
• Suppose 500 persons are distributed according to their sex and employ-
ment status as:
Employment Status
n(M ) 275
P (M ) = = = 0.55
n(S) 500
The marginal probability that a selected person will be employed is:
n(E) 335
P (E) = = = 0.67
n(S) 500
6
The probability that a randomly chosen person is a male and at the same
time employed is:
n(M ∩ E)
P (M ∩ E) = = 0.51
n(S)
The probability that a randomly chosen person is a male and at the same
time unemployed is:
n(M ∩ U )
P (M ∩ U ) = = 0.04
n(S)
• The marginal probability can also be computed as a sum of the two joint
probabilities:
For 3 events A1 , A2 , A3 :
P (A1 ∩ A2 ∩ A3 ) = P (A1 )P (A2 | A1 )P (A3 | A1 ∩ A2 )
• Compute P (E ∩ M )
n(E ∩ M ) 255
P (E | M ) = = = 0.93
n(M ) 275
7
• The probability that a married man watches a certain TV show is 0.4
and that his wife watches the show is 0.5.The probability that a man watches
the show,given that his wife does,is 0.7.Find
a)The probability that a married couple watches the show.
b)The probability that a wife watches the show given that her husband does.
c)The probability that at least one of the partners will watch the show.
• Three coins are tossed.Show that the events ”heads on the first coin” and
the event ”tails on the last two” are independent.
8
Now,
P (A) = 48 = 21 ,P (B) = 28 = 14 ,P (A ∩ B) = 1
8
Since,
P (A) × P (B) = 12 × 14 = 81 = P (A ∩ B)
The events are independent.
P (A ∩ B) P (B | A)P (A)
P (A | B) = =
P (B) P (B | A)P (A) + P (B | Ac )P (Ac )
P (A ∩ B)
P (B | A) =
P (A)
P (B) = P ((B ∩ A) ∪ (B ∩ Ac ))
⇒ P (B) = P (B ∩ A) + P (B ∩ Ac )
⇒ P (B) = P (B | A)P (A) + P (B | Ac )P (Ac ) −→ (2)
Note that, A ∩ B = B ∩ A
9
Now,
P (A ∩ B) P (B | A)P (A)
P (A | B) = = ; [U sing → (1)]
P (B) P (B)
P (B | A)P (A)
⇒ P (A | B) = ; [U sing → (2)]
P (B | A)P (A) + P (B | Ac )P (Ac )
Proved
For the events A,B,C,D;
P (A)P (D | A) P (A)P (D | A)
P (A | D) = =
P (D) P (A)P (D | A) + P (B)P (D | B) + P (C)P (D | C)
P (Ai )P (D | Ai )
P (A | D) = Pk
i=1 P (Ai )P (D | Ai )
• Suppose you are planning a picnic today,but the morning is cloudy.50%
of all rainy days start off cloudy.But cloudy mornings are common.About
40% of days start cloudy.This is actually a dry month.Only 3 of 30 days tend
to be rainy.What is the chance of rain during the day?
Solution: Let,
rain : rain during the day
cloud : cloudy mornings
Given that,
3
P (Rain) = = 0.1
30
50
P (Cloud | Rain) = = 0.5
100
40
P (Cloud) = = 0.4
100
Now,
10
So,there is 12.5% chance of raining.
Solution: Let,
D : the person has the disease
P : the test is positive
Now,
P (D ∩ P ) P (D)P (P | D)
P (D | P ) = =
P (P ) P (D)P (P | D) + P (Dc )P (P | Dc )
0.01 × 0.90
⇒ P (D | P ) = = 0.15
(0.01 × 0.90) + (0.99 × 0.05)
The End
11