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 ? Machine Learning
avec Scikit-Learn
Voir le programme détaillé
Module « scipy.special »

Fonction nctdtrit - module scipy.special

Signature de la fonction nctdtrit

def nctdtrit(*args, **kwargs) 

Description

help(scipy.special.nctdtrit)

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

nctdtrit(df, nc, p, out=None)

Inverse cumulative distribution function of the non-central t distribution.

See `nctdtr` for more details.

Parameters
----------
df : array_like
    Degrees of freedom of the distribution. Should be in range (0, inf).
nc : array_like
    Noncentrality parameter. Should be in range (-1e6, 1e6).
p : array_like
    CDF values, in range (0, 1].
out : ndarray, optional
    Optional output array for the function results

Returns
-------
t : scalar or ndarray
    Quantiles

See Also
--------
nctdtr :  CDF of the non-central `t` distribution.
nctdtridf : Calculate degrees of freedom, given CDF and iCDF values.
nctdtrinc : Calculate non-centrality parameter, given CDF iCDF values.

Examples
--------
>>> from scipy.special import nctdtr, nctdtrit

Compute the CDF for several values of `t`:

>>> t = [0.5, 1, 1.5]
>>> p = nctdtr(3, 1, t)
>>> p
array([0.29811049, 0.46922687, 0.6257559 ])

Compute the inverse. We recover the values of `t`, as expected:

>>> nctdtrit(3, 1, p)
array([0.5, 1. , 1.5])


Vous êtes un professionnel et vous avez besoin d'une formation ? Programmation Python
Les compléments
Voir le programme détaillé