Vous êtes un professionnel et vous avez besoin d'une formation ?
Programmation Python
Les fondamentaux
Voir le programme détaillé
Module « scipy.special »
Signature de la fonction betainccinv
def betainccinv(*args, **kwargs)
Description
help(scipy.special.betainccinv)
betainccinv(x1, x2, x3, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature])
betainccinv(a, b, y, out=None)
Inverse of the complemented regularized incomplete beta function.
Computes :math:`x` such that:
.. math::
y = 1 - I_x(a, b) = 1 - \frac{\Gamma(a+b)}{\Gamma(a)\Gamma(b)}
\int_0^x t^{a-1}(1-t)^{b-1}dt,
where :math:`I_x` is the normalized incomplete beta function `betainc`
and :math:`\Gamma` is the `gamma` function [1]_.
Parameters
----------
a, b : array_like
Positive, real-valued parameters
y : array_like
Real-valued input
out : ndarray, optional
Optional output array for function values
Returns
-------
scalar or ndarray
Value of the inverse of the regularized incomplete beta function
See Also
--------
betainc : regularized incomplete beta function
betaincc : complement of the regularized incomplete beta function
Notes
-----
.. versionadded:: 1.11.0
This function wraps the ``ibetac_inv`` routine from the
Boost Math C++ library [2]_.
References
----------
.. [1] NIST Digital Library of Mathematical Functions
https://dlmf.nist.gov/8.17
.. [2] The Boost Developers. "Boost C++ Libraries". https://www.boost.org/.
Examples
--------
>>> from scipy.special import betainccinv, betaincc
This function is the inverse of `betaincc` for fixed
values of :math:`a` and :math:`b`.
>>> a, b = 1.2, 3.1
>>> y = betaincc(a, b, 0.2)
>>> betainccinv(a, b, y)
0.2
>>> a, b = 7, 2.5
>>> x = betainccinv(a, b, 0.875)
>>> betaincc(a, b, x)
0.875
Vous êtes un professionnel et vous avez besoin d'une formation ?
Programmation Python
Les fondamentaux
Voir le programme détaillé
Améliorations / Corrections
Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.
Emplacement :
Description des améliorations :