Sigma heat

From formulasearchengine
Jump to navigation Jump to search

In probability theory, the chain rule permits the calculation of any member of the joint distribution of a set of random variables using only conditional probabilities. The rule is useful in the study of Bayesian networks, which describe a probability distribution in terms of conditional probabilities.

Consider an indexed set of sets A1,,An. To find the value of this member of the joint distribution, we can apply the definition of conditional probability to obtain:

P(An,,A1)=P(An|An1,,A1)P(An1,,A1)

Repeating this process with each final term creates the product:

P(k=1nAk)=k=1nP(Akj=1k1Aj)

With four variables, the chain rule produces this product of conditional probabilities:

P(A4,A3,A2,A1)=P(A4A3,A2,A1)P(A3A2,A1)P(A2A1)P(A1)

This rule is illustrated in the following example. Urn 1 has 1 black ball and 2 white balls and Urn 2 has 1 black ball and 3 white balls. Suppose we pick an urn at random and then select a ball from that urn. Let event A be choosing the first urn: P(A) = P(~A) = 1/2. Let event B be the chance we choose a white ball. The chance of choosing a white ball, given that we've chosen the first urn, is P(B|A) = 2/3. Event A, B would be their intersection; choosing the first urn and a white ball from it. The probability can be found by the chain rule for probability:

P(A,B)=P(BA)P(A)=2/3×1/2=1/3.

References