Assuming we have the following structural causal model (SCM), with a confounder DAG structure, as follows:
Noise variables:
$$U_1 \sim \mathcal{N}(0,\,1)$$ $$U_2 \sim \mathcal{N}(0,\,1)$$ $$U_3 \sim \mathcal{N}(0,\,1)$$
SCM equations:
$$X1=5 U1$$
$$X2=5 X1 + 5 U2$$
$$X3 =5 X1 + 5 X2 + 5 U3$$
Suppose we observe: $$U1 = 0.2, \; U2 = 0.2, \; U3 = 0.2, \; X1 = 1, \; X2 = 6, \; X3 = 36$$
Can you please explain (step-by-step) with above example how we can compute the counterfactual query:
$$q(X2_{X1=-1}, X3_{X1=-1} \mid X1 = 1, X2 = 6, X3 = 36)$$
and how is it different to computing the interventional query (step-by-step)
$$q(X2, X3 \mid do(X1=-1))$$
How are the noise variables $U1, \; U2, \; U3$ handled/used when computing each of the two query types (the interventional query and the counterfactual query respectively)?