Conditional independence question - video 3.28

12 views
Skip to first unread message

Nancy Ibrahim

unread,
Oct 30, 2011, 11:55:57 AM10/30/11
to stanford...@googlegroups.com
Hello,

I don't understand how the professor solved the conditional independence quiz in video 3.28 and the similar homework question and I'd really appreciate any help with it. 

The question is about finding (T1=+ | T2=+) knowing that T1 and T2 are conditionally independent on C. I'm stuck at the very first step, i.e. how does he go from  (T1=+ | T2=+) to P(+2 | +1, C) P(C|+1) + P(+2 | +1, notC) P(notC|+1). He says we use total probability, but I don't see how we can add the C to make the second probability [P(+2 | +1, C) P(C|+1) + P(+2 | +1, notC) P(notC|+1)] equal to the first [(T1=+ | T2=+)].

Thanks alot,

Nancy

Nancy Ibrahim

unread,
Oct 31, 2011, 1:44:07 AM10/31/11
to stanford...@googlegroups.com
Sorry the question is in video 3.23 - Conditional Independence II.
Thanks,
Nancy

Anders Alm

unread,
Oct 31, 2011, 7:04:51 AM10/31/11
to stanford...@googlegroups.com
Hi,

I will try my best to explain.

We know that the first test is positive and that we are looking for the chances of the second test also being positive, but we do not know if cancer is present or not.
So we need to consider both options available:

Probabilities between independent (due to C being "known") events P(A and B) = P(A) * P(B):

What are the chances of T2 = +, given T1 = + and with cancer -> P(+2 | +1, C) * P(C|+1) -> P(+2|C) * P (C|+1)
What are the chances of T2 = +, given T1 = + and without cancer -> P(+2 | +1, notC) * P(notC|+1) -> P(+2|notC) * P (notC|+1)

Since these two options are mutually exclusive, P(A or B) -> P(A) + P(B), you just add them together.

I hope this was correct and that it helped :)

-Anders

--
You received this message because you are subscribed to the Google Groups "Stanford AI Class" group.
To post to this group, send email to stanford...@googlegroups.com.
To unsubscribe from this group, send email to stanford-ai-cl...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/stanford-ai-class?hl=en.

Nancy Ibrahim

unread,
Nov 1, 2011, 1:18:36 PM11/1/11
to stanford...@googlegroups.com
Hi Anders,
Very helpful, I finally got it! :D
Thanks very much
Nancy

lbjvg

unread,
Nov 16, 2011, 11:46:24 PM11/16/11
to Stanford AI Class
Great question and great answer.
Reply all
Reply to author
Forward
0 new messages