PHP Conference Nagoya 2025

stats_dens_t

(PECL stats >= 1.0.0)

stats_dens_tProbability density function of the t-distribution

Description

stats_dens_t(float $x, float $dfr): float

Returns the probability density at x, where the random variable follows the t-distribution of which the degree of freedom is dfr.

Parameters

x

The value at which the probability density is calculated

dfr

The degree of freedom of the distribution

Return Values

The probability density at x or false for failure.

add a note

User Contributed Notes 1 note

up
0
Anonymous
15 years ago
This function returns the value of a student-T-distribution with the total area of 1.
$dfr are the degrees of freedom for that distribution (aka k)
$x is the X-Value for which the value should be returned
To Top