quantile_X p
For continuous probability distributions, the quantile function is the inverse of the cumulative distribution function, i.e., \(x\) for which \(P(X \leq x) = p\).
|
|
|
For discrete probability distributions, it returns the smallest \(x\) for which \(P(X \leq x) \geq p\).
|
|
|
|
If the LowerTail option is false, then it instead finds \(x\) for which \(P(X > x) = p\) in the continuous case.
|
|
In the discrete case, it finds the smallest \(x\) for which \(P(X > x) \leq p\).
|
|
|
The object quantile is a method function with options.
The source of this document is in /build/reproducible-path/macaulay2-1.25.06+ds/M2/Macaulay2/packages/Probability.m2:736:0.