scipy.special.stdtr#

scipy.special.stdtr(df, t, out=None) = <ufunc 'stdtr'>#

Student t distribution cumulative distribution function

Returns the integral from minus infinity to t of the Student t distribution with df > 0 degrees of freedom:

gamma((df+1)/2)/(sqrt(df*pi)*gamma(df/2)) *
integral((1+x**2/df)**(-df/2-1/2), x=-inf..t)
Parameters:
dfarray_like

Degrees of freedom

tarray_like

Upper bound of the integral

outndarray, optional

Optional output array for the function results

Returns:
scalar or ndarray

Value of the Student t CDF at t

See also

stdtridf

inverse of stdtr with respect to df

stdtrit

inverse of stdtr with respect to t