Presentation is loading. Please wait.

Presentation is loading. Please wait.

Chapter 1 Probability Spaces

Similar presentations


Presentation on theme: "Chapter 1 Probability Spaces"— Presentation transcript:

1 Chapter 1 Probability Spaces
主講人:虞台文

2 Content Sample Spaces and Events Event Operations Probability Spaces
Conditional Probabilities Independence of Events Reliabilities Bayes’ Rule

3 Chapter 1 Probability Spaces
Sample Spaces and Events

4 Definitions  Sample Spaces and Events
The set of all possible outcomes of a random experiment is called the sample space, denoted by , of that experiment. An element    is called a sample point. A subset A   is called an event.

5 Example 1 Tossing a die.  sample space of tossing a die
The set of all possible outcomes of a random experiment is called the sample space, denoted by , of that experiment. An element    is called a sample point. A subset A   is called an event. Example 1 Tossing a die.  sample space of tossing a die  an event whose face number is less than 4  an event whose face number is lager than 3  an event whose face number is odd  an event whose face number is even

6 Notations  A       a sample space  an event
the probability for the occurrence of event A     an sample point

7 Example 2 Suppose that the die in Example 1 is fair. Find the probability of each event. Suppose that the die is unfair, and with Find the probability of each event.

8 Example 2 Suppose that the die in Example 1 is fair. Find the probability of each event. Suppose that the die is unfair, and with Find the probability of each event.

9 Example 2 Suppose that the die in Example 1 is fair. Find the probability of each event. Suppose that the die is unfair, and with Find the probability of each event.

10 Example 2 Suppose that the die in Example 1 is fair. Find the probability of each event. Suppose that the die is unfair, and with Find the probability of each event.

11 Example 3  Bulb Life (Months)
 sample space of a bulb life  the life of a bulb is not less than 10 months the life of a bulb is not less than 10 but less than 20 months  the life of a bulb is less than 10 months the life of a bulb is larger than 15 but not larger than 30 months

12 Example 3  Bulb Life (Months)
5 10 15 20 25 30 35 40 45 50  sample space of a bulb life  the life of a bulb is not less than 10 months the life of a bulb is not less than 10 but less than 20 months  the life of a bulb is less than 10 months the life of a bulb is larger than 15 but not larger than 30 months

13 Example 3  Bulb Life (Months)
5 10 15 20 25 30 35 40 45 50

14 Example 4 Tossing three balanced coins
Write the sample space of this experiment. Write the event A to denote that at least two coins land heads. P(A) =?

15 Example 4 Tossing three balanced coins
Write the sample space of this experiment. Write the event A to denote that at least two coins land heads. P(A) =?

16 Example 4 Tossing three balanced coins
Write the sample space of this experiment. Write the event A to denote that at least two coins land heads. P(A) =? The method to define a sample space is not unique, e.g.,

17 Chapter 1 Probability Spaces
Events Operations

18 Event Operations Intersection  And Union  Or Complement  Not

19 Intersection ()  And A B AB Venn Diagram

20 Example 5 A1  A3 = {1, 3} A2  A4 = {4, 6} A1  A2 = 
The face number is less than 4 and odd. The face number is larger than 3 and even. A null event.

21 Example 5 A1  A3 = {1, 3} A2  A4 = {4, 6} A1  A2 = 
The face number is less than 4 and odd. The face number is larger than 3 and even. Remark: Two events A and B are said to be mutually exclusive if A ∩ B = . A null event.

22 Example 5 A1  A3 = {1, 3} A2  A4 = {4, 6} A1  A2 =  Assume the die
is fair.

23 Example 6  Bulb Life (Months)
5 10 15 20 25 30 35 40 45 50 A null event.

24 Example 6  Bulb Life (Months)
5 10 15 20 25 30 35 40 45 50 The bulb life is lager than 15 but less than 20 months

25 Example 6  Bulb Life (Months)
5 10 15 20 25 30 35 40 45 50

