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 ? Programmation Python
Les compléments
Voir le programme détaillé
Module « scipy.special »

Fonction nctdtrinc - module scipy.special

Signature de la fonction nctdtrinc

def nctdtrinc(*args, **kwargs) 

Description

help(scipy.special.nctdtrinc)

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

nctdtrinc(df, p, t, out=None)

Calculate non-centrality parameter for 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).
p : array_like
    CDF values, in range (0, 1].
t : array_like
    Quantiles, i.e., the upper limit of integration.
out : ndarray, optional
    Optional output array for the function results

Returns
-------
nc : scalar or ndarray
    Noncentrality parameter

See Also
--------
nctdtr :  CDF of the non-central `t` distribution.
nctdtrit : Inverse CDF (iCDF) of the non-central t distribution.
nctdtridf : Calculate degrees of freedom, given CDF and iCDF values.

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

Compute the CDF for several values of `nc`:

>>> nc = [0.5, 1.5, 2.5]
>>> p = nctdtr(3, nc, 1.5)
>>> p
array([0.77569497, 0.45524533, 0.1668691 ])

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

>>> nctdtrinc(3, p, 1.5)
array([0.5, 1.5, 2.5])


Vous êtes un professionnel et vous avez besoin d'une formation ? Deep Learning avec Python
et Keras et Tensorflow
Voir le programme détaillé