Skip to content

Commit 8f6e402

Browse files
committed
change equals to sim in model 3 maths
1 parent 95ea7cf commit 8f6e402

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/generalized_linear_models/GLM-simpsons-paradox.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1446,8 +1446,8 @@
14461446
"\n",
14471447
"$$\n",
14481448
"\\begin{aligned}\n",
1449-
"p_{0\\mu}, p_{1\\mu} &= \\text{Normal}(0, 1) \\\\\n",
1450-
"p_{0\\sigma}, p_{1\\sigma} &= \\text{Gamma}(2, 2) \\\\\n",
1449+
"p_{0\\mu}, p_{1\\mu} &\\sim \\text{Normal}(0, 1) \\\\\n",
1450+
"p_{0\\sigma}, p_{1\\sigma} &\\sim \\text{Gamma}(2, 2) \\\\\n",
14511451
"\\vec{\\beta_0} &\\sim \\text{Normal}(p_{0\\mu}, p_{0\\sigma}) \\\\\n",
14521452
"\\vec{\\beta_1} &\\sim \\text{Normal}(p_{1\\mu}, p_{1\\sigma}) \\\\\n",
14531453
"\\sigma &\\sim \\text{Gamma}(2, 2) \\\\\n",

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,8 +439,8 @@ And we could describe this model mathematically as:
439439

440440
$$
441441
\begin{aligned}
442-
p_{0\mu}, p_{1\mu} &= \text{Normal}(0, 1) \\
443-
p_{0\sigma}, p_{1\sigma} &= \text{Gamma}(2, 2) \\
442+
p_{0\mu}, p_{1\mu} &\sim \text{Normal}(0, 1) \\
443+
p_{0\sigma}, p_{1\sigma} &\sim \text{Gamma}(2, 2) \\
444444
\vec{\beta_0} &\sim \text{Normal}(p_{0\mu}, p_{0\sigma}) \\
445445
\vec{\beta_1} &\sim \text{Normal}(p_{1\mu}, p_{1\sigma}) \\
446446
\sigma &\sim \text{Gamma}(2, 2) \\

0 commit comments

Comments
 (0)