php8.5
Home/ Manual/ stats / functions/ stats_rand_gen_t

stats_rand_gen_t

PHP function Edit on GitHub ✎

(PECL stats >= 1.0.0)

Generates a single random deviate from a t-distribution

Description

stats_rand_gen_t(float $df): float

Returns a random deviate from the t-distribution with the degrees of freedom, df.

Parameters

df

The degrees of freedom

Return Values

A random deviate

Source: reference/stats/functions/stats-rand-gen-t.xml · from the official PHP manual (php/doc-en)