mars.tensor.special.betaincinv#

mars.tensor.special.betaincinv(a, b, y, out=None, **kwargs)[source]#

Inverse of the incomplete beta function.

Computes \(x\) such that:

\[y = I_x(a, b) = \frac{\Gamma(a+b)}{\Gamma(a)\Gamma(b)} \int_0^x t^{a-1}(1-t)^{b-1}dt,\]

where \(I_x\) is the normalized incomplete beta function betainc and \(\Gamma\) is the gamma function 1.

Parameters
  • a (array-like) – Positive, real-valued parameters

  • b (array-like) – Positive, real-valued parameters

  • y (array-like) – Real-valued input

  • out (ndarray, optional) – Optional output array for function values

Returns

Value of the inverse of the incomplete beta function

Return type

array-like

See also

betainc

incomplete beta function

gamma

gamma function

References

1

NIST Digital Library of Mathematical Functions https://dlmf.nist.gov/8.17