PHP Conference Fukuoka 2025

stats_dens_normal

(PECL stats >= 1.0.0)

stats_dens_normalFunção de densidade de probabilidade da distribuição normal

Descrição

stats_dens_normal(float $x, float $ave, float $stdev): float

Retorna a densidade de probabilidade em x, onde a variável aleatória segue a distribuição normal, cuja média é ave e o desvio padrão é stdev.

Parâmetros

x

O valor no qual a densidade de probabilidade é calculada

ave

A média da distribuição

stdev

O desvio padrão da distribuição

Valor Retornado

A densidade de probabilidade em x ou false para falha.

adicionar nota

Notas de Usuários 2 notes

up
0
Anonymous
16 years ago
I'm not certain that I've figured this one out correctly but it should return the value of a (Gaussian) normal distribution of the given properties at the given location.$x - the X-Value to request$ave - the 'expected value' (i.e. location of the peak) for the distribution. For most uses this will just be 0.$stdev - the standard deviation of the distribution. For most uses this will be 1.
up
-1
Hector
6 years ago
This functions will be the equivalent for "DISTR.NORM.N" on excel, like an other user said it's for Gaussian normal distribution.$x as value to analyze$ave as average $stdev as deviation
To Top