InverseBetaRegularized
The inverse of the regularized incomplete beta in : the Beta-distribution quantile. Solved the same way as InverseGammaRegularized — a safeguarded Newton's method against native BetaRegularized.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram Language
InverseBetaRegularized✓InverseBetaRegularized(s, a, b)solves for .mpmath
enumeratio_inverse_beta_regularized(s, a, b)Rustinverse_beta_regularized(a, b, s)Typed signatures
| Type | Package | Applies |
|---|---|---|
(number, number, number) -> number | analytic | always |
Details
- is its own inverse, and inverts to — both exact, symbolic (and ) included.
- Otherwise: a safeguarded Newton's method in against
BetaRegularized(x, a, b)(above , on the upper tail ), using the Beta density (in log space) as the derivative; checked againstwolframscriptto 20 digits.
Plot
Examples
6 more kept as data, checked against the oraclesBasic #
About
| Examples | 13 |
|---|---|
| Checked against | Wolfram Language 6 agree2 unevaluatedmpmath 10 agree1 errorRust 7 agree3 differ1 error |
| Crosswalk | Wolfram LanguagempmathRust |
Implementation
primitive · kernela kernel — an algorithm over mutable state that would not be readable as a tree
nativeengine
typescriptpackages/symbols/analysis/analytic/src/inverse-regularized.tsSafeguarded Newton/bisection against native BetaRegularized.
mapped
rustpackages/oracle/src/mappings.tsmapped
mpmathpackages/oracle/src/mappings.ts See also: BetaRegularized, InverseGammaRegularized