← Back to the lesson

Probability & Statistics 1 (9709) · Probability · Quick revision

Trees, total probability and reverse conditioning

Label the history, weight every route, then restrict to the observed outcome.

Multiply along a path; add disjoint qualifying paths

For positive-probability histories:

P(E1∩E2∩E3)=P(E1)P(E2∣E1)P(E3∣E1∩E2).P(E_1\cap E_2\cap E_3)=P(E_1)P(E_2\mid E_1)P(E_3\mid E_1\cap E_2).

Each branch uses its full preceding history. Reached-node branches sum to one, as do all complete terminal paths. Stop each path when the process ends.

Total probability and reverse conditioning

For two exhaustive disjoint sources A and B, let A have weight ww, with marked-item rates a,ba,b. Write m=P(D)m=P(D), where D means marked:

m=wa+(1−w)b,P(A∣D)=wam(m>0).m=wa+(1-w)b,\qquad P(A\mid D)=\frac{wa}{m}\quad(m>0).

Include both marked routes in the denominator. For an unmarked item, P(A∣D′)=w(1−a)1−mP(A\mid D^{\prime})=\frac{w(1-a)}{1-m}, requiring m<1m<1.

Include every source in the observation total. Conditioning on an impossible observation is undefined.

Recover an unknown, then check the original model

w=m−ba−b(a≠b),b=m−wa1−w(w<1).w=\frac{m-b}{a-b}\quad(a\ne b),\qquad b=\frac{m-wa}{1-w}\quad(w<1).

Every probability must lie in [0,1][0,1], and min⁡(a,b)≤m≤max⁡(a,b)\min(a,b)\le m\le\max(a,b). Check each candidate in the original model.

If a=ba=b, the total equals that rate and cannot identify w. A zero source weight leaves its unused rate undetermined. Keep all admissible quadratic roots until extra information selects one.

One shared source differs from a fresh source each time

Given one source, suppose two trials are independent with the same source-specific marked rate. Let DiD_i mean item ii is marked. The probability both are marked is

J=wa2+(1−w)b2.J=wa^2+(1-w)b^2.

Compare JJ with m2m^2 to test independence overall. If m>0m>0, then P(D2∣D1)=JmP(D_2\mid D_1)=\frac{J}{m}. With a fresh independent source selection and independent result generation for each trial, the probability both are marked is m2m^2.