Skip to content

Commit bf4e21e

Browse files
GLM glossary term (#5047)
* GLM glossary term * address comments and fix syntax * config sphinx to parse dollar math syntax Co-authored-by: Oriol (ZBook) <[email protected]>
1 parent 38a9e1f commit bf4e21e

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

docs/source/conf.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,7 @@
117117
# myst and panels config
118118
jupyter_execute_notebooks = "off"
119119
myst_heading_anchors = 3
120-
myst_enable_extensions = [
121-
"colon_fence",
122-
]
120+
myst_enable_extensions = ["colon_fence", "deflist", "dollarmath", "amsmath"]
123121
panels_add_bootstrap_css = False
124122

125123
# The reST default role (used for this markup: `text`) to use for all

docs/source/glossary.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,15 @@ Posterior
5959

6060
- For more on generating and interpreting the posterior samples, see Statistical Rethinking 2nd Edition By Richard McElreath, chapter 3.
6161

62+
Generalized Linear Model
63+
GLM
64+
In a Generalized Linear Model (GLM), we assume the response variable $y_i$ to follow an
65+
exponential family distribution with mean $\mu_i$, which is assumed to be some (often nonlinear)
66+
function of $x_i^T\beta$. They're considered linear because the covariates affect the distribution
67+
of $Y_i$ only through the linear combination $x_i^T\beta$. Some examples of Generalized Linear
68+
Models are: Linear Regression, ANOVA, Logistic Regression and Poisson Regression
69+
70+
:::{note} Do not confuse these with general linear models
71+
:::
72+
6273
:::::

0 commit comments

Comments
 (0)