Hi there

I'm looking at the equation p(a,b,c) = p(a)*p(c|a)*p(b|c)

Now I want to marginalize it over c to test if a and b are independent.

p(a,b) = p(a)*sum( p(c|a)*p(b|c) , c ) = ?

Another equation is p(a,b,c) = p(a)*p(b)*p(c|a,b)
where again I want to marginalize over c. Please tell me how to do this .