Do operator: Difference between revisions
(Created page with "The '''''do'' operator''' is used in causal inference to denote an intervention. Given random variables <math>X,Y</math>, we write <math>\Pr(Y=y \mid \mathit{do}(X=x))</math>...") |
No edit summary |
||
| Line 1: | Line 1: | ||
The '''''do'' operator''' is used in causal inference to denote an intervention. Given random variables <math>X,Y</math>, we write <math>\Pr(Y=y \mid \mathit{do}(X=x))</math> to mean the [[probability]] that <math>Y=y</math> given we intervene and set <math>X</math> to be <math>x</math>. | The '''''do'' operator''' is used in causal inference to denote an intervention. Given random variables <math>X,Y</math>, we write <math>\Pr(Y=y \mid \mathit{do}(X=x))</math> to mean the [[probability]] that <math>Y=y</math> given we intervene and set <math>X</math> to be <math>x</math>. In some texts, this is abbreviated to <math>\Pr(y\mid\hat x)</math>. | ||
In general <math>\Pr(Y=y \mid \mathit{do}(X=x))</math> is not the same as conditioning on <math>X=x</math>, i.e. <math>\Pr(Y=y \mid X=x)</math>. | In general <math>\Pr(Y=y \mid \mathit{do}(X=x))</math> is not the same as conditioning on <math>X=x</math>, i.e. <math>\Pr(Y=y \mid X=x)</math>. | ||
Revision as of 20:29, 2 June 2018
The do operator is used in causal inference to denote an intervention. Given random variables , we write to mean the probability that given we intervene and set to be . In some texts, this is abbreviated to .
In general is not the same as conditioning on , i.e. .