I saw an equation as like that:
P(W) = P(W|R,S)+P(W|!R,S) + P(W|!R,S) + P(W|R,!S) + P(W|!R,!S)
is that true or this one true:
P(W) = P(W|R,S)P(R,S)+P(W|!R,S)P(!R,S) + P(W|!R,S)P(!R,S) + P(W|R,!S)P(R,!S) + P(W|!R,!S)P(!R,!S)
and
P(R,S) = P(R|S)P(S) = P(S|R)P(R)
is there any document for it?
