All simulators
Build a Causal DAG
Click to add arrows to a returns-to-schooling graph; see parents, ancestors, cycles, topological orders and path counts.
Day 46: Graph Basics & Directed Acyclic GraphsAcyclic. Topological order: Family → Region → Ability → Schooling → Occupation → Wage
parents of Schooling
Family, Ability
children of Schooling
Occupation, Wage
ancestors
Family, Ability
descendants
Occupation, Wage
ADJACENCY MATRIX (row → column)
| F | A | S | O | W | R | |
|---|---|---|---|---|---|---|
| F | 0 | 1 | 1 | 0 | 0 | 0 |
| A | 0 | 0 | 1 | 0 | 1 | 0 |
| S | 0 | 0 | 0 | 1 | 1 | 0 |
| O | 0 | 0 | 0 | 0 | 1 | 0 |
| W | 0 | 0 | 0 | 0 | 0 | 0 |
| R | 0 | 0 | 0 | 0 | 0 | 0 |
Directed paths Schooling → Wage: 2 (Schooling → Occupation → Wage; Schooling → Wage)
Click one node, then another, to add or remove the arrow between them (click the same node twice to cancel). The panel reports parents, children, ancestors and descendants of the last node clicked, checks acyclicity and counts the causal paths from schooling to wages.