MATH 20: PROBABILITY Conditional Probability Discrete Co Xingru - - PowerPoint PPT Presentation

math 20 probability
SMART_READER_LITE
LIVE PREVIEW

MATH 20: PROBABILITY Conditional Probability Discrete Co Xingru - - PowerPoint PPT Presentation

MATH 20: PROBABILITY Conditional Probability Discrete Co Xingru Chen xingru.chen.gr@dartmouth.edu Monty Hall Problem 03 03 Suppose you're on a game show, and you're given the choice of three doors: behind one door is a


slide-1
SLIDE 1

MATH 20: PROBABILITY

Discrete Co Conditional Probability Xingru Chen xingru.chen.gr@dartmouth.edu

slide-2
SLIDE 2

Monty Hall Problem

§ Suppose you're

  • n

a game show, and you're given the choice

  • f

three doors: behind

  • ne

door is a car; behind the

  • thers,

goats.

01 01 02 02 03 03

slide-3
SLIDE 3

Monty Hall Problem

§ You pick a door, say

  • No. 1,

and the host, who knows what's behind the doors,

  • pens

another door, say

  • No. 3,

which has a goat.

03 03 01 01 02 02

slide-4
SLIDE 4

Monty Hall Problem

§ He then says to you, "Do you want to pick door

  • No. 2?”

§ Is it to your advantage to switch your choice?

03 03 01 01 02 02

slide-5
SLIDE 5

Monty Hall Problem

01 01 02 02 03 03

How many possible arrangements

  • f
  • ne

car and two goats behind three doors?

=

Find where the car is:

! " = 3.

slide-6
SLIDE 6

?

What is your probability

  • f

winning the car after you pick door No.1?

?

What is your probability

  • f

winning if you switch?

?

What is your probability

  • f

winning if you stick to your initial choice?

01 01 02 02 03 03

slide-7
SLIDE 7
slide-8
SLIDE 8

?

What is your probability

  • f

winning if you switch?

?

What is your probability

  • f

winning if you stick to your initial choice? Be Behind door 1 Be Behind door 2 Be Behind door 3 St Staying at door 1 Sw Switching car goat goat win car win goat goat car goat win goat win car goat goat car win goat win car

slide-9
SLIDE 9

Be Behind nd doors rs St Stay aying Sw Switching car goat goat win car win goat goat car goat win goat win car goat goat car win goat win car probability

  • f

winning 𝟐 𝟒 𝟑 𝟒

!

there is more in informatio ion about doors 2 and 3 than was available at the beginning

  • f

the game!

slide-10
SLIDE 10

Colorful Balls in a Jar

Blindly pick up a ball.

Ex Exper erimen ent

  • 𝑄 𝑌 = blue ball =

! "# = " $

  • 𝑄 𝑌 = green ball =

# "# = " %

  • 𝑄 𝑌 = brown ball =

% "# = " #

Outco come 𝒀

slide-11
SLIDE 11

Colorful Balls in a Jar

  • 𝑄 𝑌 = blue ball =

! "# = " $

  • 𝑄 𝑌 = green ball =

# "# = " %

  • 𝑄 𝑌 = brown ball =

% "# = " #

Outco come 𝒀

𝑄 𝐹 = 1 2

Even Event 𝑭: : the ball is blue

  • r

green

𝑄 𝐹 = 2 3

Even Event 𝑮: : the ball is brown

  • r

green

slide-12
SLIDE 12
  • 𝑄 𝑌 = blue ball =

! "# = " $

  • 𝑄 𝑌 = green ball =

# "# = " %

  • 𝑄 𝑌 = brown ball =

% "# = " #

Outco come 𝒀

𝑄 𝐹 = 1 2

Even Event 𝑭: : the ball is blue

  • r

green

𝑄 𝐹 = 2 3

Even Event 𝑮: : the ball is brown

  • r

green

!

The ball is picked up and we are told that Event 𝐹 has

  • ccurred.

