190 likes | 294 Views
Conditional Probability – A C o lo r Sequence Example. Compute Pr{ blue shows 1 st | blue shows 4 th }. Pr{ blue shows 1 st | blue shows 4 th } Identify Prior Event “Blue Shows 4 th “. Pr{ blue shows 1 st | blue shows 4 th }; Compute Prior Probability Pr{ Blue Shows 4 th } =
E N D
Pr{ blue shows 1st | blue shows 4th} Identify Prior Event “Blue Shows 4th “
Pr{ blue shows 1st | blue shows 4th}; Compute Prior Probability Pr{ Blue Shows 4th } = Pr{ exactly one of BBBB, BGGB, RYYB shows } = Pr{BBBB} + Pr{BGGB} + Pr{RYYB} = .10+.25+.15 = .50
Pr{ blue shows 1st | blue shows 4th} Identify Joint Probability “Blue Shows 1st and 4th “
Pr{ blue shows 1st | blue shows 4th} Compute Joint Probability Pr{ Blue Shows 1st and 4th } = Pr{ exactly one of BBBB, BGGB shows } = Pr{BBBB} + Pr{BGGB} = .10+.25 = .35
Conditional Probability = Joint Probability / Prior Probability So, Pr{ Blue Shows 1st | Blue Shows 4th } = Pr{ Blue Shows 1st and 4th }/Pr{Blue Shows 4th } = .35/ .50= .70
Pr{ green shows 2nd or 3rd | yellow shows }; Identify Prior Event “Yellow Shows”
Pr{ green shows 2nd or 3rd | yellow shows } Compute Prior Probability Pr{ Yellow Shows } = Pr{ exactly one of YYYY, BYRG, RYYB shows } = Pr{YYYY}+ Pr{BYRG}+ Pr{RYYB} = .30+.15+.15 = .60
Identify Joint Event “Green Shows 2nd or 3rd and Yellow Shows” No sequences meet this requirement, so Pr{“Green Shows 2nd or 3rd and Yellow Shows”} = 0
Conditional Probability = Joint Probability / Prior Probability So Pr{ Green Shows 2nd or 3rd | Yellow shows } = Pr{ Green Shows 2nd or 3rd and Yellow shows }/ Pr{Yellow shows } = 0 / .60= 0
Pr{ yellow shows | red shows } Identify Prior Event “Red Shows”
Compute Prior Probability Pr{ Red Shows } = Pr{ exactly one of RGGR, BYRG, RYYB shows } = Pr{RGGR} + Pr{BYRG} + Pr{RYYB } = .05+.15+.15 = .35
Pr{ yellow shows | red shows } Identify Joint Probability “ Yellow and Red Show “
Compute Joint Probability Pr{ Yellow and Red Show } = Pr{ exactly one of BYRG, RYYB shows } = Pr{BYRG}+ Pr{RYYB } = .15 + .15 = .30
Conditional Probability = Joint Probability / Prior Probability So Pr{ Yellow Shows | Red Shows } = Pr{ Yellow and Red Shows }/Pr{Red Shows } = .30/.35 = 6/7 = .8571