Skip to content

Commit 63cd4a7

Browse files
committed
update section headings
1 parent c176b41 commit 63cd4a7

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

examples/generalized_linear_models/GLM-simpsons-paradox.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@
299299
"cell_type": "markdown",
300300
"metadata": {},
301301
"source": [
302-
"## Model 1: Basic linear regression\n",
302+
"## Model 1: Pooled regression\n",
303303
"\n",
304304
"First we examine the simplest model - plain linear regression which pools all the data and has no knowledge of the group/multi-level structure of the data."
305305
]
@@ -800,7 +800,7 @@
800800
"cell_type": "markdown",
801801
"metadata": {},
802802
"source": [
803-
"## Model 2: Independent slopes and intercepts model\n",
803+
"## Model 2: Unpooled regression\n",
804804
"\n",
805805
"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"
806806
]
@@ -1334,7 +1334,7 @@
13341334
"cell_type": "markdown",
13351335
"metadata": {},
13361336
"source": [
1337-
"## Model 3: Hierarchical regression\n",
1337+
"## Model 3: Partial pooling (hierarchical) model\n",
13381338
"\n",
13391339
"Model 3 assumes the same causal DAG as model 2 (see above). However, we can go further and incorporate more knowledge about the structure of our data. Rather than treating each group as entirely independent, we can use our knowledge that these groups are drawn from a population-level distribution. "
13401340
]

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ The rest of the notebook will cover different ways that we can analyse this data
9898

9999
+++
100100

101-
## Model 1: Basic linear regression
101+
## Model 1: Pooled regression
102102

103103
First we examine the simplest model - plain linear regression which pools all the data and has no knowledge of the group/multi-level structure of the data.
104104

@@ -245,7 +245,7 @@ One of the clear things about this analysis is that we have credible evidence th
245245

246246
+++
247247

248-
## Model 2: Independent slopes and intercepts model
248+
## Model 2: Unpooled regression
249249

250250
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.
251251

@@ -409,7 +409,7 @@ In contrast to plain regression model (Model 1), when we model on the group leve
409409

410410
+++
411411

412-
## Model 3: Hierarchical regression
412+
## Model 3: Partial pooling (hierarchical) model
413413

414414
Model 3 assumes the same causal DAG as model 2 (see above). However, we can go further and incorporate more knowledge about the structure of our data. Rather than treating each group as entirely independent, we can use our knowledge that these groups are drawn from a population-level distribution.
415415

0 commit comments

Comments
 (0)