Review: Conditional Probability Conditional Probability The - - PowerPoint PPT Presentation

โ–ถ
review conditional probability
SMART_READER_LITE
LIVE PREVIEW

Review: Conditional Probability Conditional Probability The - - PowerPoint PPT Presentation

Review: Conditional Probability Conditional Probability The conditional probability of event given event is = Pr(E ) Pr Pr() Well defined only if Pr Sofya Raskhodnikova; Randomness in


slide-1
SLIDE 1

Review: Conditional Probability

1/23/2020

Sofya Raskhodnikova; Randomness in Computing

Conditional Probability

The conditional probability of event ๐น given event ๐บ is Pr ๐น ๐บ = Pr(E โˆฉ ๐บ) Pr(๐บ) โ‹…

Well defined only if Pr ๐‘ฎ โ‰  ๐Ÿ

slide-2
SLIDE 2

Review question

Card dealing We deal two cards. What is the probability that the second card is an ace, given that the first is an ace?

  • A. 3/52
  • B. 3/51
  • C. 4/52
  • D. 5/52
  • E. None of the answers above are correct.

1/23/2020

Sofya Raskhodnikova; Randomness in Computing

slide-3
SLIDE 3

Product rule

1/23/2020

Sofya Raskhodnikova; Randomness in Computing

For any two events ๐น1 and ๐น2,

Pr ๐น1 โˆฉ ๐น2 = Pr(๐น1) โ‹… Pr ๐น2|๐น1 .

For all events ๐น1, โ€ฆ , ๐น๐‘œ,

Pr(โˆฉ๐‘—=1

๐‘œ

๐น๐‘—) = Pr ๐น1 โ‹… Pr ๐น2 ๐น1 โ‹… โ€ฆ โ‹… (๐น๐‘œ| โˆฉ๐‘—=1

๐‘œโˆ’1 ๐น๐‘—)

slide-4
SLIDE 4

Law of Total Probability

1/23/2020

Sofya Raskhodnikova; Randomness in Computing

For any two events ๐ต and ๐น,

Pr ๐ต = Pr(๐ต โˆฉ ๐น) + Pr(๐ต โˆฉ ๐น) = Pr(๐ต|๐น) โ‹… Pr ๐น + Pr(๐ต|๐น) โ‹… Pr ๐น Let A be an event and let ๐น1, โ€ฆ , ๐น๐‘œ be mutually disjoint events whose union is ฮฉ. Pr(๐ต) =

๐‘—โˆˆ ๐‘œ

Pr(๐ต โˆฉ ๐น๐‘—) =

๐‘—โˆˆ ๐‘œ

Pr(๐ต โˆฃ ๐น๐‘—) โ‹… Pr(๐น๐‘—) .

slide-5
SLIDE 5

Bayesโ€™ Law

1/23/2020

Sofya Raskhodnikova; Randomness in Computing

For any two events ๐ต and ๐น with Pr(A) โ‰  0,

Pr ๐น|๐ต = Pr(๐ต|๐น) โ‹… Pr(๐น) Pr(๐ต) Let A be an event with Pr(A) โ‰  0 and let ๐น1, โ€ฆ , ๐น๐‘œ be mutually disjoint events whose union is ฮฉ. Pr(๐น

๐‘˜|๐ต) = Pr(๐น ๐‘˜ โˆฉ ๐ต)

Pr(๐ต) = Pr(๐ต|๐น

๐‘˜) โ‹… Pr(๐น ๐‘˜)

๐‘—โˆˆ ๐‘œ Pr(๐ต โˆฃ ๐น๐‘—) โ‹… Pr(๐น๐‘—)