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 ? RAG (Retrieval-Augmented Generation)
et Fine Tuning d'un LLM
Voir le programme détaillé
Module « scipy.special »

Fonction stdtridf - module scipy.special

Signature de la fonction stdtridf

def stdtridf(*args, **kwargs) 

Description

help(scipy.special.stdtridf)

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

stdtridf(p, t, out=None)

Inverse of `stdtr` vs df

Returns the argument df such that stdtr(df, t) is equal to `p`.

Parameters
----------
p : array_like
    Probability
t : array_like
    Upper bound of the integral
out : ndarray, optional
    Optional output array for the function results

Returns
-------
df : scalar or ndarray
    Value of `df` such that ``stdtr(df, t) == p``

See Also
--------
stdtr : Student t CDF
stdtrit : inverse of stdtr with respect to `t`
scipy.stats.t : Student t distribution

Examples
--------
Compute the student t cumulative distribution function for one
parameter set.

>>> from scipy.special import stdtr, stdtridf
>>> df, x = 5, 2
>>> cdf_value = stdtr(df, x)
>>> cdf_value
0.9490302605850709

Verify that `stdtridf` recovers the original value for `df` given
the CDF value and `x`.

>>> stdtridf(cdf_value, x)
5.0


Vous êtes un professionnel et vous avez besoin d'une formation ? RAG (Retrieval-Augmented Generation)
et Fine Tuning d'un LLM
Voir le programme détaillé