𝑄 𝐹|𝐺 = ⋯

Even Event 𝑮 gi given en 𝑭: the ball is brown

  • r

green kn known tha that the the ball is blue

  • r

green

slide-13
SLIDE 13
  • 𝑄 𝑌 = blue ball =

! "# = " $

  • 𝑄 𝑌 = green ball =

# "# = " %

  • 𝑄 𝑌 = brown ball =

% "# = " #

Outco come 𝒀

𝑄 𝐹 = 1 2

Even Event 𝑭: : the ball is blue

  • r

green

𝑄 𝐹 = 2 3

Even Event 𝑮: : the ball is brown

  • r

green

!

The ball is picked up and we are told that Event 𝐹 has

  • ccurred.

𝑄 𝐹|𝐺 = 2 6 = 1 3

Even Event 𝑮 gi given en 𝑭: : the ball is brown

  • r

green kn known that the ball is blue

  • r

green

slide-14
SLIDE 14

Discrete Conditional Probability

§ Suppose we assign a distribution function to a sample space and then learn that an event 𝐹 has

  • ccurred.

§ We call the new probability for an event 𝐺 the co conditional al pr probab ability

  • f

𝐺 gi given en 𝐹 and denote it by 𝑄(𝐺|𝐹). !

there is more in informatio ion about the event than was available at the beginning

  • f

the experiment.

?

How to compute 𝑄(𝐺|𝐹)?

slide-15
SLIDE 15

Discrete Conditional Probability

§ Let Ω = 𝜕!, 𝜕", ⋯ , 𝜕# be the

  • riginal

sample space with distribution function 𝑛(𝜕$) assigned. § Given that the event 𝐹 has

  • ccurred

(𝑄(𝐹) > 0), the conditional probability 𝑛 𝜕% 𝐹 = 𝑑𝑛(𝜕%) for all 𝜕% in 𝐹. ∑& 𝑛 𝜕% 𝐹 = 𝑑 ∑& 𝑛(𝜕%) = 𝑑𝑄 𝐹 = 1 ⟹ 𝑑 =

! '(&).

§ Thus, we define the conditional distribution given 𝐹 𝑛 𝜕% 𝐹 = *(+!)

'(&) .

slide-16
SLIDE 16

Discrete Conditional Probability

§ Let Ω = 𝜕!, 𝜕", ⋯ , 𝜕# be the

  • riginal

sample space with distribution function 𝑛(𝜕$) assigned. § Given that the event 𝐹 has

  • ccurred

(𝑄(𝐹) > 0), the conditional probability 𝑛 𝜕% 𝐹 = ⋯

𝜕! in 𝐹

𝑛 𝜕# 𝐹 = 𝑛(𝜕#) 𝑄(𝐹)

𝜕! not in 𝐹

𝑛 𝜕# 𝐹 = ⋯

slide-17
SLIDE 17

A dice

Rolling a die once.

Ex Exper erimen ent

Ω = 1, 2, 3, 4, 5, 6

Sample Space ce 𝛁

𝑄 𝐹 = 2 6 = 1 3

Even Event 𝑭: : 𝒀 > 𝟓

𝑛 1 = 𝑛 2 = 𝑛 3 = 𝑛 4 = 𝑛 5 = 𝑛 6 = 1 6

Distribution Funct ction 𝒏(𝝏𝒌)

slide-18
SLIDE 18

A dice

Ω = 1, 2, 3, 4, 5, 6

Sample Space ce 𝛁

𝑄 𝐹 = 2 6 = 1 3

Even Event 𝑭: : 𝒀 > 𝟓

𝑛 1 = 𝑛 2 = 𝑛 3 = 𝑛 4 = 𝑛 5 = 𝑛 6 = 1 6

Distribution Funct ction 𝒏(𝝏𝒌)

? 𝑛 𝜕! 𝐹 = 𝑛(𝜕!) 𝑄(𝐹)

slide-19
SLIDE 19

