Added detail to explanation of quantile function

I didn't understand it so I thought I'd make it easier for the next person.
This commit is contained in:
Nathanpmyoung 2022-09-05 13:26:36 +01:00 committed by GitHub
parent 65e083eda2
commit 54fe141a7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -154,9 +154,11 @@ or all values lower than x. It is the inverse of `quantile`.
### Quantile
The `quantile(dist, prob)` gives the value x or which the probability for all values
The `quantile(dist, prob)` gives the value x for which the sum of the probability for all values
lower than x is equal to prob. It is the inverse of `cdf`. In the literature, it
is also known as the quantiles function.
is also known as the quantiles function. In the optional `summary stistics` panel which appears
beneath distributions, the numbers beneath 5%, 10%, 25% etc are the quantiles of that distribution
for those precentage values.
<SquiggleEditor defaultCode="quantile(normal(0,1),0.5)" />