Natural indirect effect (source code)

= Natural indirect effect

One natural indirect effect is
$$
\mathbb E[Y(1,M(1))-Y(1,M(0))],
$$
which changes the mediator between its two natural values while holding exposure fixed.