A dice

? 𝑛 𝜕! 𝐹 = 𝑛(𝜕!) 𝑄(𝐹)

  • 1, 2, 3, 4
  • 5, 6

Sa Sample Su Sub-Space ce

  • 𝑛 1 𝐹 = 𝑛 2 𝐹 = 𝑛 3 𝐹 = 𝑛 4 𝐹 = 0
  • 𝑛 5 𝐹 = 𝑛 6 𝐹 = "/&

"/! = " '

Co Conditional Proba babi bility

𝑛(𝜕&) = 1 6

Distribution Funct ction 𝒏(𝝏𝒌)

𝑄 𝐹 = 2 6 = 1 3

Even Event 𝑭: : 𝒀 > 𝟓

slide-20
SLIDE 20

Conditional Probability Formula

=

The condition probability

  • f

a general event 𝐺 given that 𝐹

  • ccurs,

𝑄 𝐺 𝐹 = ∑(∩* 𝑛 𝜕# 𝐹 = ∑(∩*

+(-!) /(*) = /((∩*) /(*) .

= 𝑄 𝐺 𝐹 = 1(2∩4)

1(4) .

𝜕# in 𝐹 𝑛 𝜕# 𝐹 = 𝑛(𝜕#) 𝑄(𝐹) 𝜕# not in 𝐹 𝑛 𝜕# 𝐹 = 0

slide-21
SLIDE 21

A dice

𝑄 𝐺 𝐹 = 1/6 1/3 = 1 2

Co Conditional Proba babi bility

𝑄 𝐹 = 2 6 = 1 3

Even Event 𝑭: : 𝒀 > 𝟓

𝑄 𝐺 = 3 6 = 1 2

Even Event 𝑮: : 𝒀 is is even

= 𝑄 𝐺 𝐹 = 1(2∩4)

1(4) . 𝑄 𝐹 ∩ 𝐺 = 1 6

Even Event 𝑭 ∩ 𝑮: : 𝒀 = 𝟕

slide-22
SLIDE 22

A dice

𝑄 𝐺 𝐹 = 0 2 = 1/3 = 0

Co Conditional Proba babi bility

𝑄 𝐹 = 2 6 = 1 3

Even Event 𝑭: : 𝒀 > 𝟓

𝑄 𝐺 = 2 6 = 1 3

Even Event 𝑮: : 𝒀 is is a sq square number

= 𝑄 𝐺 𝐹 = 1(2∩4)

1(4) . 𝑄 𝐹 ∩ 𝐺 = 0

Even Event 𝑭 ∩ 𝑮: : ∅

slide-23
SLIDE 23

Boy or Girl

§ Suppose you're

  • n

a game show, and you're given the choice

  • f

three doors: behind

  • ne

door is a car; behind the

  • thers,

goats.

What is the probability that a family

  • f

two children has

  • two

boys given that it has at least

  • ne

boy?

  • two

boys given that the first child is a boy?

  • ne

girl given that it has at least

  • ne

boy?

  • ne

girl given that the first child is a boy?

slide-24
SLIDE 24

Boy or Girl

§ Suppose you're

  • n

a game show, and you're given the choice

  • f

three doors: behind

  • ne

door is a car; behind the

  • thers,

goats.

  • two

boys given that it has at least

  • ne

boy?

  • two

boys given that the first child is a boy?

  • ne

girl given that it has at least

  • ne

boy?

  • ne

girl given that the first child is a boy?

= 𝑄 𝐺 𝐹 = 1(2∩4)

1(4) .

𝐺

two boys

  • ne

girl

𝑭

at least

  • ne

boy the first child is a boy

slide-25
SLIDE 25

Boy or Girl

Ω = 𝐶𝐶, 𝐶𝐻, 𝐻𝐶, 𝐻𝐻

Sample Space ce 𝛁

𝑄 = ⋯

Even Event: at leas east

  • ne

boy

𝑛 𝐶𝐶 = 𝑛 𝐶𝐻 = 𝑛 𝐻𝐶 = 𝑛 𝐻𝐻 = 1 4

Distribution Funct ction 𝒏(𝝏𝒌)

A family of two children.

Ex Exper erimen ent 1 1 2 1 3

𝑄 = ⋯

Event: the first ch child is a boy

𝑄 = ⋯

Even Event: two boys

𝑄 = ⋯

Even Event:

  • ne

gi girl

slide-26
SLIDE 26

Boy or Girl

𝑄 𝐹 = 1 − 1 4 = 3 4

Even Event 𝑭: : at least

  • ne

boy 1 1 2 1 3 What is the probability that a family

  • f

two children has

  • two

boys given that it has at least

  • ne

boy?

= 𝑄 𝐺 𝐹 = 1(2∩4)

1(4) . 𝑄 𝐺 = 1 4

Even Event 𝑮: : two boys

𝑄 𝐹 ∩ 𝐺 = 1 4

Even Event 𝑭 ∩ 𝑮: : two boys

𝑄 𝐺 𝐹 =

'()∩+) '(+) = "/! $/! = " $.

slide-27
SLIDE 27

Boy or Girl

𝑄 𝐹 = 1 2

Even Event 𝑭: : the first is a boy 1 1 2 1 3 What is the probability that a family

  • f

two children has

  • two

boys given that the first child is a boy?

= 𝑄 𝐺 𝐹 = 1(2∩4)

1(4) . 𝑄 𝐺 = 1 4

Even Event 𝑮: : two boys

𝑄 𝐹 ∩ 𝐺 = 1 4

Even Event 𝑭 ∩ 𝑮: : two boys

𝑄 𝐺 𝐹 =

'()∩+) '(+) = "/! "/# = " #.

slide-28
SLIDE 28

Boy or Girl

𝑄 𝐹 = 1 − 1 4 = 3 4

Even Event 𝑭: : at least

  • ne

boy 1 1 2 1 3 What is the probability that a family

  • f

two children has

  • ne

girl given that it has at least

  • ne

boy?

= 𝑄 𝐺 𝐹 = 1(2∩4)

1(4) . 𝑄 𝐺 = 1 2

Even Event 𝑮: :

  • ne

girl

𝑄 𝐹 ∩ 𝐺 = 1 2

Even Event 𝑭 ∩ 𝑮: :

  • ne

boy and

  • n
  • ne

girl

𝑄 𝐺 𝐹 =

'()∩+) '(+) = "/# $/! = # $.

slide-29
SLIDE 29

Boy or Girl

𝑄 𝐹 = 1 2

Even Event 𝑭: : the first is a boy 1 1 2 1 3 What is the probability that a family

  • f

two children has

  • ne

girl given that the first child is a boy?

= 𝑄 𝐺 𝐹 = 1(2∩4)

1(4) . 𝑄 𝐺 = 1 2

Even Event 𝑮: :

  • ne

girl

𝑄 𝐹 ∩ 𝐺 = 1 4

Even Event 𝑭 ∩ 𝑮: : the first is a boy and the seco cond is a gi girl

𝑄 𝐺 𝐹 =

'()∩+) '(+) = "/! "/# = " #.

slide-30
SLIDE 30

§ Suppose you're

  • n

a game show, and you're given the choice

  • f

three doors: behind

  • ne

door is a car; behind the

  • thers,

goats. What is the probability that a family

  • f

two children has

  • two

boys given that it has at least

  • ne

boy? 𝑄 𝐺 = "

0,

𝑄 𝐺 𝐹 = "

!.

  • two

boys given that the first child is a boy? 𝑄 𝐺 = "

0,

𝑄 𝐺 𝐹 = "

'.

  • ne

girl given that it has at least

  • ne

boy? 𝑄 𝐺 = "

',

𝑄 𝐺 𝐹 = '

!.

  • ne

girl given that the first child is a boy? 𝑄 𝐺 = "

',

𝑄 𝐺 𝐹 = "

'.

slide-31
SLIDE 31

Independent Events

=

Tow events 𝐹 and 𝐺 are independent if both 𝐹 and 𝐺 have positive probability and if 𝑄(𝐹|𝐺) = 𝑄(𝐹), and 𝑄(𝐺|𝐹) = 𝑄(𝐺). What is the probability that a family

  • f

two children has

  • ne

girl given that the first child is a boy? 𝑄 𝐺 = "

',

𝑄 𝐺 𝐹 = "

'.

slide-32
SLIDE 32

§ Suppose you're

  • n

a game show, and you're given the choice

  • f

three doors: behind

  • ne

door is a car; behind the

  • thers,

goats.

A A Philosophical Essay

  • n

Probabilities I have seen men, ardently desirous

  • f

having a son, who could learn

  • nly

with anxiety

  • f

the births

  • f

boys in the month when they expected to become fathers. Imagining that the ratio

  • f

these births to those

  • f

girls

  • ught

to be the same at the end

  • f

each month, they judged that th the boys already born rn wo would render more probable the births next

  • f

gi girls. Pi Pierre-Si Simon Lapla place

Boy or Girl

slide-33
SLIDE 33

§ Suppose you're

  • n

a game show, and you're given the choice

  • f

three doors: behind

  • ne

door is a car; behind the

  • thers,

goats.

Mo Monte Carlo Casin ino in a game

  • f roulette at

the Monte Carlo Casino on August 18, 1913, the ball fell in black 26 times in a row. This was an extremely uncommon

  • ccurrence:

the probability

  • f

a sequence

  • f

either red

  • r

black

  • ccurring

26 times in a row is around 1 in 66.6 million, assuming the mechanism is unbiased. Ga Gamblers lost millions

  • f

francs betting against black, k, reasoning incorrectly that th the str treak was causing an imbalance in th the randomness

  • f

th the wheel, and th that it ha had to be fol

  • llow
  • wed

by a lon

  • ng

streak

  • f
  • f

re red.

Black or Red

slide-34
SLIDE 34

§ Suppose you're

  • n

a game show, and you're given the choice

  • f

three doors: behind

  • ne

door is a car; behind the

  • thers,

goats.

The ga gambler er's fallacy cy, also known as the Mo Monte Carlo fallacy cy or the fallacy

  • f

the maturity

  • f

chances, is the erroneous belief that if if a particu icular event

  • ccu

ccurs more frequ quently than normal during the past it is less like kely to happen in the future (or vice versa), when it has

  • therwise

been established that the probability

  • f

such events does not depend

  • n

what has happened in the past. Such events, having the quality

  • f

historical independence, are referred to as st statist stically lly in

  • independent. The fallacy is

commonly associated with gambling, where it may be believed, for example, that the next dice roll is more than usually likely to be six because there have recently been less than the usual number

  • f

sixes.

Gambler’s Fallacy

=

Tow events 𝐹 and 𝐺 are independent if both 𝐹 and 𝐺 have positive probability and if 𝑄(𝐹|𝐺) = 𝑄(𝐹), and 𝑄(𝐺|𝐹) = 𝑄(𝐺).

slide-35
SLIDE 35

§ Suppose you're

  • n

a game show, and you're given the choice

  • f

three doors: behind

  • ne

door is a car; behind the

  • thers,

goats.

Independent Events

=

Tow events 𝐹 and 𝐺 are independent if both 𝐹 and 𝐺 have positive probability and if 𝑄(𝐹|𝐺) = 𝑄(𝐹), and 𝑄(𝐺|𝐹) = 𝑄(𝐺). If 𝑄 𝐹 > 0 and 𝑄 𝐺 > 0, the 𝐹 and 𝐺 are independent if and

  • nly

if 𝑄 𝐹 ∩ 𝐺 = 𝑄 𝐹 𝑄(𝐺).

Theorem

T

𝑄 𝐹 𝐺 = /(*∩()

/(() .

𝑄 𝐺 𝐹 = /((∩*)

/(*) .

slide-36
SLIDE 36

If 𝑄 𝐹 > 0 and 𝑄 𝐺 > 0, the 𝐹 and 𝐺 are independent if and

  • nly

if 𝑄 𝐹 ∩ 𝐺 = 𝑄 𝐹 𝑄(𝐺).

Theorem

T

A set

  • f

events 𝐵", 𝐵', ⋯ , 𝐵1 is said to be mutually independent if for any subset 𝐵2, 𝐵3, ⋯ , 𝐵+ of these events we have 𝑄 𝐵2 ∩ 𝐵3 ∩ ⋯ 𝐵+ = 𝑄 𝐵2 𝑄(𝐵3) ⋯ 𝑄(𝐵+). Or equivalently, if for any sequence ̅ 𝐵", ̅ 𝐵', ⋯ , ̅ 𝐵1, with ̅ 𝐵2 = 𝐵2 or ̅ 𝐵2 = A 𝐵2, 𝑄 ̅ 𝐵" ∩ ̅ 𝐵' ∩ ⋯ ̅ 𝐵1 = 𝑄 ̅ 𝐵" 𝑄( ̅ 𝐵') ⋯ 𝑄( ̅ 𝐵1).

Extension to a finite set of 𝑜 events

T

slide-37
SLIDE 37

We Weather Forecast

Even Event-1: : rain 𝑄 rain = 0.6 Even Event-2: windy & cl cloudy 𝑄 windy & cloudy = 0.48 Even Event-3:

  • ther

people ca carrying umbrellas 𝑄 umbrella = 0.56 Even Event-4: 4: the the denti tist is

  • pen

to today 𝑄 dentist = 5 7

slide-38
SLIDE 38

We Weather Forecast

Even Event-1: 1: rain 𝑄 rain = 0.6 Even Event-2: windy & cl cloudy 𝑄 windy & cloudy = 0.48 𝑄 rain | windy & cloudy = 0.85 Even Event-3:

  • ther

people ca carrying umbrellas 𝑄 umbrellas = 0.56 𝑄 rain | umbrellas = 0.9 Even Event-4: 4: the the denti tist is

  • pen

to today

𝑄 dentist = 5 7 𝑄 rain | dentist = 0.6

slide-39
SLIDE 39

JOINT DISTRIBUTION FUNCTIONS

joint random variable

slide-40
SLIDE 40
slide-41
SLIDE 41

Joint Distribution Functions

§ Let 𝑌G, 𝑌H, ⋯ , 𝑌I be random variables associated with an experiment. Suppose that the sample space (the set

  • f

possible

  • utcomes)
  • f

𝑌J is the set 𝑆J. § The joint random variable 𝑌 = (𝑌G, 𝑌H, ⋯ , 𝑌I) is defined to be the random variable whose

  • utcomes

consist

  • f
  • rdered

𝑜-tuples

  • f
  • utcomes,

with the 𝑗th coordinate lying in the set 𝑆J. The sample space Ω of 𝑌 is the Cartesian product

  • f

the 𝑆J’s: Ω = 𝑆G×𝑆H× ⋯×𝑆I.

slide-42
SLIDE 42

Joint Distribution Functions

§ The joint distribution function

  • f

𝑌 gives the probability

  • f

each

  • f

the

  • utcomes. The

distributions

  • f

the individual random variables are called mar marginal al dist stributions. § The random variables 𝑌G, 𝑌H, ⋯ , 𝑌I are mu mutual ally indepe pendent if 𝑄 𝑌G = 𝑠

G, 𝑌H = 𝑠H, ⋯ , 𝑌I = 𝑠 I = 𝑄 𝑌G = 𝑠 G 𝑄(𝑌H = 𝑠H) ⋯ 𝑄(𝑌I = 𝑠 I),

for any choice

  • f

𝑠

G, 𝑠H, ⋯ , 𝑠 I.

slide-43
SLIDE 43

Probability and Statistics

P S

relation probability statistics

slide-44
SLIDE 44

In a group

  • f

60 people, the numbers who do

  • r

do not smoke and do

  • r

do not have cancer are reported as shown below. Cancer Smoke

Not Smoke ke Smoke ke To Total Not Cancer 40 10 50 Cancer 7 3 10 Total 47 13 60

slide-45
SLIDE 45

Let Ω be the sample space consisting

  • f

these 60

  • people. A

person is chosen at random from the

  • group. Let

𝐷(𝜕) = 1 if this person has cancer and 0 if not, and 𝑇(𝜕) = 1 if this person smokes and 0 if not.

Ca Cancer

  • Random

Variable: 𝐷

  • Sample

Space: 0, 1

  • Distribution

Function: 𝑄 𝐷 = 0 = 50 60 = 5 6 𝑄 𝐷 = 1 = 10 60 = 1 6 Smoke ke

  • Random

Variable: 𝑇

  • Sample

Space: 0, 1

  • Distribution

Function: 𝑄 𝑇 = 0 = 47 60 𝑄 𝑇 = 1 = 13 60

Cancer Smoke the ma marginal distributions of 𝐷 and 𝑇

slide-46
SLIDE 46

Cance cer and Smoke ke

  • Random

Variable: 𝑌 = (𝐷, 𝑇)

  • Sample

Space: Ω = 0, 1 × 0, 1

  • Joint

Distribution Function: Cancer Smoke the jo joint nt distribution of {𝐷, 𝑇} 𝑇

1

𝐷

40/60 10/60 1 7/60 3/60

slide-47
SLIDE 47

Cancer Smoke the jo joint nt distribution of {𝐷, 𝑇} 𝑇

1

𝐷

40/60 10/60 1 7/60 3/60

Ca Cancer

  • Random

Variable: 𝐷

  • Sample

Space: 0, 1

  • Distribution

Function: 𝑄 𝐷 = 0 = 50 60 = 5 6 𝑄 𝐷 = 1 = 10 60 = 1 6 Smoke ke

  • Random

Variable: 𝑇

  • Sample

Space: 0, 1

  • Distribution

Function: 𝑄 𝑇 = 0 = 47 60 𝑄 𝑇 = 1 = 13 60

the ma marginal distributions of 𝐷 and 𝑇

slide-48
SLIDE 48

the joint distribution

  • f

{𝐷, 𝑇}

𝑇 1 𝐷 40/60 10/60 1 7/60 3/60 Ca Cancer

  • Random

Variable: 𝐷

  • Sample

Space: 0, 1

  • Distribution

Function: 𝑄 𝐷 = 0 = 50 60 = 5 6 𝑄 𝐷 = 1 = 10 60 = 1 6 Smoke ke

  • Random

Variable: 𝑇

  • Sample

Space: 0, 1

  • Distribution

Function: 𝑄 𝑇 = 0 = 47 60 𝑄 𝑇 = 1 = 13 60

the marginal distributions

  • f

𝐷 and 𝑇

=

Tow events 𝐹 and 𝐺 are independent if both 𝐹 and 𝐺 have positive probability and if 𝑄(𝐹|𝐺) = 𝑄(𝐹), and 𝑄(𝐺|𝐹) = 𝑄(𝐺).

?

Are 𝐷 and 𝑇 independent?

𝑄 𝐷 = 1 𝑇 = 1 = ⋯ 𝑄 𝑇 = 1 𝐷 = 1 = ⋯

slide-49
SLIDE 49

the joint distribution of {𝐷, 𝑇}

𝑇 1 𝐷 40/60 10/60 1 7/60 3/60 Ca Cancer

  • Random

Variable: 𝐷

  • Sample

Space: 0, 1

  • Distribution

Function: 𝑄 𝐷 = 0 = 50 60 = 5 6 𝑄 𝐷 = 1 = 10 60 = 1 6 Smoke ke

  • Random

Variable: 𝑇

  • Sample

Space: 0, 1

  • Distribution

Function: 𝑄 𝑇 = 0 = 47 60 𝑄 𝑇 = 1 = 13 60

The marginal distributions of 𝐷 and 𝑇

=

Tow events 𝐹 and 𝐺 are independent if both 𝐹 and 𝐺 have positive probability and if 𝑄(𝐹|𝐺) = 𝑄(𝐹), and 𝑄(𝐺|𝐹) = 𝑄(𝐺).

?

Are 𝐷 and 𝑇 independent?

𝑄 𝐷 = 1 𝑇 = 1 = 3 13 𝑄 𝑇 = 1 𝐷 = 1 = 3 10

slide-50
SLIDE 50

the joint distribution of {𝐷, 𝑇}

𝑇 1 𝐷 40/60 10/60 1 7/60 3/60 Ca Cancer

  • Random

Variable: 𝐷

  • Sample

Space: 0, 1

  • Distribution

Function: 𝑄 𝐷 = 0 = 50 60 = 5 6 𝑄 𝐷 = 1 = 10 60 = 1 6 Smoke ke

  • Random

Variable: 𝑇

  • Sample

Space: 0, 1

  • Distribution

Function: 𝑄 𝑇 = 0 = 47 60 𝑄 𝑇 = 1 = 13 60

The marginal distributions of 𝐷 and 𝑇

=

If 𝑄 𝐹 > 0 and 𝑄 𝐺 > 0, the 𝐹 and 𝐺 are independent if and

  • nly

if 𝑄 𝐹 ∩ 𝐺 = 𝑄 𝐹 𝑄(𝐺).

=

Are 𝐷 and 𝑇 independent?

𝑄(𝐷 = 1, 𝑇 = 1) = 3 60 𝑄 𝐷 = 1 𝑄 𝑇 = 1 = 1 6 13 60 = 13 360

slide-51
SLIDE 51

INDEPENDENT TRIALS PROCESS

mutually independent & same distribution

slide-52
SLIDE 52

Independent Trials Process

A sequence

  • f

random variables 𝑌", 𝑌', ⋯ , 𝑌1 that are mu mutually independent and that have the the same distr tributi tion is called a sequence

  • f

independent trials

  • r

independent trials process.

slide-53
SLIDE 53

Independent Trials Process

§ A sequence

  • f

random variables 𝑌G, 𝑌H, ⋯ , 𝑌I that are mu mutual ally in independent and that have th the same dis istr trib ibutio tion is called a sequence

  • f

independent trials

  • r

independent trials process. § Suppose we repeat 𝑜 times for a simple experiment that has a sample space 𝑆 = 𝑠

G, 𝑠H, ⋯ , 𝑠 M ,

and a distribution function 𝑛N =

O, O- ⋯ O. P, P- ⋯

  • P. .

𝑆 = 1, 2, 3, 4, 5, 6 𝑛4 = 1 2 3 4 5 6 1 6 1 6 1 6 1 6 1 6 1 6

slide-54
SLIDE 54

Independent Trials Process

§ We can describe the entire experiment using the sample space Ω = 𝑆×𝑆× ⋯×𝑆, consisting

  • f

all possible sequences 𝜕 = (𝜕G, 𝜕H, ⋯ , 𝜕I) where 𝜕Q is chosen from 𝑆. § The joint distribution is assigned to be the product distribution 𝑛 𝜕 = 𝑛 𝜕G 𝑛(𝜕H) ⋯ 𝑛(𝜕I), with 𝑛 𝜕Q = 𝑞! when 𝜕Q = 𝑠!. § Let 𝑌

Q denote

the 𝑘th coordinate

  • f

the

  • utcome

𝜕, the random variable 𝑌G, 𝑌H, ⋯ , 𝑌I form an independent trials process.