第104行: |
第104行: |
| | | |
| <math> | | <math> |
− | \begin{array}{lcl} | + | \begin{alignat}{3} |
− | P(Y=1|do(X=0)) = \sum_Z P(Y=1|X=0, Z=z)P(Z) \\ | + | P(Y=1|do(X=0)) & = \sum_Z P(Y=1|X=0, Z=z)P(Z) \\ |
− | = P(Y=1|X=0, Z=1)P(Z=1) + P(Y=1|X=0, Z=0)P(Z=0) \\ | + | & = P(Y=1|X=0, Z=1)P(Z=1) + P(Y=1|X=0, Z=0)P(Z=0) \\ |
− | = \frac{0.87*(87+270)}{700} + \frac{0.69*(263+80)}{700} = 0.781 | + | & = \frac{0.87*(87+270)}{700} + \frac{0.69*(263+80)}{700} = 0.781 |
− | \end{array} | + | \end{alignat} |
| </math> | | </math> |
| | | |