stats::normal
-- the normal
(Gaussian) distributionstats::normal
(x, m, v)
computes the
value
1/sqrt(2*PI*v) * int(exp(-(t-m)^2/2/v), t=-infinity..x)
of the normal distribution with mean m and variance v at the point x.
stats::normal(x <, m> <, v>)
x |
- | an arithmetical expression. |
m |
- | the mean of the distribution: an arithmetical expression. |
v |
- | the variance of the distribution: an arithmetical expression. |
an arithmetical expression.
The function is sensitive to the environment variable DIGITS
, when the argument
x
is a floating point number.
stats::ChiSquare
,
stats::Tdist
We compute the normal distribution with mean m=0 and variance v=1 at the point x = 3.4:
>> stats::normal(3.4)
0.9996630707
We compute the normal distribution with symbolic arguments:
>> stats::normal(x, m, v)
/ 1/2 \ | 2 (x - m) | erfc| ------------ | | 1/2 | \ 2 v / 1 - -------------------- 2