Skip to content

Commit 38a9e1f

Browse files
CloudChaoszeromartinacantarogithub-actions[bot]OriolAbril
authored
Glossary - Dispersion terms (#4984)
* Add Dispersion definitions in Glossary * Fix indentation error on underdispersion term * Remove quotations on definitions and link term * removed extra space, reinstated definitions deleted by previous change * added linebreaks between definitions to make it neater * Run pre-commit * trim trailing whitespace * fix merge issue Co-authored-by: Martina Cantaro <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Oriol (ZBook) <[email protected]>
1 parent 597782b commit 38a9e1f

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

docs/source/glossary.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,23 @@ A glossary of common terms used throughout the PyMC documentation and examples.
44

55
:::::{glossary}
66
:sorted:
7-
[Term with external reference](https://www.youtube.com/watch?v=6dc7JgR8eI0)
8-
Terms are defined within this glossary directive. The term id is defined as the non
9-
indented line, and can be text alone (like {term}`second term`) or also include a link
10-
to an external reference.
11-
12-
Second term
13-
Definitions can have as many lines as desired, and should be written in markdown. Definitions
14-
can contain any markdown formatting for MyST to parse, this includes basic markdown like **bold**
15-
as well as MyST directives and roles like {fa}`fort awesome,style=fab`
7+
168
Functional Programming
179
Functional programming is a programming style that prefers the use of basic functions with explicit and distinct inputs and outputs.
1810
This contrasts with functions or methods that depend on variables that are not explicitly passed as an input (such as accessing `self.variable` inside a method) or that alter the inputs or other state variables in-place, instead of returning new distinct variables as outputs.
11+
1912
Dispatching
2013
Choosing which function or method implementation to use based on the type of the input variables (usually just the first variable). For some examples, see Python's documentation for the [singledispatch](https://docs.python.org/3/library/functools.html#functools.singledispatch) decorator.
2114

15+
[Dispersion](https://en.wikipedia.org/wiki/Statistical_dispersion)
16+
In statistics, dispersion (also called variability, scatter, or spread) is the extent to which a distribution is stretched or squeezed
17+
18+
[Overdispersion](https://en.wikipedia.org/wiki/Overdispersion)
19+
In statistics, overdispersion is the presence of greater {term}`variability <dispersion>` in a data set than would be expected based on a given statistical model.
20+
21+
Underdispersion
22+
In statistics, underdispersion is the presence of lower {term}`variability <dispersion>` in a data set than would be expected based on a given statistical model.
23+
2224
Bayesian Workflow
2325
Bayesian workflow is the overall iterative procedure towards model refinement. It often includes the two related tasks of {term}`inference` and the exploratory analysis of models.
2426
- For a compact overview, see Bayesian statistics and modelling by van de Schoot, R., Depaoli, S., King, R. et al in Nat Rev Methods - Primers 1, 1 (2021).
@@ -56,4 +58,5 @@ Posterior
5658
Once you are satisfied with the model, posterior distribution can be summarized and interpreted. Common questions for the posterior include: intervals of defined boundaries, intervals of defined probability mass, and point estimates. When the posterior is very similar to the prior, the available data does not contain much information about a parameter of interest.
5759

5860
- For more on generating and interpreting the posterior samples, see Statistical Rethinking 2nd Edition By Richard McElreath, chapter 3.
61+
5962
:::::

0 commit comments

Comments
 (0)