Probability 2.3 Independence Anna Karlin Most slides by Alex Tsun - - PowerPoint PPT Presentation

probability
SMART_READER_LITE
LIVE PREVIEW

Probability 2.3 Independence Anna Karlin Most slides by Alex Tsun - - PowerPoint PPT Presentation

Probability 2.3 Independence Anna Karlin Most slides by Alex Tsun Agenda Chain Rule Independence Conditional Independence in class not Chain Rule (Idea) Have a Standard 52-Card Deck. 4 Suits (Clubs, Diamonds, Hearts,


slide-1
SLIDE 1

Probability

2.3 Independence

Anna Karlin Most slides by Alex Tsun

slide-2
SLIDE 2

Agenda

  • Chain Rule
  • Independence
  • Conditional Independence

not

in class

slide-3
SLIDE 3

Chain Rule (Idea)

Have a Standard 52-Card Deck.

  • 4 Suits (Clubs,

Diamonds, Hearts, Spades)

  • 13 ranks (A, 2, 3, …,

9, 10, J, Q, K)

slide-4
SLIDE 4

Chain Rule (Idea)

Have a Standard 52-Card Deck. Shuffle It, and draw the top 3 cards. What is P ( ) = P(A, B, C)? A: Ace of Spades First B: 10 of Clubs Second C: 4 of Diamonds Third

slide-5
SLIDE 5

Chain Rule (Idea)

Have a Standard 52-Card Deck. Shuffle It, and draw the top 3 cards. What is P ( ) = P(A, B, C)? A: Ace of Spades First B: 10 of Clubs Second C: 4 of Diamonds Third

PIA

PCBfA

e P

c

An B

slide-6
SLIDE 6

Chain Rule (Idea)

Have a Standard 52-Card Deck. Shuffle It, and draw the top 3 cards. (uniform probability space). What is P ( ) = P(A, B, C)?

A: Ace of Spades First B: 10 of Clubs Second C: 4 of Diamonds Third

A B C

w

E

AnBnc

AnB

slide-7
SLIDE 7

Chain Rule

peps A

p y

c

slide-8
SLIDE 8

Chain Rule (Idea)

Have a Standard 52-Card Deck. Shuffle It, and draw the top 3 cards. (uniform probability space). What is P ( ) = P(A, B, C)?

A: Ace of Spades First B: 10 of Clubs Second C: 4 of Diamonds Third

Prf E

Irl

Irl

52 51.50

TT

PB P

2nd

card

D

d LT

P

AnB

i

si

so

slide-9
SLIDE 9

Fun with cards

Two people, A and B, are playing the following game. A 6-sided die is thrown and each time it’s thrown, regardless of the history, it is equally likely to show any of the six numbers If it shows 5, A wins. If it shows 1, 2 or 6, B wins. Otherwise, they play a second round and so on. What is Pr(A wins on 4th round)?

rgp fmbjml.it yEo

stIsIs

PCBlAI

PrfAy

I

so IT

will

be

  • n

section

worksheet

use

chain rule

slide-10
SLIDE 10
slide-11
SLIDE 11

The need for independence

P

HAB

slide-12
SLIDE 12

The need for independence

slide-13
SLIDE 13

Independence

slide-14
SLIDE 14

Independence

  • Toss a coin 3 times. Each of 8 outcomes equally likely.

Define

  • A = {at most one T} = {HHH, HHT, HTH, THH}
  • B = {at most 2 Heads}= {HHH}c
  • Are A and B independent?
14

AAB

HHT HTH THH PrlA

PrlB

P4AnB

a

8t

b

Is

6

PFA PCB

PlAnB

42 37

not indep

d

F

slide-15
SLIDE 15

Network Communication

A B C D

p r q s

Each link works with the probability given, independently. What’s the probability A and D can communicate?

PCUD

PCC tPCD

T

toppathworks

Plt

PplBBjBpD p

Be bottom

palm

works

whence ED

p9

are independent

PCB

ros

PCCND

P

PCD

PFFworking

path

P TUB

P T tPlB

PfthB

sa

t

I Pri if Y.SI

pEspus7 aP97ltrs nnodffndep

slide-16
SLIDE 16

Network Communication

A B C D

p r q s

Each link works with the probability given, independently. What’s the probability A and D can communicate?

P D PCD14

slide-17
SLIDE 17

Using independence to define a probabilistic model

  • We can define our probability model via independence.
  • Example: suppose a biased coin comes up heads with

probability 2/3, independent of other flips.

  • Sample space: sequences of 3 coin tosses.
  • Pr (HHH)=?
  • Pr (TTT) = ?
  • Pr (HHT) = ?
  • Pr (HTH) = ?
  • Pr (2 heads) = ?
17

e

r

Hit

Iii

Iii

4

50

Prc

I

d E5

slide-18
SLIDE 18

Probability

3.1 Discrete Random Variables Basics

Anna Karlin Most slides by Alex Tsun

P HAD PLATH PITHH

T

3 1353435

h's

PRCH.TL

PCED

wEePriw3f5t3IPgI.PLIg IzI FI's

slide-19
SLIDE 19

Agenda

  • Intro to Discrete Random Variables
  • Probability Mass Functions
  • Cumulative Distribution function
slide-20
SLIDE 20

Flipping two coins

Fandom variable

slide-21
SLIDE 21

Flipping two coins

r

setypossible

values X

si

Ft

1 191,23

slide-22
SLIDE 22

Random Variable

slide-23
SLIDE 23

Random Variable