Participer au site avec un Tip
Rechercher
 

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 :

Vous êtes un professionnel et vous avez besoin d'une formation ? Mise en oeuvre d'IHM
avec Qt et PySide6
Voir le programme détaillé
Module « scipy.special »

Fonction btdtrib - module scipy.special

Signature de la fonction btdtrib

def btdtrib(*args, **kwargs) 

Description

help(scipy.special.btdtrib)

btdtrib(x1, x2, x3, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature])

btdtria(a, p, x, out=None)

Inverse of `betainc` with respect to `b`.

This is the inverse of the beta cumulative distribution function, `betainc`,
considered as a function of `b`, returning the value of `b` for which
`betainc(a, b, x) = p`, or

.. math::
    p = \int_0^x \frac{\Gamma(a + b)}{\Gamma(a)\Gamma(b)} t^{a-1} (1-t)^{b-1}\,dt

Parameters
----------
a : array_like
    Shape parameter (`a` > 0).
p : array_like
    Cumulative probability, in [0, 1].
x : array_like
    The quantile, in [0, 1].
out : ndarray, optional
    Optional output array for the function values

Returns
-------
b : scalar or ndarray
    The value of the shape parameter `b` such that `betainc(a, b, x) = p`.

See Also
--------
btdtria : Inverse of the beta cumulative distribution function, with respect to `a`.

Notes
-----
Wrapper for the CDFLIB [1]_ Fortran routine `cdfbet`.

The cumulative distribution function `p` is computed using a routine by
DiDinato and Morris [2]_. Computation of `b` involves a search for a value
that produces the desired value of `p`. The search relies on the
monotonicity of `p` with `b`.

References
----------
.. [1] Barry Brown, James Lovato, and Kathy Russell,
       CDFLIB: Library of Fortran Routines for Cumulative Distribution
       Functions, Inverses, and Other Parameters.
.. [2] DiDinato, A. R. and Morris, A. H.,
       Algorithm 708: Significant Digit Computation of the Incomplete Beta
       Function Ratios. ACM Trans. Math. Softw. 18 (1993), 360-373.


Vous êtes un professionnel et vous avez besoin d'une formation ? Machine Learning
avec Scikit-Learn
Voir le programme détaillé