26 Union ()  Or AB A B Venn Diagram

27 Example 7 A1  A3 = {1, 2, 3, 5} A2  A4 = {2, 4, 5, 6} A1  A2 = 1
The face number is less than 4 or odd. The face number is larger than 3 or even. A universal event.

28 Example 8  Bulb Life (Months)
5 10 15 20 25 30 35 40 45 50 A universal event.

29 Example 8  Bulb Life (Months)
5 10 15 20 25 30 35 40 45 50 The bulb life is not less than 10 but not large than 30 months

30 Example 8  Bulb Life (Months)
5 10 15 20 25 30 35 40 45 50

31 Complement  Not Ac A Venn Diagram

32 Example 9-1 The face number is not less than 4.

33 Example 9-2  Bulb Life (Months)
5 10 15 20 25 30 35 40 45 50

34 Laws of Event Algebra Associative laws Commutative laws
Distributive laws

35 Laws of Event Algebra Identity laws Complementation laws
Idempotent laws

36 Laws of Event Algebra Domination laws Absorption laws De Morgan’s laws

37 More on De Morgan’s laws

38 Chapter 1 Probability Spaces

39 -Field A nonempty collection of subsets A is called -field of a set  provided that the following two properties hold: A

40 Example 10 Let  = {1, 2, 3, 4, 5, 6}. Let A1 = {A0 = , A1 = {1, 2, 3}, A2 = {4, 5, 6}, A3 = } . Whether or not A1 forms a -field of ? Let A2 = {A1 = {1, 6}, A2 = {2, 5}, A3 = {3, 4}}. Add minimum number of subsets of  into A2 such that A2 becomes a -field of .

41 The Axioms of Probability
A probability measure P on a -field of subset A of a set  is a real-valued function having domain A satisfying the following properties: P() = 1; P(A)  0 for all A  A; If Ai  A, i=1,2,. . . are mutually disjoint then A2 A3 A A1 A4

42 Definition  Probability Space
A probability measure P on a -field of subset A of a set  is a real-valued function having domain A satisfying the following properties: P() = 1; P(A)  0 for all A  A; If Ai  A, i=1,2,. . . are mutually disjoint then A probability space, denoted by (, A, P), is a set , a -field of subsets A, and a probability measure P defined on A.

43 Example 11 (, A, P)  A probability space?  = {1, 2, 3, 4, 5, 6}.
A = {A0 = , A1 = {1, 2, 3}, A2 = {4, 5, 6}, A3 = } P (A0) = 0, P (A1) = 1/2, P (A2) = 1/2, P (A3) = 1 (, A, P)  A probability space?

44 Example 11 (, A, P)  A probability space?  = {1, 2, 3, 4, 5, 6}.
A = {A0 = , A1 = {1, 2, 3}, A2 = {4, 5, 6}, A3 = } P (A0) = 0, P (A1) = 1/3, P (A2) = 2/3, P (A3) = 1 (, A, P)  A probability space?

45 Example 11 (, A, P)  A probability space?  = {1, 2, 3, 4, 5, 6}.
A = {A0 = , A1 = {1, 2, 3}, A2 = {4, 5, 6}, A3 = } P (A0) = 1/3, P (A1) = 1/3, P (A2) = 1/3, P (A3) = 1 (, A, P)  A probability space?

46 Example 11 (, A, P)  A probability space?  = {1, 2, 3, 4, 5, 6}.
A = {A0 = , A1 = {1, 2, 3}, A2 = {4, 5, 6}, A3 = } P (A0) = 0, P (A1) = 1/3, P (A2) = 1/3, P (A3) = 2/3 (, A, P)  A probability space?

47 Theorem 1-1 For any event A, P(Ac) = 1  P(A). Pf) Facts:

48 Theorem 1-2 B A For any two events A and B,
P(A  B) = P(A) + P(B)  P(A  B) Pf)

49 More on Theorem 1-2 A C B

50 See the text for the proof.
Theorem 1-3

51 Theorem 1-3 S1 S2 S3 Sn

