Merge pull request #1074 from Nathanpmyoung/patch-3

Added detail to explanation of quantile function
This commit is contained in:
Ozzie Gooen 2022-09-05 14:37:12 -07:00 committed by GitHub
commit ddfc617776
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 for 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)" />