1 / 17

C2: Outcomes , events, and probability

CIS 2033 based on Dekking et al. A Modern Introduction to Probability and Statistics. 2007 Slides by Tim Birbeck Instructor Longin Jan Latecki. C2: Outcomes , events, and probability. 2.1 – Sample Spaces.

jjanna
Download Presentation

C2: Outcomes , events, and probability

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CIS 2033 based onDekking et al. A Modern Introduction to Probability and Statistics. 2007Slides by Tim Birbeck Instructor Longin Jan Latecki C2: Outcomes, events, and probability

  2. 2.1 – Sample Spaces • Sample Space: A sample space is a set whose elements describe the outcomes of the experiment in which we are interested. • Example:If we ask arbitrary people on the street what month they were born, the following is an obvious sample space:

  3. 2.1 – Sample Spaces • Permutation: the order in which n different objects can be placed. • Example:If we have three envelopes and number them 1, 2, and 3, the following sample space consists of every different permutation we can make using all three envelopes:

  4. 2.2 – Events • Event: A subset of the sample space • Example:In the birthday experiment, if we ask for the outcomes that only involve the months with 31 days, we would have the following event:

  5. 2.2 – Events • We can use set operators to combine events: • Example: In the birthday experiment, if we intersect the event R, where the month has the letter ‘r’ in it, and the event L, where the month has 31 days, we get the following:

  6. 2.2 – Events • Disjoint / Mutually Exclusive: Two events that have no outcomes in common. A∩B = ∅ • Example: In the birthday experiment, the event L, all the birthdays with 31 days, and the event {Feb}are mutually exclusive. • We say the event A implies event B if the outcomes of A also lie in B. A ⊂ B

  7. 2.2 – Events • DeMorgan’s laws: For any two events AandBwehave:(A ∪ B)c = Ac ∩ Bc and (A ∩ B)c = Ac ∪ Bc

  8. 2.3 – Probability • Probability function: A probability functionP on a finite sample space Ω assigns to each event A in Ω a number P(A) in [0,1] such that:(i) P(Ω) = 1, and(ii) P(A ∪ B) = P(A) + P(B) if A and B are disjoint.The number P(A) is called the probability that A occurs. • Example: In an experiment where we flip a perfectly weighted coin and record whether the coin lands on heads or tails, we could define the probability function P such that:P({H}) = P({T}) =1/2

  9. 2.3 – Probability • Formally, we should write P({T}) and not P(T) because a probability function works on events and not outcomes. However, in practice, we often drop the curly braces for a singleton set. • If we consider an experiment that only has two outcomes, such as success or failure, one outcome has a probability p to occur where 0 < p < 1, and the other outcome has a probability of 1 - p to occur.

  10. 2.3 – Probability • To assign probability to an event, we can use the additivity property. • Example: Ω = {123, 132, 213, 231, 312, 321}P(213) = P(231) = 1/6T = {213, 231}P(T) = P(213) + P(231) = 1/6 + 1/6 = 1/3

  11. 2.3 – Probability • If two sets are not disjoint, we must use following rule to determine probability:P(A ∪ B) = P(A) + P(B) − P(A ∩ B) • Example: Ω = {123, 132, 213, 231, 312, 321}P(213) = P(231) = P(123) =1/6S = {123, 213}T = {213, 231}S ∩ T = {213}P(S ∪T) = [P(123) + P(213)] + [P(213) + P(231)] - P(213) = [1/3] + [1/3] – 1/6 = 1/2

  12. 2.3 – Probability • By setting A ∪ Ac = Ω to P(A ∪ B) = P(A) + P(B) − P(A ∩ B) We obtain 1 = P(Ω)= P(A) + P(Ac) Hence, we have an important rule for the probability of the complement event: P(Ac) = 1 - P(A)

  13. 2.4 – Products of sample spaces • Usually, one experiment is not sufficient, so an experiment is performed several times. • To get a sample space of multiple experiments, we use the cross product. • Example:Ω = Ω1 × Ω2 = {(ω1, ω2) : ω1 ∈ Ω1, ω2 ∈ Ω2}where Ω1is the sample space of the first experiment and Ω2 is the sample space of the second experiment. • Example:If we flip a coin twice the sample space would be:Ω = {H, T}× {H, T} = {(H,H), (H, T), (T,H), (T,T)}.

  14. 2.4 – Products of sample spaces • A certain experiment may have 2 outcomes: success or failure. If we perform this experiment n times and let 0 represent failure and 1 represent success, we have the following sample space:Ω = Ω1 × Ω2 × … ×ΩnWhere Ω1=Ω2= … = Ωn = {1, 0}

  15. 2.4 – Products of sample spaces • Example: If Tim goes on 5 dates and the date is either “successful” or “unsuccessful,” we can model the event where Tim is only successful on 1 of his 5 dates as:A = {(0, 0, 0, 0, 1), (0, 0, 0, 1, 0), (0, 0, 1, 0, 0), (0, 1, 0, 0, 0), (1,0, 0, 0, 0)} • Assuming Tim’s chance of being “successful” is pand each date’s chance of success is independent of the previous date:P(A) = 5 (1 − p)4p1Because: (1 – p)is the probability of being unsuccessful and this must happen 4 times. p is probability of being successful and this must happen 1 time. There are 5 outcomes in the event A.

  16. 2.5 – An infinite sample space • What is the probability of the event B “exactly two experiments were successful”? • A probability function on an infinite (or finite) sample space Ωassigns to each event A in Ωa number P(A) in [0, 1] such that(i) P(Ω) = 1, and(ii) P(A1 ∪ A2 ∪ A3 ∪ ・・・) = P(A1) + P(A2) + P(A3) + ・・・, where A1,A2,A3, . . . are disjoint events.

  17. 2.5 – An infinite sample space • Example:If we flip a coin until it lands on heads, the outcome of the experiment could be the number of times the coin needed to be flipped until heads came up. The sample space for this experiment would be:Ω = {1, 2, 3, . . . }If the chance of landing on heads is p, the chance of landing on tails is 1-p. Therefore:P(1) = p. P(2) = (1 – p)1p. P(3) = (1-p)2pP(n) = (1-p)n-1p

More Related