PHP - Fonction Stats Rand Gen Beta ()

La fonction stats_rand_gen_beta () peut générer un écart aléatoire par rapport à la distribution bêta.

Syntaxe

float stats_rand_gen_beta( float $a , float $b )

La fonction stats_rand_gen_beta () peut renvoyer un écart aléatoire de la distribution bêta avec les paramètres A et B.La densité de la bêta est x ^ (a-1) * (1-x) ^ (b-1) / B (a, b) pour 0 <x <. Méthode RCH Cheng.