Given the probability: $$p(a,b,c)=p(a)p(c|a)p(b|c)$$
How to prove $$ p(a,b)=p(a)\sum_{c}p(c|a)p(b|c)=p(a)p(b|a) $$
Does anyone have idea how to prove the above sequence? I am confused how is the sum rule applied.
Cross Validated is a question and answer site for people interested in statistics, machine learning, data analysis, data mining, and data visualization. It only takes a minute to sign up.
Sign up to join this communityGiven the probability: $$p(a,b,c)=p(a)p(c|a)p(b|c)$$
How to prove $$ p(a,b)=p(a)\sum_{c}p(c|a)p(b|c)=p(a)p(b|a) $$
Does anyone have idea how to prove the above sequence? I am confused how is the sum rule applied.
With multiple applications of the conditional probabilty rule you get:
$$p(a,b) = \sum_{c} p(a,b,c) = \sum_{c} p(b,c|a) p(a) = p(a) \sum_{c} p(b,c|a) = p(a) \sum_{c} p(b|a,c) p(c|a).$$
This is as far as you can actually go without more assumptions. In the special case where $b \text{ } \bot \text{ } a | c$ (i.e., $b$ is conditionally independent of $a$ given $c$) you have $p(b|a,c) = p(b|c)$ which gives you the desired result.