52 Example 12 Let A, B be two events of a sample space  with
P(A) = 1/2 , P(B) = 1/2, P(A  B) = 2/3 Find the probabilities of the following events: (1) P(Ac) (2) P(Bc) (3) P(A  B) (4) P(Ac  B) (5) P(Ac  B) (6) P(A  Bc) (7) P(Ac  Bc) (8) P(Ac  Bc). Are A, B mutually exclusive? A B 1/6 1/6 1/3

53 Chapter 1 Probability Spaces
Conditional Probabilities

54 A B Definition Let A, B be two events such that P(A) > 0. Then the conditional probability of B given A, written P(B|A), is defined by If P(A) = 0, then P(B|A) is undefined.

55 Example 13 Toss three balanced coins. Let A denote the event that two coins land heads, B denote that the first coin lands heads. Find P(A), P(B), P(B|A), and P(A|B).

56 By Product

57 Chapter 1 Probability Spaces
Independence of Events

58 Definition A B Two events A and B are independent if and only if

59 Example 14 Toss one balanced coin three times. Let A denote the event that the first two tosses land heads, B denote that exactly one toss lands heads, and C denote that the third toss lands tails. 1. Are A, B independent? 2. Are A, C independent? 3. Are B, C independent?

60 Toss one balanced coin three times
Toss one balanced coin three times. Let A denote the event that the first two tosses land heads, B denote that exactly one toss lands heads, and C denote that the third toss lands tails. 1. Are A, B independent? 2. Are A, C independent? 3. Are B, C independent? Example 14

61 Theorem 1-4 Ac B A Bc A B

62 Theorem 1-5 A B  P(B|A)=P(B) Pf)

63 Definition n events A1, A2, , An are said to be mutually independent if and only if for any different k = 2, , n events satisfy

64 Example 15 Given the following Venn Diagram, are events A, B, C mutually independent? P(A) = 0.6, P(B) = 0.8, P(C) = 0.5 P(ABC) = 0.24 = P(A)P(B)P(C) P(AB) = 0.48 = P(A)P(B) P(AC) = 0.30 = P(A)P(C) P(BC) = 0.38  P(B)P(C)

65 Remarks P(A1  A2  · · ·  An) = P(A1)P(A2) · · · P(An) does not imply that A1, A2, , An are pairwise independent (Example 15). A1, A2, , An are pairwise independent does not imply that they are mutually independent.

66 Example 16 Toss two dice. Let A = “The 1st die is 1,2, or 3”
B = “The 2nd die is 4,5, or 6” C = “The sum of two dice is 7” Show that A, B, C are pairwise independent but not mutually independent.

67 Chapter 1 Probability Spaces
Reliabilities

68 Reliabilities Reliability of a component  Let Ri denote the probability of a component in a system which is functioning properly (event Ai). We will assume that the failure events of components in a system are mutually independent. Reliabilities of systems  1. series systems — The entire system will fail if any one of its component fails. 2. parallel systems — The entire system will fail only if all its component fail.

69 Reliability of a Series System (Rss)
C1 C2 Cn A B

70 Reliability of a Parallel System (Rps)
C1 C2 Cn A B .

71 Example 17 Consider the following system. C1 C2 C3 A B
Let R1 = R2 = R3 = 0.95. Find the reliability of the system.

72 Example 17

73 Chapter 1 Probability Spaces
Bayes’ Rule

74 A Story  The umbrella must have been made in Taiwan

75 Event Space  A Partition of Sample Space
B1 B2  a partition of  B3 B5 B4

76 Event Interests Us (A) B1 B2  a partition of  B3 A B5 B4

77 A  Preliminaries B1 B2 B3 B5 B4 Prior Probabilities: 日 德 法
A B5 Likelihoods: B4

78 Law of Total Probability
Prior Probabilities: B1 B2 B3 A B5 Likelihoods: B4

79 Law of Total Probability
Prior Probabilities: B1 B2 B3 A B5 Likelihoods: B4

