Skip to content

Commit 95ea7cf

Browse files
committed
add wikipedia link to DAG
1 parent 5c90218 commit 95ea7cf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/generalized_linear_models/GLM-simpsons-paradox.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -849,7 +849,7 @@
849849
"source": [
850850
"## Model 2: Unpooled regression\n",
851851
"\n",
852-
"We will use the same data in this analysis, but this time we will use our knowledge that data come from groups. From a causal perspective we are exploring the notion that both $x$ and $y$ are influenced by group membership. This can be shown in the causal DAG below.\n"
852+
"We will use the same data in this analysis, but this time we will use our knowledge that data come from groups. From a causal perspective we are exploring the notion that both $x$ and $y$ are influenced by group membership. This can be shown in the causal directed acyclic graph ([DAG](https://en.wikipedia.org/wiki/Directed_acyclic_graph)) below.\n"
853853
]
854854
},
855855
{

examples/generalized_linear_models/GLM-simpsons-paradox.myst.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ ax.set(title="Model 1 strongly suggests a positive slope", xlabel=r"$\beta_1$");
258258

259259
## Model 2: Unpooled regression
260260

261-
We will use the same data in this analysis, but this time we will use our knowledge that data come from groups. From a causal perspective we are exploring the notion that both $x$ and $y$ are influenced by group membership. This can be shown in the causal DAG below.
261+
We will use the same data in this analysis, but this time we will use our knowledge that data come from groups. From a causal perspective we are exploring the notion that both $x$ and $y$ are influenced by group membership. This can be shown in the causal directed acyclic graph ([DAG](https://en.wikipedia.org/wiki/Directed_acyclic_graph)) below.
262262

263263
```{code-cell} ipython3
264264
:tags: [hide-input]

0 commit comments

Comments
 (0)