4 Directed Acyclic Graphs
4.1 Marginal independence
Sep 22. Slides. After class, read Hernán and Robins 2020 Chapter 6.1 and 6.2. For historical reference, optionally see Greenland, Pearl, and Robins 1999.
This class will introduce key ideas about DAGs.
- Directed Acyclic Graph. A series of nodes representing variables, connected by directed edges representing direct causal effects. Any node with an edge to at least two other nodes must be drawn on the graph.
- Path. A path is a sequence of edges connecting two nodes
- Collider along a path. A node such as \(B\) where to directed edges collide: \(A\rightarrow B \leftarrow C\). A collider blocks the path.
DAGs help us know if variables \(A\) and \(B\) are statistically related
- \(A\) and \(B\) are marginally dependent if and only if there exists an unblocked path connecting them
- \(A\) and \(B\) are marginally independent if and only if any paths connecting them are blocked
4.2 Lab: Exchangeability in DAGs
Sep 23. Discussion
In this lab, we’ll review and practice exchangeability in DAGs which will include an in-class assignment. We’ll also form groups for the course project.
4.3 Conditional independence
Sep 24. Slides After class, read Hernán and Robins 2020 Chapter 6.3 and 6.4, and especially Fine Point 6.1 of which this page is an abbreviation.
Often, we want to condition on some set of variables \(\vec{L}\) so that conditional exchangeability holds.
A path is blocked if any node on the path is blocked. If every node on a path is open, then the entire path is open
- A non-collider is blocked if is conditioned on, otherwise it is open
- A collider is open if it or any of its descendants are conditioned on. Otherwise it is blocked
4.4 Sufficient adjustment sets
Sep 29. Slides. After class, read Hernán and Robins 2020 7.1–7.4.
When marginal exchangeability does not hold, we may be able to condition on some set of variables \(\vec{L}\) so that conditional exchangeability holds. We can accomplish this by blocking all non-causal paths between \(A\) and \(Y\). A set that does that is called a sufficient adjustment set. To find a sufficient adjustment set, we will use the backdoor criterion:
- The set \(L\) blocks all backdoor paths
- The set \(L\) does not contain any descendants of \(A\)
4.5 Lab: DAGs Review
Sep 30. Discussion and discussion slides
In this lab, we’re reviewing some DAG basics such as identifying paths and determining whether a path is open or closed.
4.6 Mediation Analysis
Oct 1. Slides.
So far, we have asked is there a causal effect. However, we might also be interested in learning: How does the causal effect work? Mediation analysis allows us to reason about specific mechanisms through which a treatment causes an change in the outcome.