80 Goal: Posterior Probabilities
Prior Probabilities: B1 B2 B3 A B5 Likelihoods: B4

81 Goal: Posterior Probabilities
Prior Probabilities: Likelihoods:

82 Bayes’ Rule Given

83 S NS 0.5 M W 0.4 0.5 Example 18 0.3 0.6 0.7 Suppose that the population of a certain city is 40% male and 60% female. Suppose also that 50% of the males and 30% of the females smoke. Find the probability that a smoker is male. M : A selected person is male W : A selected person is female S : A selected person who smokes We are given Define

84 Example 19 Consider a binary communication channel. Owing to noise, error may occur. For a given channel, assume a probability of 0.94 that a transmitted 0 is correctly received as a 0 and a probability of 0.91 that a transmitted 1 is received as a 1. Further assumed a probability of 0.45 of transmitting of a 0. Determine 1. Probability that a 1 is received. 2. Probability that a 0 is received. 3. Probability that a 1 was transmitted, given that a 1 was received. 4. Probability that a 0 was transmitted, given that a 0 was received. 5. Probability of an error.

85 Example 19 1 1 T0 R0 T1 R1 T0 : A 0 is transmitted
0.94 1 1 0.45 0.06 Example 19 0.09 0.55 0.91 T1 R1 Consider a binary communication channel. Owing to noise, error may occur. For a given channel, assume a probability of 0.94 that a transmitted 0 is correctly received as a 0 and a probability of 0.91 that a transmitted 1 is received as a 1. Further assumed a probability of 0.45 of transmitting of a 0. Determine 1. Probability that a 1 is received. 2. Probability that a 0 is received. 3. Probability that a 1 was transmitted, given that a 1 was received. 4. Probability that a 0 was transmitted, given that a 0 was received. 5. Probability of an error. T0 : A 0 is transmitted T1 : A 1 is transmitted R0 : A 0 is received R1 : A 1 is received Define

86 T0 R0 0.94 1 1 0.45 0.06 Example 19 0.09 0.55 0.91 T1 R1

87 Example 20 There are n boxes each contains a white and b black balls. Now randomly select one ball from the 1st box to put it into the 2nd box, then randomly select one ball from the 2nd box to put it into the 3rd box, This procedure is continued. Let Wi and Bi denote the events that the chosen ball from the ith box being white and black, respectively. Determine 1. P(Wn) = ?; 2. P(Wn|W1) = ?; 3. limn→∞P(Wn|W1) = ?

88 Example 20 There are n boxes each contains a white and b black balls. Now randomly select one ball from the 1st box to put it into the 2nd box, then randomly select one ball from the 2nd box to put it into the 3rd box, This procedure is continued. Let Wi and Bi denote the events that the chosen ball from the ith box being white and black, respectively. Determine 1. P(Wn) = ?; 2. P(Wn|W1) = ?; 3. limn→∞P(Wn|W1) = ? a b 1 2 3 n1 n . . .

89 Example 20 Define pi=P(Wi). 1. P(Wn) = ?; 2. P(Wn|W1) = ?;
3. limn→∞P(Wn|W1) = ? Define pi=P(Wi).

90 Example 20 1. P(Wn) = ?; 2. P(Wn|W1) = ?; 3. limn→∞P(Wn|W1) = ? .

91 Example 20 1. P(Wn) = ?; 2. P(Wn|W1) = ?; 3. limn→∞P(Wn|W1) = ? .

92 Example 20 1. P(Wn) = ?; 2. P(Wn|W1) = ?; 3. limn→∞P(Wn|W1) = ? .

93 Example 20 1. P(Wn) = ?; 2. P(Wn|W1) = ?; 3. limn→∞P(Wn|W1) = ?

94 Example 20 1. P(Wn) = ?; 2. P(Wn|W1) = ?; 3. limn→∞P(Wn|W1) = ?


Download ppt "Chapter 1 Probability Spaces"

Similar presentations


Ads by Google