From 54fe141a7d18fddaf8d9ffc7627d03b2a7daf0b1 Mon Sep 17 00:00:00 2001 From: Nathanpmyoung Date: Mon, 5 Sep 2022 13:26:36 +0100 Subject: [PATCH] Added detail to explanation of quantile function I didn't understand it so I thought I'd make it easier for the next person. --- packages/website/docs/Guides/Functions.mdx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/website/docs/Guides/Functions.mdx b/packages/website/docs/Guides/Functions.mdx index 4e57f23e..98208954 100644 --- a/packages/website/docs/Guides/Functions.mdx +++ b/packages/website/docs/Guides/Functions.mdx @@ -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.