















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!
















Joint Probability: For two events A & B that intersects in the sample space,
the probability p(A∩B) is called the Joint Probability.
AA∩∩BB (^) AAAA (^) BBBB Venn DiagramVenn DiagramVenn Diagram
Shown that
So, p (A∩B) = p (A) + p (B) - p (Α∪Β) ..(Joint Probability)
Note: Probability & Union of A & B never exceeds sum of p(A) & p(B); The equality holds for mutually exclusive (disjoint) events.
Motivation: In a manufacturing process, 15% of the parts contain special labels and 30% of them are functionally defective. Only 10% of parts without such labels are defective. The probability of a functionally defective part depends on our knowledge of the presence or absence of a label. If a part has a label, the probability of it being functionally defective is 0.30.
Let A = “a part is functionally defective” and B= “a part has the special label”; then we denote the probability of A given a part has a label, B, p(A|B)=0.3.
So, p(A|B) – relative frequency of event A among the trials that produce an outcome in event B.
Example 1: Find the probability of drawing two aces in succession from a deck of 52 cards. A 1 –Event that the first card is an Ace.
A 2 –Event that the second card is an Ace.
Find P(A 1 , A 2 );
P(A 1 ∩ A 2 )= P(A 2 | A 1 ) P(A 1 ), P(A 1 ) =4 / 52; P(A 1 | A 2 ) = 3 / 51; (51 cards left & 3 A’s), P(A 1, A 2 ) = 1/
Now consider drawing three cards from a 52 deck; A i –Event that the ith card is an ace; i=1,2,
Case 1: With replacement Intuitively we know that A i ’s are independent, so
( )
(^34) p A 1 (^) ∩ A 2 (^) ∩ A 3 = ^524 =4.55*10 −.
Case 2: Without replacement, keep each card after drawn. We expect Ai’s are not independent.
Thus we have approximately 4.55/1.81=2.5 times better chance of drawing three aces when cards replaced than when put aside. This is an intuitively satisfying result because replacing the aces drawn raises chances for an ace on the succeeding draw. Interpretation 2: We may understand this definition in a special case in which a random experiment are equally likely if there are n total outcomes, then
1 2 1 3 1 2 4
( ) ( | ) ( ) ( | ) ( | ) (^4 3 2) 1.81*. 52 51 50
p (^) A A A p (^) A p A A A p (^) A p (^) A A p A A A −
∩ ∩ = ∩ = ∩ = ⋅ ⋅ =
( ) No. of outcomes in B n No. of outcomes in A B n .
B A B A B B
p B n n p A B n n p A B (^) n p B n
∩ ∩
= = ∩ = ∩ = ∩ (^) =
Proof of Conditional Probability formula: Now as a probability we need to check the fundamental property of conditional probability, p(A|B), for a fixed B as A ranges over all the events of S. To do so, we must show that these numbers, p(A|B)’s, are indeed probabilities; that is, they satisfy the three postulates:
Knowing that A∩B is an event and S∩B=B, the first two axioms are easily verified. To prove the third one, we know that if A & C are disjoint, their subsets A∩B and C∩B are also disjoint. And since
( ) ( ) ( ) ( ( ) ) (^ (^ ( )) ) (^ ( ) ) (^ ( ) ) ( ) ( )
, we may write | | |.
p A C B p^ A^ C^ B^ p^ A^ B^ p C^ B p B p B p B p A B p C B
Example 2: Two Boxes, B1, and B2 are given. B 1 contains 6 red cards and 12 white; B 2 contains 10 red and 8 white. Select at random one of the following boxes and pick up at random one of its cards. Find the probability p that the card selected is white. Sol’n: The outcomes of this experiment are 36 cards. B 1 =event consists of 18 cards B 2 =event consists of 18 cards (1) p(B1)=p(B2)=1 / 2; a box selected at random the event W={white} consists of 20 outcomes. The problem is to find its probability. We cannot directly do so because the 36 outcomes are not equally likely. They are however conditionally equally likely subject to the condition that a box is selected. As a model concept, this means that (2) p(W|B1)= 12 / 18; p(W| B2)=8 / 18
(1) & (2) are not derived; they are assumptions about the model based on the hypothesis that the box and cards are selected at random.
Outcomes and sample space:
S = (^) { ( Box1,White , Box ,Red , Box ,White , Box ,red) ( 1 ) ( 2 ) ( 2 )}.
Probabilities:
( ) ( ) ( ) ( ) ( )
i 1 1 2 2
Box 0.5, 1, 2 red|box 6 , white|box 12 , 18 18 red|box 10 , white|box 8. 18 18
p i p p p p
= = = = = =
and p (^) ( box , white 1 ) = (^) ( 0.5 (^) ) ^1218 ^ = 13 , p ( box , white 2 ) = (^) ( 0.5 (^) )^188 =^29.
Generalization:
Sequence of decisions Taken randomly
Outcomes
Repeated application of p(Α∩Β)=p(A|B)p(B) yields
p(A∩B∩C)=p(A|B∩C)p(B∩C) =p(A|B∩C)p(B|C)P(C)
p(A∩Β∩C∩D)=p(A|Β∩C∩D)p(B|C∩D)p(C|D)p(D), and so on. Statistical Independence Example 3: Suppose a box contains 10 parts; 3 of them are not good and suppose two parts taken at random from the box with replacement, it means that the first part is replaced before the second one is selected. What is the Probability that the second part is defective given that the first one is defective? Sol’n: Denote: A- the second part is defective, B-the first part is defective p(A|B)=? Because the first part is replaced prior to selecting the second one, this makes the box contains still 10 parts of which 3 are defective. Therefore, the probability of A does
Total (unconditional or average) Probability: May show that
From axiom 3:
Generalization: May express the probability of an event in terms of the known conditional probabilities. Suppose [A1,….,Am] is a partition of S consisting of m
events as shown below.
A B
S
A∩B
A = ( A ∩ B ) ∪ ( A ∩ B )
Disjoint
A
p ( A ) = p A ( ∩ B ) + p A ( ∩ B ) = p A B p B ( | ) ( ) + p A B P B ( | ) ( )
Consider B as an arbitrary event of S; the probability P(B) can be written as sum :
Why? Obviously
Summary: Find P(B) of an event B if its conditional probabilities are given.
A (^1) B A (^2)
A (^) m
S
( ) 1 ( | ) ( )
m p B = (^) ∑ i = p B Ai p Ai
1
1 1 1 i
1
, ,
, ; E ' disjoint.
( ) , |.
i
m i i m m m i i^ i i^ i i E m i i i (^) i i i
B B S S (^) A
B B (^) A B A E s
p B p E p (^) E p B A p B A p A
=
= = =
=
= ∩ = ^ = ∩ (^) = (^) ∩ = = = ∩ =
∑
∪
∪ ∪ ∪
Special case:
For any two events A & B, we may write
Illustrative Example:
5% of the Fort Worth Matadors football team uses steroids (an illegal drug). A certain test for steroids is 98% accurate if the player is using steroids. 1% of the time the same test will indicate that a player is using steroids when they are not (false positive). The team quarter back, Ju Painman,
( ) ( ) ( ) ( | ) ( ) ( | ) ( ) ( | ) (^ |^ )^ (^ )^ , ( | ) (^ |^ )^ (^ ) ( ) ( )
p B p B A p B A p B A p A p B A p A p A B p B^ A p A^ p A B p B^ A p A p B p B
= ∩ + ∩ = + = =
was selected at random for testing. If the test was positive (saying that he was taking steroids), what is the probability that he was actually taking steroids?
Solution: S= Use of Steroids, T= Test for Steroids
( ) ( ) (^) ( ) ( ) (^ ( )) ( ) ( ) ( ) ( ) (^) ( ) ( ) ( ) ( ) ( )
.05, | 0.98, | 0.01, | , | | | 0.98 0.05 (^) 0.3403. 0.98 0.05 0.01 0.
p S p T S p T S p S T p S T p T p T S p S p T S p S p T S p S
= = = = =
=
=
The above conditional probabilities depend upon a random selection is made between the un-chosen box or a prior knowledge is used so that always to open a box that does not contain the key.
p (Er)=11/3+1/22/3=2/3 : for random selection, p (Er)=11/3+12/3=1: use of prior knowledge.
, ( ) ( ) : By Total theorem
p K Er p Er K^ p K p Er p Er p Er K p K p Er K p K
= = +
1 1 (^3 1) ; for random selection case, (^2 ) 3 1 1 (^3 1) ; Use of prior knowledge 1 3
p K Er
(^) ⋅ = = ^ (^) ⋅ (^) =
1 1; (^2) 1
p Er K p Er K
= =
From 2 boxes one is selected Intentionally the empty box is opened