stats_dens_normal
(PECL stats >= 1.0.0)
stats_dens_normal — Probability density function of the normal distribution
説明
Returns the probability density at x
, where the
random variable follows the normal distribution of which the mean is
ave
and the standard deviation is
stdev
.
パラメータ
x
-
The value at which the probability density is calculated
ave
-
The mean of the distribution
stdev
-
The standard deviation of the distribution
戻り値
The probability density at x
or false
for failure.
+add a note
User Contributed Notes 2 notes
Anonymous ¶
15 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.
↑ and ↓ to navigate •
Enter to select •
Esc to close
Press Enter without
selection to search using Google