The normal distribution has density
where $\mu$ is the mean of the distribution and
$\sigma$ the standard deviation.
Objects from the Class
Objects can be created by calls of the form
This object is a normal distribution.
"UnivariateDistribution", by class
"Distribution", by class
- absolutely continuous distribution
- Gaussian distribution
- Normal distribution
- S4 distribtution class
- location scale family
N <- Norm(mean=1,sd=1) # N is a normal distribution with mean=1 and sd=1. r(N)(1) # one random number generated from this distribution, e.g. 2.257783 d(N)(1) # Density of this distribution is 0.3989423 for x=1. p(N)(1) # Probability that x<1 is 0.5. q(N)(.1) # Probability that x<-0.2815516 is 0.1. mean(N) # mean of this distribution is 1. sd(N) <- 2 # sd of this distribution is now 2. M <- Norm() # M is a normal distribution with mean=0 and sd=1. O <- M+N # O is a normal distribution with mean=1 (=1+0) and sd=sqrt(5) (=sqrt(2^2+1^2)).